* [PATCH 2.6.24] RDMA/cxgb3: Set the max_qp_init_rd_atom attribute.
@ 2007-11-09 15:21 Steve Wise
2007-11-09 21:48 ` Roland Dreier
0 siblings, 1 reply; 2+ messages in thread
From: Steve Wise @ 2007-11-09 15:21 UTC (permalink / raw)
To: rdreier; +Cc: netdev, general
RDMA/cxgb3: Set the max_qp_init_rd_atom attribute.
Attribute max_qp_init_rd_atom is not getting set. Version 1.0.4 of
librdmacm now validates the user's requested initiator and responder
resources vs the max supported by the device. Since iw_cxgb3 wasn't
setting this attribute (and it defaulted to 0), all rdma_connect()s fail
if there are initiator resources requested by the app.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
---
drivers/infiniband/hw/cxgb3/iwch_provider.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/hw/cxgb3/iwch_provider.c b/drivers/infiniband/hw/cxgb3/iwch_provider.c
index f0c7775..b5436ca 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_provider.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_provider.c
@@ -1000,6 +1000,7 @@ static int iwch_query_device(struct ib_device *ibdev,
props->max_sge = dev->attr.max_sge_per_wr;
props->max_sge_rd = 1;
props->max_qp_rd_atom = dev->attr.max_rdma_reads_per_qp;
+ props->max_qp_init_rd_atom = dev->attr.max_rdma_reads_per_qp;
props->max_cq = dev->attr.max_cqs;
props->max_cqe = dev->attr.max_cqes_per_cq;
props->max_mr = dev->attr.max_mem_regs;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2.6.24] RDMA/cxgb3: Set the max_qp_init_rd_atom attribute.
2007-11-09 15:21 [PATCH 2.6.24] RDMA/cxgb3: Set the max_qp_init_rd_atom attribute Steve Wise
@ 2007-11-09 21:48 ` Roland Dreier
0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2007-11-09 21:48 UTC (permalink / raw)
To: Steve Wise; +Cc: netdev, general
thanks, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-09 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 15:21 [PATCH 2.6.24] RDMA/cxgb3: Set the max_qp_init_rd_atom attribute Steve Wise
2007-11-09 21:48 ` Roland Dreier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).