david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[infiniband] Add qword accessors for ib_guid and ib_gid

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2015-11-30 16:24:23 +00:00
parent 8aa2026a9f
commit 475cc92b0b
1 changed files with 2 additions and 0 deletions

View File

@ -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;