[openib-general] [PATCH] librdmacm: fix bug causing failure to work with partial membership pkey
Hal Rosenstock
halr at voltaire.com
Tue Feb 20 07:42:40 PST 2007
On Tue, 2007-02-20 at 10:38, Or Gerlitz wrote:
> Hal Rosenstock wrote:
>
> >> The pkey extracted by the RDMA CM from the IPoIB device hardware address always
> >> has the full membership bit set. However, when looking in the pkey table the
> >> search must mask out the full membership bit.
>
> > Is this true for both RC and UD QPs ? I thought that at least the UD QPs
> > were being used for multicast in which case wouldn't full member be
> > required for this ?
>
> Yes. Its a little bit confusing: partial and full members of an IPoIB IB
> partition use the same MGID. When an IPoIB MGID is constructed, the pkey
> placed by the driver is --always-- the full membership one. However, on
> a node with partial membership, what's plugged into the QP is the pkey
> index of the partial instance...
So in this case, do both the full and partial keys need configuring for
that port ?
-- Hal
> In the kernel all this is nicely hidden from the IB ULPs in
> ib_find_cached_pkey().
>
> Or.
>
More information about the general
mailing list