RDMA/i40iw: Fix for the size of kernel mode SQ
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 22 Apr 2016 19:14:26 +0000 (14:14 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:55 +0000 (16:32 -0400)
commitdf2d96c3d00413cbdd0d5e391aeba6eef806b88d
tree601a7bd315a8d19f7dba35463ef309b2963bf51a
parent84a4c246639aab8cb4c28b4313a3c676fe5ea263
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>
drivers/infiniband/hw/i40iw/i40iw_verbs.c