summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_packet.h
diff options
context:
space:
mode:
authorMichael Brown2009-08-03 18:47:55 +0200
committerMichael Brown2009-08-09 00:55:29 +0200
commit44251ebb9a9689329dd8f0cf571324cf07ad7e75 (patch)
treef55e21b90033e007fa08cb1b5f76771570cbe735 /src/include/gpxe/ib_packet.h
parent[infiniband] Add the concept of a management interface (diff)
downloadipxe-44251ebb9a9689329dd8f0cf571324cf07ad7e75.tar.gz
ipxe-44251ebb9a9689329dd8f0cf571324cf07ad7e75.tar.xz
ipxe-44251ebb9a9689329dd8f0cf571324cf07ad7e75.zip
[infiniband] Update subnet management agent to use a management interface
Diffstat (limited to 'src/include/gpxe/ib_packet.h')
-rw-r--r--src/include/gpxe/ib_packet.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gpxe/ib_packet.h b/src/include/gpxe/ib_packet.h
index a014352e..d4688596 100644
--- a/src/include/gpxe/ib_packet.h
+++ b/src/include/gpxe/ib_packet.h
@@ -16,7 +16,11 @@ struct io_buffer;
/** Half of an Infiniband Global Identifier */
struct ib_gid_half {
- uint8_t bytes[8];
+ union {
+ uint8_t bytes[8];
+ uint16_t words[4];
+ uint32_t dwords[2];
+ } u;
};
/** An Infiniband Global Identifier */