aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2016-04-22 14:14:26 -0500
committerDoug Ledford <dledford@redhat.com>2016-04-28 16:32:55 -0400
commitdf2d96c3d00413cbdd0d5e391aeba6eef806b88d (patch)
tree601a7bd315a8d19f7dba35463ef309b2963bf51a /drivers/infiniband/hw/i40iw
parentRDMA/i40iw: Fix for a NOP WQE size (diff)
downloadlinux-dev-df2d96c3d00413cbdd0d5e391aeba6eef806b88d.tar.xz
linux-dev-df2d96c3d00413cbdd0d5e391aeba6eef806b88d.zip
RDMA/i40iw: Fix for the size of kernel mode SQ
Fix to calculate the SQ size based on the max frag_count, requested by the application instead of overwriting it with the max supported frag_count Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_verbs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_verbs.c b/drivers/infiniband/hw/i40iw/i40iw_verbs.c
index bf4e1e39dedf..2d832c758c66 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_verbs.c
+++ b/drivers/infiniband/hw/i40iw/i40iw_verbs.c
@@ -520,8 +520,6 @@ static int i40iw_setup_kmode_qp(struct i40iw_device *iwdev,
enum i40iw_status_code status;
struct i40iw_qp_uk_init_info *ukinfo = &info->qp_uk_init_info;
- ukinfo->max_sq_frag_cnt = I40IW_MAX_WQ_FRAGMENT_COUNT;
-
sq_size = i40iw_qp_roundup(ukinfo->sq_size + 1);
rq_size = i40iw_qp_roundup(ukinfo->rq_size + 1);