Skip to contentSkip to conversation

RDMA/nes: fix query of ORD values

PATCH In review Faisal Latif 1 participant 1 message Dec 9, 2009 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 2/11 RDMA/nes: fix query of ORD values

The ORD size needs updating as we are supporting more inbound READ resources per connection.

---
 drivers/infiniband/hw/nes/nes_verbs.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/infiniband/hw/nes/nes_verbs.c +4 -4
index 7a77450..0e3eee2 100644
@@ -534,16 +534,16 @@ static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *prop
 	props->max_sge_rd = 1;
 	switch (nesdev->nesadapter->max_irrq_wr) {
 		case 0:
-			props->max_qp_rd_atom = 1;
+			props->max_qp_rd_atom = 2;
 			break;
 		case 1:
-			props->max_qp_rd_atom = 4;
+			props->max_qp_rd_atom = 8;
 			break;
 		case 2:
-			props->max_qp_rd_atom = 16;
+			props->max_qp_rd_atom = 32;
 			break;
 		case 3:
-			props->max_qp_rd_atom = 32;
+			props->max_qp_rd_atom = 64;
 			break;
 		default:
 			props->max_qp_rd_atom = 0;
Signature · 6 lines
1.5.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html