summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_mad.h
diff options
context:
space:
mode:
authorHal Rosenstock <hal@dev.mellanox.co.il>2016-10-18 13:20:29 -0400
committerDoug Ledford <dledford@redhat.com>2016-12-14 11:01:58 -0500
commit9fa240bbfc4200b080c8fad12579659c2c2f36b5 (patch)
tree89d126754347af310fce5d1cef8eeabdf4123fea /include/rdma/ib_mad.h
parente37a79e5d4cac3831fac3d4afbf2461f56b4b7bd (diff)
downloadlinux-9fa240bbfc4200b080c8fad12579659c2c2f36b5.tar.bz2
IB/mad: Eliminate redundant SM class version defines for OPA
and rename class version define to indicate SM rather than SMP or SMI Signed-off-by: Hal Rosenstock <hal@mellanox.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/ib_mad.h')
-rw-r--r--include/rdma/ib_mad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h
index c8a773ffe23b..981214b3790c 100644
--- a/include/rdma/ib_mad.h
+++ b/include/rdma/ib_mad.h
@@ -46,7 +46,7 @@
#define IB_MGMT_BASE_VERSION 1
#define OPA_MGMT_BASE_VERSION 0x80
-#define OPA_SMP_CLASS_VERSION 0x80
+#define OPA_SM_CLASS_VERSION 0x80
/* Management classes */
#define IB_MGMT_CLASS_SUBN_LID_ROUTED 0x01