From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH] librdmacm/mckey: enforce local binding for unmapped multicast addresses Date: Tue, 3 Nov 2009 10:29:49 -0700 Message-ID: <20091103172949.GR1966@obsidianresearch.com> References: <4AF037F7.9080100@voltaire.com> <72E827020C9E497DB3CAA3DD720E9604@amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <72E827020C9E497DB3CAA3DD720E9604-Zpru7NauK7drdx17CPfAsdBPR1lH4CV8@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sean Hefty Cc: 'Or Gerlitz' , linux-rdma List-Id: linux-rdma@vger.kernel.org On Tue, Nov 03, 2009 at 08:43:01AM -0800, Sean Hefty wrote: > What's missing is Jason's patch to fix the IPv6 mapping, and a way to extend the > rdma_cm to support the full range of unmapped addresses. I just haven't been > able to get to either of these yet. My feeling is when AF_IB is introduced the hacky overload of AF_INET6 should be deprecated and MGIDs must be passed in as AF_IB - and some ancillary optional data to set the pkey, rate, etc for the join request. That way a 0 AF_IB MGID would pass straight through to the SA, and come back as a unique SA assigned address. This fills in an API hole, there is no way to join a MGID with kernel help to refcount and unjoin. BTW, the kernel test for 0xFF1-scope-A01B is busted: (s6_addr32[0]) & 0xFF10A01B) == 0xFF10A01B I was wondering what that was about. Should have been (s6_addr32[0]) & 0xFFF0FFFF) == 0xFF10A01B Right? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html