]> 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)
commitebe6bfc0b70226edd33587708aa528ef9c9949ae
treecdb51bb4d0deda4319db99ff212fbbff149821a9
parentb52deaf05b7f45752462e12e10cc1484e4fc323c
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