From patchwork Fri Apr 1 23:56:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hefty, Sean" X-Patchwork-Id: 682791 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p31NtUJv013024 for ; Fri, 1 Apr 2011 23:56:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753702Ab1DAX4J (ORCPT ); Fri, 1 Apr 2011 19:56:09 -0400 Received: from mga03.intel.com ([143.182.124.21]:31191 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752638Ab1DAX4J convert rfc822-to-8bit (ORCPT ); Fri, 1 Apr 2011 19:56:09 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 01 Apr 2011 16:56:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.63,285,1299484800"; d="scan'208";a="412611298" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by azsmga001.ch.intel.com with ESMTP; 01 Apr 2011 16:56:08 -0700 Received: from orsmsx501.amr.corp.intel.com ([10.22.226.209]) by orsmsx602.amr.corp.intel.com ([10.22.226.211]) with mapi; Fri, 1 Apr 2011 16:56:07 -0700 From: "Hefty, Sean" To: "Hefty, Sean" , linux-rdma Date: Fri, 1 Apr 2011 16:56:06 -0700 Subject: [PATCH 2/3] ibacm: Join only the base multicast group if using SA path resolution Thread-Topic: [PATCH 2/3] ibacm: Join only the base multicast group if using SA path resolution Thread-Index: AcvwyEIChnqntkeTRSa7K71KdbTx/QAAAQjg Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 01 Apr 2011 23:56:24 +0000 (UTC) diff --git a/src/acm.c b/src/acm.c index 3df996b..fe42498 100644 --- a/src/acm.c +++ b/src/acm.c @@ -1556,7 +1556,8 @@ static void acm_port_join(struct acm_port *port) if ((ep->state = ep->mc_dest[0].state) != ACM_READY) continue; - if (port->rate != min_rate || port->mtu != min_mtu) + if ((route_prot == ACM_ROUTE_PROT_ACM) && + (port->rate != min_rate || port->mtu != min_mtu)) acm_join_group(ep, &port_gid, 0, 0, 0, port->rate, port->mtu); } acm_log(1, "joins for device %s port %d complete\n", dev->verbs->device->name,