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)
commit3c199b4523c92dc5df027eeeffa657e2ccf453ab
tree172a4c59885a40f54853af50f3d07bd37f962c9e
parent433c58139f6a7d59824aadd23d6c9cac1d4e6100
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