diff options
author | Michael Brown | 2009-08-03 18:47:55 +0200 |
---|---|---|
committer | Michael Brown | 2009-08-09 00:55:29 +0200 |
commit | 44251ebb9a9689329dd8f0cf571324cf07ad7e75 (patch) | |
tree | f55e21b90033e007fa08cb1b5f76771570cbe735 /src/include/gpxe/ib_packet.h | |
parent | [infiniband] Add the concept of a management interface (diff) | |
download | ipxe-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.h | 6 |
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 */ |