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

Joe Perches joe at perches.com
Tue Oct 28 17:16:14 PDT 2008


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

Signed-off-by: Joe Perches <joe at perches.com>

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 {





More information about the general mailing list