提交 8ac7f6e1 编写于 作者: F Faisal Latif 提交者: Roland Dreier

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: NFaisal Latif <faisal.latif@intel.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 9b84dbe7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册