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_verbs.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_verbs.h')
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_verbs.h b/drivers/infiniband/hw/i40iw/i40iw_verbs.h index 6549c939500f..07c3fec77de6 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_verbs.h +++ b/drivers/infiniband/hw/i40iw/i40iw_verbs.h @@ -42,6 +42,7 @@ struct i40iw_ucontext { spinlock_t cq_reg_mem_list_lock; /* memory list for cq's */ struct list_head qp_reg_mem_list; spinlock_t qp_reg_mem_list_lock; /* memory list for qp's */ + int abi_ver; }; struct i40iw_pd { |