[openib-general] [PATCH] ib_mad.h: Add in definition of management methods

Hal Rosenstock halr at voltaire.com
Mon Sep 13 08:35:10 PDT 2004


ib_mad.h: Add in definition of management methods

Index: ib_mad.h
===================================================================
--- ib_mad.h    (revision 799)
+++ ib_mad.h    (working copy)
@@ -38,6 +38,19 @@
 #define IB_MGMT_CLASS_CM                       0x07
 #define IB_MGMT_CLASS_SNMP                     0x08
 
+/* Management methods */
+#define IB_MGMT_METHOD_GET                     0x01
+#define IB_MGMT_METHOD_SET                     0x02
+#define IB_MGMT_METHOD_GET_RESP                        0x81
+#define IB_MGMT_METHOD_SEND                    0x03
+#define IB_MGMT_METHOD_TRAP                    0x05
+#define IB_MGMT_METHOD_REPORT                  0x06
+#define IB_MGMT_METHOD_REPORT_RESP             0x86
+#define IB_MGMT_METHOD_TRAP_REPRESS            0x07
+
+#define IB_MGMT_METHOD_RESP                    0x80
+
+
 #define IB_MGMT_MAX_METHODS                    128
 
 #define IB_QP0         0





More information about the general mailing list