From 475cc92b0bfc3158514c5ec816a4d80f86ef51fc Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 30 Nov 2015 16:24:23 +0000 Subject: [PATCH] [infiniband] Add qword accessors for ib_guid and ib_gid Signed-off-by: Michael Brown --- src/include/ipxe/ib_packet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/ipxe/ib_packet.h b/src/include/ipxe/ib_packet.h index f275fcb0..2cea016b 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;