]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ocrdma: Fix the max_sge reported from FW
authorSelvin Xavier <selvin.xavier@broadcom.com>
Wed, 24 Aug 2016 05:17:41 +0000 (01:17 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 24 Aug 2016 15:31:40 +0000 (11:31 -0400)
commitc2c85c3ef57583f24a446e6dfcb2b0b3ba161179
tree172a4c59885a40f54853af50f3d07bd37f962c9e
parent55a57ac9d228c4b77567ced9700c15b8a36e0742
RDMA/ocrdma: Fix the max_sge reported from FW

Current driver is reporting wrong values for max_sge and
max_sge_rd in query_device. This breaks the nfs rdma and iser
in some device profiles. Fixing the driver to report
correct values from FW.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
drivers/infiniband/hw/ocrdma/ocrdma_sli.h
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c