diff options
author | Chien Tin Tung <chien.tin.tung@intel.com> | 2016-12-21 17:53:46 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-22 19:36:12 +0300 |
commit | 61f51b7b20f631ef8fe744bc0412d4eb5194b6a9 (patch) | |
tree | 0cd2a30e597dee74e74bd685af593a02f53b77ec /drivers/infiniband/hw/i40iw/i40iw_ucontext.h | |
parent | fba332b079029c2f4f7e84c1c1cd8e3867310c90 (diff) | |
download | linux-61f51b7b20f631ef8fe744bc0412d4eb5194b6a9.tar.xz |
i40iw: Set 128B as the only supported RQ WQE size
RQ WQE size other than 128B is not supported. Correct
RQ size calculation to use 128B only.
Since this breaks ABI, add additional code to
provide compatibility with v4 user provider, libi40iw.
Signed-off-by: Chien Tin Tung <chien.tin.tung@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_ucontext.h')
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_ucontext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_ucontext.h b/drivers/infiniband/hw/i40iw/i40iw_ucontext.h index 12acd688def4..57d3f1d11ff1 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_ucontext.h +++ b/drivers/infiniband/hw/i40iw/i40iw_ucontext.h @@ -39,8 +39,8 @@ #include <linux/types.h> -#define I40IW_ABI_USERSPACE_VER 4 -#define I40IW_ABI_KERNEL_VER 4 +#define I40IW_ABI_VER 5 + struct i40iw_alloc_ucontext_req { __u32 reserved32; __u8 userspace_ver; |