IB/Verbs: Use management helper rdma_cap_read_multi_sge()
authorMichael Wang <yun.wang@profitbricks.com>
Tue, 5 May 2015 12:50:38 +0000 (14:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:05 +0000 (13:35 -0400)
commitbc0f1d71536063f8b2df966625e0136bca03b3e6
treef4c1fe67c88362155b29797a8b3e9d9db32e5730
parenta31ad3b0e35f7e340c1ab6668080cff91d48c90a
IB/Verbs: Use management helper rdma_cap_read_multi_sge()

Introduce helper rdma_cap_read_multi_sge() to help us check if the port of an
IB device support RDMA Read Multiple Scatter-Gather Entries.

Signed-off-by: Michael Wang <yun.wang@profitbricks.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Tested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_verbs.h
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c