IB/Verbs: Use management helper rdma_cap_eth_ah()
authorMichael Wang <yun.wang@profitbricks.com>
Tue, 5 May 2015 12:50:40 +0000 (14:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:06 +0000 (13:35 -0400)
commit227128fc68401d8e36b660ffeef4320c5fb492d7
tree9c5f7885af1d77a696702131c9d0b8f32eb04662
parent30a74ef41d5293cb2f85fcce120fe869a672ade4
IB/Verbs: Use management helper rdma_cap_eth_ah()

Introduce helper rdma_cap_eth_ah() to help us check if the port of an
IB device support Ethernet Address Handler.

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