From patchwork Thu Nov 19 21:24:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland Dreier X-Patchwork-Id: 61468 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAJLQix0019524 for ; Thu, 19 Nov 2009 21:26:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756341AbZKSVZP (ORCPT ); Thu, 19 Nov 2009 16:25:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755843AbZKSVZN (ORCPT ); Thu, 19 Nov 2009 16:25:13 -0500 Received: from sj-iport-1.cisco.com ([171.71.176.70]:39989 "EHLO sj-iport-1.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756092AbZKSVZG (ORCPT ); Thu, 19 Nov 2009 16:25:06 -0500 Authentication-Results: sj-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEALZGBUurRN+K/2dsb2JhbAC+Fpd1hDsE X-IronPort-AV: E=Sophos;i="4.44,772,1249257600"; d="scan'208";a="272966043" Received: from sj-core-4.cisco.com ([171.68.223.138]) by sj-iport-1.cisco.com with ESMTP; 19 Nov 2009 21:24:57 +0000 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-4.cisco.com (8.13.8/8.14.3) with ESMTP id nAJLOv9v022853; Thu, 19 Nov 2009 21:24:57 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Nov 2009 13:24:57 -0800 Received: from roland-alpha.cisco.com ([10.33.42.9]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Nov 2009 13:24:54 -0800 Received: by roland-alpha.cisco.com (Postfix, from userid 33217) id F2F291FD20; Thu, 19 Nov 2009 13:24:53 -0800 (PST) From: Roland Dreier To: "Sean Hefty" Cc: , Andy Grover Subject: Re: [PATCH 7/9] rdma/cm: fix loopback address support References: <8C1E83708E03464FA1613B7E6E9BCBCC@amr.corp.intel.com> X-Message-Flag: Warning: May contain useful information Date: Thu, 19 Nov 2009 13:24:53 -0800 In-Reply-To: <8C1E83708E03464FA1613B7E6E9BCBCC@amr.corp.intel.com> (Sean Hefty's message of "Mon, 16 Nov 2009 16:06:42 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-OriginalArrivalTime: 19 Nov 2009 21:24:54.0652 (UTC) FILETIME=[BCA913C0:01CA695E] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/net/rds/ib.c b/net/rds/ib.c index 536ebe5..3b89923 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c @@ -182,8 +182,8 @@ static int rds_ib_conn_info_visitor(struct rds_connection *conn, ic = conn->c_transport_data; dev_addr = &ic->i_cm_id->route.addr.dev_addr; - ib_addr_get_sgid(dev_addr, (union ib_gid *) &iinfo->src_gid); - ib_addr_get_dgid(dev_addr, (union ib_gid *) &iinfo->dst_gid); + rdma_addr_get_sgid(dev_addr, (union ib_gid *) &iinfo->src_gid); + rdma_addr_get_dgid(dev_addr, (union ib_gid *) &iinfo->dst_gid); rds_ibdev = ib_get_client_data(ic->i_cm_id->device, &rds_ib_client); iinfo->max_send_wr = ic->i_send_ring.w_nr; diff --git a/net/rds/iw.c b/net/rds/iw.c index db224f7..b28fa85 100644 --- a/net/rds/iw.c +++ b/net/rds/iw.c @@ -184,8 +184,8 @@ static int rds_iw_conn_info_visitor(struct rds_connection *conn, ic = conn->c_transport_data; dev_addr = &ic->i_cm_id->route.addr.dev_addr; - ib_addr_get_sgid(dev_addr, (union ib_gid *) &iinfo->src_gid); - ib_addr_get_dgid(dev_addr, (union ib_gid *) &iinfo->dst_gid); + rdma_addr_get_sgid(dev_addr, (union ib_gid *) &iinfo->src_gid); + rdma_addr_get_dgid(dev_addr, (union ib_gid *) &iinfo->dst_gid); rds_iwdev = ib_get_client_data(ic->i_cm_id->device, &rds_iw_client); iinfo->max_send_wr = ic->i_send_ring.w_nr;