[openib-general] [PATCH] ib_mad.h: Add in IB management class definitions

Hal Rosenstock halr at voltaire.com
Tue Aug 31 14:39:37 PDT 2004


ib_mad.h: Add in IB management class definitions
Vendor and application class definitions are still pending.

Index: ib_mad.h
===================================================================
--- ib_mad.h    (revision 707)
+++ ib_mad.h    (working copy)
@@ -28,6 +28,16 @@
 
 #include "ib_verbs.h"
 
+/* Management classes */
+#define IB_MGMT_CLASS_SUBN_LID_ROUTED          0x01
+#define IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE      0x81
+#define IB_MGMT_CLASS_SUBN_ADM                 0x03
+#define IB_MGMT_CLASS_PERF                     0x04
+#define IB_MGMT_CLASS_BM                       0x05
+#define IB_MGMT_CLASS_DEV_MGT                  0x06
+#define IB_MGMT_CLASS_COM_MGT                  0x07
+#define IB_MGMT_CLASS_SNMP                     0x08
+
 #define IB_QP0         0
 #define IB_QP1         cpu_to_be32(1)
 #define IB_QP1_QKEY    cpu_to_be32(0x80010000)





More information about the general mailing list