diff options
author | Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> | 2017-04-28 19:20:26 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-28 19:29:42 -0400 |
commit | 2196f2716292c39b35c86f5238ed16a8978f9ad4 (patch) | |
tree | afceebb9d0069d86f2d2f0f194c3f885c60e3d13 /include/rdma/ib_sa.h | |
parent | aa4656d9a4292018c9746dbad1dad5488e575232 (diff) | |
download | talos-op-linux-2196f2716292c39b35c86f5238ed16a8978f9ad4.tar.gz talos-op-linux-2196f2716292c39b35c86f5238ed16a8978f9ad4.zip |
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>
Diffstat (limited to 'include/rdma/ib_sa.h')
-rw-r--r-- | include/rdma/ib_sa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h index 46838c8abb51..843b56288ecf 100644 --- a/include/rdma/ib_sa.h +++ b/include/rdma/ib_sa.h @@ -56,6 +56,7 @@ enum { IB_SA_METHOD_GET_TRACE_TBL = 0x13 }; +#define OPA_SA_CLASS_VERSION 0x80 enum { IB_SA_ATTR_CLASS_PORTINFO = 0x01, IB_SA_ATTR_NOTICE = 0x02, |