All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Roland Dreier <rdreier@cisco.com>
Cc: linux-netdev <netdev@vger.kernel.org>,
	David Miller <davem@davemloft.net>,
	general@lists.openfabrics.org, Sean Hefty <sean.hefty@intel.com>,
	Harvey Harrison <harvey.harrison@gmail.com>
Subject: [ofa-general] ***SPAM*** [PATCH] infiniband: Add struct in6_addr addr to union ib_gib
Date: Tue, 28 Oct 2008 17:16:14 -0700	[thread overview]
Message-ID: <1225239374.5269.251.camel@localhost> (raw)
In-Reply-To: <1225236128.5269.240.camel@localhost>

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

Signed-off-by: Joe Perches <joe@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 {

  reply	other threads:[~2008-10-29  0:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 21:38 [PATCH] infiniband: use %p6 for printing message ids Harvey Harrison
2008-10-28 22:00 ` Roland Dreier
2008-10-28 23:02 ` Joe Perches
2008-10-28 23:07   ` Roland Dreier
2008-10-28 23:22     ` Joe Perches
2008-10-29  0:16       ` Joe Perches [this message]
2008-10-29  5:39         ` [ofa-general] Re: [PATCH] infiniband: Add struct in6_addr addr to union ib_gib David Miller
2008-10-29  6:58           ` Joe Perches
2008-10-29  8:39             ` David Miller
2008-10-29 18:15             ` Roland Dreier
2008-10-29  5:36 ` [PATCH] infiniband: use %p6 for printing message ids David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1225239374.5269.251.camel@localhost \
    --to=joe@perches.com \
    --cc=davem@davemloft.net \
    --cc=general@lists.openfabrics.org \
    --cc=harvey.harrison@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=rdreier@cisco.com \
    --cc=sean.hefty@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.