summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_mad.h
diff options
context:
space:
mode:
authorMichael Brown2009-08-03 16:56:56 +0200
committerMichael Brown2009-08-09 00:51:27 +0200
commit0e07516f62db32ff5fd4cc26c9881e2bb0e374d5 (patch)
tree6e97c2d9d859c4d74049809feb4da1f50d1c7c84 /src/include/gpxe/ib_mad.h
parent[hermon] Allow for multiple calls to ib_modify_qp() (diff)
downloadipxe-0e07516f62db32ff5fd4cc26c9881e2bb0e374d5.tar.gz
ipxe-0e07516f62db32ff5fd4cc26c9881e2bb0e374d5.tar.xz
ipxe-0e07516f62db32ff5fd4cc26c9881e2bb0e374d5.zip
[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 a628cea5..cfd8ef9a 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