RDMA/i40iw: Fix for using one sge for RDMA READ
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 22 Apr 2016 19:14:27 +0000 (14:14 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:55 +0000 (16:32 -0400)
commit6c2f76197db63e337fb60b16800f234f6428c32d
tree79455cd597ad9fc279161c57a7e2dad8f032c981
parentdf2d96c3d00413cbdd0d5e391aeba6eef806b88d
RDMA/i40iw: Fix for using one sge for RDMA READ

A check is added to validate the requested sge number.
iWARP doesn't support multiple sg elements for
RDMA READ work requests.

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