From patchwork Wed Oct 29 00:16:14 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 6181 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 32391DDE03 for ; Wed, 29 Oct 2008 11:16:31 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753032AbYJ2AQ1 (ORCPT ); Tue, 28 Oct 2008 20:16:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752854AbYJ2AQ0 (ORCPT ); Tue, 28 Oct 2008 20:16:26 -0400 Received: from 136-022.dsl.LABridge.com ([206.117.136.22]:3332 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbYJ2AQ0 (ORCPT ); Tue, 28 Oct 2008 20:16:26 -0400 Received: from [192.168.1.129] ([192.168.1.129]) by mail.perches.com (8.9.3/8.9.3) with ESMTP id QAA04043; Tue, 28 Oct 2008 16:07:33 -0800 Subject: [PATCH] infiniband: Add struct in6_addr addr to union ib_gib From: Joe Perches To: Roland Dreier Cc: Harvey Harrison , David Miller , linux-netdev , general@lists.openfabrics.org, Sean Hefty , Hal Rosenstock In-Reply-To: <1225236128.5269.240.camel@localhost> References: <1225229901.11483.58.camel@brick> <1225234963.5269.228.camel@localhost> <1225236128.5269.240.camel@localhost> Date: Tue, 28 Oct 2008 17:16:14 -0700 Message-Id: <1225239374.5269.251.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.0-2mdv2009.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org ib_gid's can be print'd using the new %p6 facility Signed-off-by: Joe Perches --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 #include #include +#include #include #include @@ -57,6 +58,7 @@ union ib_gid { __be64 subnet_prefix; __be64 interface_id; } global; + struct in6_addr addr; }; enum rdma_node_type {