From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [ewg] [PATCH] pkey fix for ipoib - resubmission Date: Tue, 22 Jun 2010 08:46:07 -0600 Message-ID: <20100622144607.GA7767@obsidianresearch.com> References: <4C2744E8AD2982428C5BFE523DF8CDCB49D09E7A43@MNEXMB1.qlogic.org> <4C2744E8AD2982428C5BFE523DF8CDCB49D09E7C6D@MNEXMB1.qlogic.org> <20100618172216.GK4630@obsidianresearch.com> <5AEC2602AE03EB46BFC16C6B9B200DA816B75308EF@MNEXMB2.qlogic.org> <20100618174650.GL4630@obsidianresearch.com> <5AEC2602AE03EB46BFC16C6B9B200DA816B75308F7@MNEXMB2.qlogic.org> <20100618181921.GM4630@obsidianresearch.com> <4C20537D.5080903@Voltaire.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4C20537D.5080903-hKgKHo2Ms0FWk0Htik3J/w@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Or Gerlitz Cc: Todd Rimmer , Mike Heinz , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Roland Dreier List-Id: linux-rdma@vger.kernel.org On Tue, Jun 22, 2010 at 09:09:01AM +0300, Or Gerlitz wrote: > Jason Gunthorpe wrote: > > Be aware that mainline and OFED are different in this regard, OFED overrides > > the pkey unconditionally for multicast addresses, while mainline doesn't > > Can you clarify this, please? Hmm.. OFED works on kernels that have compiled-in inline'd multicast map functions that do not include the pkey copy, while mainline's multicast map functions do. So to work around this there is a bit of code in OFED to overwrite the pkey in the multicast hw address. This means on OFED with those kernels ip maddr returns the wrong hw address sometimes.. 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