Skip to contentSkip to conversation

libibverbs: Make it easy to interpret struct ibv_gid as four 32-bit words

PATCH New Bart Van Assche 1 participant 1 message Oct 10, 2011 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libibverbs: Make it easy to interpret struct ibv_gid as four 32-bit words

---
 include/infiniband/verbs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/infiniband/verbs.h +1 -0
index ad9d524..656abb8 100644
@@ -57,6 +57,7 @@ BEGIN_C_DECLS
 
 union ibv_gid {
 	uint8_t			raw[16];
+	uint32_t		u32[4];
 	struct {
 		uint64_t	subnet_prefix;
 		uint64_t	interface_id;
Signature · 6 lines
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html