diff options
-rw-r--r-- | drivers/infiniband/hw/nes/nes_verbs.c | 8 |
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; |