[ofa-general] [ipoib]patch for ipoib failure during startup with non-default pkey set.

Todd Rimmer todd.rimmer at qlogic.com
Wed Dec 24 06:24:16 PST 2008


> From: Roland Dreier
> Sent: Friday, December 19, 2008 6:51 PM
> To: Alex Estrin
> Cc: general at lists.openfabrics.org
> Subject: Re: [ofa-general] [ipoib]patch for ipoib failure during startup
> with non-default pkey set.
> 
> Can you provide some detail about what this patch is doing?  What
> exactly is the bug, and how does this fix it?  (Please always provide
> that with all patches -- it's too hard to reverse engineer every patch I
> see before I apply it)

Alex is on Holiday til Jan 5th, however I can describe the problem which he fixed. 

When IPoIB comes up it uses the 1st PKey in the PKey table.  This works great if ipoib is modprobe'd after the IB port is Active.  However in the typical case, ipoib is started at boot and get's modprobe'd before the SM has programmed the port.  In this case, IPoIB grabs the 1st pkey (0xffff) and continues to use it, even if the SM has programmed the port differently.  A similar problem occurs if the SM is reconfigured and the 1st pkey changes.

His patch will adjust the pkey used by IPoIB (which is also part of the IPoIB IPv4 broadcast address) when the PKey table changes.

Todd Rimmer
Chief Architect 
QLogic Network Systems Group
Voice: 610-233-4852     Fax: 610-233-4777
Todd.Rimmer at QLogic.com  www.QLogic.com
 




More information about the general mailing list