summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/i40iw/i40iw_d.h
diff options
context:
space:
mode:
authorIsmail, Mustafa <mustafa.ismail@intel.com>2016-04-18 10:32:55 -0500
committerDoug Ledford <dledford@redhat.com>2016-04-28 16:32:53 -0400
commit23ef48ad6cfb981f6a1a605306d87c5ad0d1e1ac (patch)
treec86740d313af528b9ad02837071bea50cbab7cf4 /drivers/infiniband/hw/i40iw/i40iw_d.h
parent6b90036587508675b9ef73181c9f0f02894d1588 (diff)
RDMA/i40iw: Correct QP size calculation
Include inline data size as part of SQ size calculation. RQ size calculation uses only number of SGEs and does not support 96 byte WQE size. Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_d.h')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_d.h b/drivers/infiniband/hw/i40iw/i40iw_d.h
index aab88d65f805..e8951a71cc13 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_d.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_d.h
@@ -1290,7 +1290,7 @@
/* wqe size considering 32 bytes per wqe*/
#define I40IWQP_SW_MIN_WQSIZE 4 /* 128 bytes */
-#define I40IWQP_SW_MAX_WQSIZE 16384 /* 524288 bytes */
+#define I40IWQP_SW_MAX_WQSIZE 2048 /* 2048 bytes */
#define I40IWQP_OP_RDMA_WRITE 0
#define I40IWQP_OP_RDMA_READ 1