aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/infiniband/hw/i40iw/i40iw_verbs.h
diff options
context:
space:
mode:
authorChien Tin Tung <chien.tin.tung@intel.com>2016-12-21 08:53:46 -0600
committerDoug Ledford <dledford@redhat.com>2016-12-22 11:36:12 -0500
commit61f51b7b20f631ef8fe744bc0412d4eb5194b6a9 (patch)
tree0cd2a30e597dee74e74bd685af593a02f53b77ec /drivers/infiniband/hw/i40iw/i40iw_verbs.h
parentIB/cma: Fix a race condition in iboe_addr_get_sgid() (diff)
downloadwireguard-linux-61f51b7b20f631ef8fe744bc0412d4eb5194b6a9.tar.xz
wireguard-linux-61f51b7b20f631ef8fe744bc0412d4eb5194b6a9.zip
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 '')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_verbs.h1
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 {