summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/infiniband.h
diff options
context:
space:
mode:
authorMichael Brown2007-09-17 14:31:13 +0200
committerMichael Brown2007-09-17 14:31:13 +0200
commitbdac59172695b746b48550a1ebff02c405e7b3f8 (patch)
tree1c238ac817b610eaef04b6fdfac1bc319fb08c73 /src/include/gpxe/infiniband.h
parentBroadcast GID is now calculated by IPoIB layer. (diff)
downloadipxe-bdac59172695b746b48550a1ebff02c405e7b3f8.tar.gz
ipxe-bdac59172695b746b48550a1ebff02c405e7b3f8.tar.xz
ipxe-bdac59172695b746b48550a1ebff02c405e7b3f8.zip
Some interesting packet corruption happening now.
Diffstat (limited to 'src/include/gpxe/infiniband.h')
-rw-r--r--src/include/gpxe/infiniband.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h
index 8e358bce..06745ba9 100644
--- a/src/include/gpxe/infiniband.h
+++ b/src/include/gpxe/infiniband.h
@@ -11,10 +11,13 @@
#include <gpxe/device.h>
/** Subnet administrator QPN */
-#define IB_SA_QPN 1
+#define IB_SA_QPN 1
+
+/** Broadcast QPN */
+#define IB_BROADCAST_QPN 0xffffffUL
/** Subnet administrator queue key */
-#define IB_GLOBAL_QKEY 0x80010000UL
+#define IB_GLOBAL_QKEY 0x80010000UL
/** An Infiniband Global Identifier */
struct ib_gid {
@@ -466,7 +469,7 @@ struct ib_mad_hdr {
uint8_t method;
uint16_t status;
uint16_t class_specific;
- uint64_t tid;
+ uint32_t tid[2];
uint16_t attr_id;
uint16_t resv;
uint32_t attr_mod;
@@ -569,6 +572,7 @@ union ib_mad {
struct ib_mad_port_info port_info;
struct ib_mad_pkey_table pkey_table;
struct ib_mad_path_record path_record;
+ struct ib_mad_mc_member_record mc_member_record;
} __attribute__ (( packed ));
#endif /* _GPXE_INFINIBAND_H */