aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/t4.h
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2014-07-21 20:55:15 +0530
committerDavid S. Miller <davem@davemloft.net>2014-07-21 20:23:59 -0700
commit66eb19af0b459426a1f6ba3f78235ffecd1bc5ab (patch)
treed2c244373e2bc32b0902db3207f4c6715d500d5e /drivers/infiniband/hw/cxgb4/t4.h
parentiw_cxgb4: Support query_qp() verb (diff)
downloadlinux-dev-66eb19af0b459426a1f6ba3f78235ffecd1bc5ab.tar.xz
linux-dev-66eb19af0b459426a1f6ba3f78235ffecd1bc5ab.zip
iw_cxgb4: advertise the correct device max attributes
Advertise the actual max limits for things like qp depths, number of qps, cqs, etc. Clean up the queue allocation for qps and cqs. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/cxgb4/t4.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/t4.h b/drivers/infiniband/hw/cxgb4/t4.h
index c9f7034e6647..641ab55b1d55 100644
--- a/drivers/infiniband/hw/cxgb4/t4.h
+++ b/drivers/infiniband/hw/cxgb4/t4.h
@@ -36,8 +36,6 @@
#include "t4_msg.h"
#include "t4fw_ri_api.h"
-#define T4_MAX_NUM_QP 65536
-#define T4_MAX_NUM_CQ 65536
#define T4_MAX_NUM_PD 65536
#define T4_MAX_NUM_STAG (1<<15)
#define T4_MAX_MR_SIZE (~0ULL)