RDMA/ocrdma: populate max_sge_rd in device attributes
authorSelvin Xavier <selvin.xavier@broadcom.com>
Fri, 5 Feb 2016 14:36:38 +0000 (20:06 +0530)
committerDoug Ledford <dledford@redhat.com>
Fri, 5 Feb 2016 20:14:28 +0000 (15:14 -0500)
commit7d82df1663e8a66961954258f3a99701f0126e73
treecdb51bb4d0deda4319db99ff212fbbff149821a9
parentfd98d89698855f6cf5650c014e5d3fca38783c8b
RDMA/ocrdma: populate max_sge_rd in device attributes

max_sge_rd is used by some of the ULPs to calculate the maximum
number of SGEs that can be used for RDMA READ. Populating this
value in the response of query_device verb. Also, avoid checking
the max_srq_sge while populating max_sge.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c