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

Introduce helper rdma_cap_af_ib() to help us check if the port of an
IB device support Native Infiniband Address.

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>
drivers/infiniband/core/cma.c
include/rdma/ib_verbs.h