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>
This commit is contained in:
parent
9b84dbe7f4
commit
8ac7f6e1af
1 changed files with 4 additions and 4 deletions
|
@ -534,16 +534,16 @@ static int nes_query_device(struct ib_device *ibdev, struct ib_device_attr *prop
|
||||||
props->max_sge_rd = 1;
|
props->max_sge_rd = 1;
|
||||||
switch (nesdev->nesadapter->max_irrq_wr) {
|
switch (nesdev->nesadapter->max_irrq_wr) {
|
||||||
case 0:
|
case 0:
|
||||||
props->max_qp_rd_atom = 1;
|
props->max_qp_rd_atom = 2;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
props->max_qp_rd_atom = 4;
|
props->max_qp_rd_atom = 8;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
props->max_qp_rd_atom = 16;
|
props->max_qp_rd_atom = 32;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
props->max_qp_rd_atom = 32;
|
props->max_qp_rd_atom = 64;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
props->max_qp_rd_atom = 0;
|
props->max_qp_rd_atom = 0;
|
||||||
|
|
Loading…
Reference in a new issue