]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39e1f1f4f782264cc40b798c4733ea2a556f83df
treecdb51bb4d0deda4319db99ff212fbbff149821a9
parent4fce31d3fc69dd71562dca120b0c07daf0ea59ed
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