aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_mad.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-08-03 15:56:56 +0100
committerMichael Brown <mcb30@etherboot.org>2009-08-08 23:51:27 +0100
commit0e07516f62db32ff5fd4cc26c9881e2bb0e374d5 (patch)
tree6e97c2d9d859c4d74049809feb4da1f50d1c7c84 /src/include/gpxe/ib_mad.h
parent18bcdfb1ccfb53688c9be3c856dd1e569d1e0111 (diff)
downloadipxe-0e07516f62db32ff5fd4cc26c9881e2bb0e374d5.tar.gz
[infiniband] Add the concept of a management interface
A management interface is the component through which both local and remote management agents are accessed. This new implementation of a management interface allows for the user to react to timed-out transactions, and also allows for cancellation of in-progress transactions.
Diffstat (limited to 'src/include/gpxe/ib_mad.h')
-rw-r--r--src/include/gpxe/ib_mad.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/gpxe/ib_mad.h b/src/include/gpxe/ib_mad.h
index a628cea54..cfd8ef9aa 100644
--- a/src/include/gpxe/ib_mad.h
+++ b/src/include/gpxe/ib_mad.h
@@ -491,7 +491,9 @@ struct ib_mad_hdr {
#define IB_MGMT_CLASS_CM 0x07
#define IB_MGMT_CLASS_SNMP 0x08
#define IB_MGMT_CLASS_VENDOR_RANGE2_START 0x30
-#define IB_MGMT_CLASS_VENDOR_RANGE2_END 0x4F
+#define IB_MGMT_CLASS_VENDOR_RANGE2_END 0x4f
+
+#define IB_MGMT_CLASS_MASK 0x7f
/* Management methods */
#define IB_MGMT_METHOD_GET 0x01