]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/infiniband/core/sa_query.c
IB/Verbs: Use management helper rdma_cap_ib_sa()
authorMichael Wang <yun.wang@profitbricks.com>
Tue, 5 May 2015 12:50:36 +0000 (14:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:05 +0000 (13:35 -0400)
commitfe53ba2f0c3de0416422407bab2c1982a2e85b6a
treeb5d817663e38d095404b4850cc7706c6f5b73ac1
parent042153306d9d08da67459f187d63a68aefd97388
IB/Verbs: Use management helper rdma_cap_ib_sa()

Introduce helper rdma_cap_ib_sa() to help us check if the port of an
IB device support Infiniband Subnet Administration.

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/ucma.c
include/rdma/ib_verbs.h