diff options
author | Faisal Latif <faisal.latif@intel.com> | 2009-12-10 00:53:46 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-12-10 00:53:46 +0100 |
commit | 8ac7f6e1af5309d4fdf6805fb64ef48c1c820d85 (patch) | |
tree | e65bfb942adcc5c96007fea185ba451d39cda8e8 /drivers/infiniband | |
parent | RDMA/nes: Fix MAX_CM_BUFFER define (diff) | |
download | linux-8ac7f6e1af5309d4fdf6805fb64ef48c1c820d85.tar.xz linux-8ac7f6e1af5309d4fdf6805fb64ef48c1c820d85.zip |
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')
-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 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; |