]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/SA: Add support to query OPA path records
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Thu, 27 Apr 2017 23:06:02 +0000 (19:06 -0400)
committerDoug Ledford <dledford@redhat.com>
Mon, 1 May 2017 18:39:02 +0000 (14:39 -0400)
commit4c33bd1926ccbfad362d22208c23cc045c5c82af
tree1ef1b624919d61e743d19b4950abb5bf65db2fb4
parent57520751445b837c20a8e658e3dae3a7e7ddf45c
IB/SA: Add support to query OPA path records

When the bit 26 of capmask2 field in OPA classport info
query is set, SA will query for OPA path records instead
of querying for IB path records. Note that OPA
path records can only be queried by kernel ULPs.
Userspace clients continue to query IB path records.

Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/sa_query.c
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/srp/ib_srp.c
include/rdma/ib_mad.h