From patchwork Thu Nov 5 11:38:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Or Gerlitz X-Patchwork-Id: 57875 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 nA5BcXZT003091 for ; Thu, 5 Nov 2009 11:38:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753944AbZKELi0 (ORCPT ); Thu, 5 Nov 2009 06:38:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754902AbZKELi0 (ORCPT ); Thu, 5 Nov 2009 06:38:26 -0500 Received: from fwil.voltaire.com ([193.47.165.2]:20307 "EHLO exil.voltaire.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753944AbZKELi0 (ORCPT ); Thu, 5 Nov 2009 06:38:26 -0500 Received: from zuben.voltaire.com ([172.25.5.15]) by exil.voltaire.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Nov 2009 13:38:23 +0200 Message-ID: <4AF2B92E.2030807@Voltaire.com> Date: Thu, 05 Nov 2009 13:38:22 +0200 From: Or Gerlitz User-Agent: Thunderbird 2.0.0.19 (X11/20081209) MIME-Version: 1.0 To: Sean Hefty CC: linux-rdma Subject: Re: [PATCH] librdmacm/mckey: enforce local binding for unmapped multicast addresses References: <4AF037F7.9080100@voltaire.com> <72E827020C9E497DB3CAA3DD720E9604@amr.corp.intel.com> In-Reply-To: <72E827020C9E497DB3CAA3DD720E9604@amr.corp.intel.com> X-OriginalArrivalTime: 05 Nov 2009 11:38:23.0203 (UTC) FILETIME=[7B239B30:01CA5E0C] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Index: librdmacm/man/mckey.1 =================================================================== --- librdmacm.orig/man/mckey.1 +++ librdmacm/man/mckey.1 @@ -47,6 +47,9 @@ UDP (0x0111) or IPoIB (0x0002) port spac Basic usage is to start mckey -m multicast_address on a server system, then run mckey -m multicast_address -s on a client system. .P +Unique SA assigned multicast GIDs can be retreived by invoking mckey +with a zero MGID using the unmapped option, i.e -M ::0 +.P Because this test maps RDMA resources to userspace, users must ensure that they have available system resources and permissions. See the libibverbs README file for additional details.