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

Introduce helper rdma_cap_iw_cm() to help us check if the port of an
IB device support IWARP 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/cma.c
include/rdma/ib_verbs.h