aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorFaisal Latif <faisal.latif@intel.com>2009-12-09 18:53:46 -0500
committerRoland Dreier <rolandd@cisco.com>2009-12-09 18:53:46 -0500
commit8ac7f6e1af5309d4fdf6805fb64ef48c1c820d85 (patch)
treee65bfb942adcc5c96007fea185ba451d39cda8e8 /drivers/infiniband/hw
parent9b84dbe7f479a5a5fa53d689c2adf214ce7760e5 (diff)
RDMA/nes: Fix query of ORD values
The ORD size needs updating as we are supporting more inbound READ resources per connection. Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/nes/nes_verbs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index 08686523df0f..67a87cb9d773 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -534,16 +534,16 @@ static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *prop
534 props->max_sge_rd = 1; 534 props->max_sge_rd = 1;
535 switch (nesdev->nesadapter->max_irrq_wr) { 535 switch (nesdev->nesadapter->max_irrq_wr) {
536 case 0: 536 case 0:
537 props->max_qp_rd_atom = 1; 537 props->max_qp_rd_atom = 2;
538 break; 538 break;
539 case 1: 539 case 1:
540 props->max_qp_rd_atom = 4; 540 props->max_qp_rd_atom = 8;
541 break; 541 break;
542 case 2: 542 case 2:
543 props->max_qp_rd_atom = 16; 543 props->max_qp_rd_atom = 32;
544 break; 544 break;
545 case 3: 545 case 3:
546 props->max_qp_rd_atom = 32; 546 props->max_qp_rd_atom = 64;
547 break; 547 break;
548 default: 548 default:
549 props->max_qp_rd_atom = 0; 549 props->max_qp_rd_atom = 0;