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

Introduce helper rdma_cap_ib_mcast() to help us check if the port of an
IB device support Infiniband Multicast.

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