Subject: [ofa-general] ***SPAM*** [PATCH] infiniband: Add struct in6_addr addr to union ib_gib

From: Joe Perches <[email-masked]>
Date: Tue, 28 Oct 2008 17:16:14 -0700

ib_gid's can be print'd using the new %p6 facility

Signed-off-by: Joe Perches <[email-masked]>

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 936e333..464ed9d 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -47,6 +47,7 @@
 #include <linux/list.h>
 #include <linux/rwsem.h>
 #include <linux/scatterlist.h>
+#include <linux/in6.h>
 
 #include <asm/atomic.h>
 #include <asm/uaccess.h>
@@ -57,6 +58,7 @@ union ib_gid {
 		__be64	subnet_prefix;
 		__be64	interface_id;
 	} global;
+	struct in6_addr	addr;
 };
 
 enum rdma_node_type {