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

Introduce helper rdma_cap_ib_cm() to help us check if the port of an
IB device support Infiniband Communication Manager.

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