summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2015-11-30 17:24:23 +0100
committerMichael Brown2015-11-30 23:13:27 +0100
commit475cc92b0bfc3158514c5ec816a4d80f86ef51fc (patch)
tree47289c93106394d43a88c6d6b9740ff1dc7174ad /src/include
parent[infiniband] Add definitions for FDR and EDR link speeds (diff)
downloadipxe-475cc92b0bfc3158514c5ec816a4d80f86ef51fc.tar.gz
ipxe-475cc92b0bfc3158514c5ec816a4d80f86ef51fc.tar.xz
ipxe-475cc92b0bfc3158514c5ec816a4d80f86ef51fc.zip
[infiniband] Add qword accessors for ib_guid and ib_gid
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/ib_packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/ib_packet.h b/src/include/ipxe/ib_packet.h
index f275fcb09..2cea016bd 100644
--- a/src/include/ipxe/ib_packet.h
+++ b/src/include/ipxe/ib_packet.h
@@ -19,6 +19,7 @@ union ib_guid {
uint8_t bytes[8];
uint16_t words[4];
uint32_t dwords[2];
+ uint64_t qword;
};
/** Infiniband Globally Unique Identifier debug message format */
@@ -33,6 +34,7 @@ union ib_gid {
uint8_t bytes[16];
uint16_t words[8];
uint32_t dwords[4];
+ uint64_t qwords[2];
struct {
union ib_guid prefix;
union ib_guid guid;