IB/SA: Add support to query opa classport info.
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Fri, 28 Apr 2017 23:20:26 +0000 (19:20 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Apr 2017 23:29:42 +0000 (19:29 -0400)
commit2196f2716292c39b35c86f5238ed16a8978f9ad4
treeafceebb9d0069d86f2d2f0f194c3f885c60e3d13
parentaa4656d9a4292018c9746dbad1dad5488e575232
IB/SA: Add support to query opa classport info.

For OPA devices, SA will query the OPA classport info
instead of the IB defined classport info.
opa classport info exposes additional information and
capabilities that are specific to OPA devices.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/sa_query.c
include/rdma/ib_sa.h