[openib-general] [PATCH] librdmacm: fix bug causing failure to work with partial membership pkey
or.gerlitz at gmail.com
Wed Feb 21 12:50:26 PST 2007
On 2/21/07, Sean Hefty <sean.hefty at intel.com> wrote:
> >There is no problem. As i have explained over this thread the ipoib
> >and the core abstract away from the user the actual value of the MSb
> >of the pkey, that is whether it is a full or partial membership pkey.
> But *why* does the kernel code do this, and should it?
It does this since its makes life simple and robust.
Note that since the HCA validates the pkey in the in coming packet, no
matter what the IB SW would do, partial members of a partition can't
talk to each other. So the approach taken by the core/ipoib code was
to just ignore the MSb in places where the code looks for the pkey
--index-- and use the full member pkey when forming MGIDs. This seems
fine to me.
More information about the general