[ofa-general] PATCH] IB/ipoib: ignore membership bit when looking for a P_Key in the table
Hal Rosenstock
hal.rosenstock at gmail.com
Mon Jul 23 07:44:50 PDT 2007
Hi Moni,
On 7/23/07, Moni Shoua <monisonlists at gmail.com> wrote:
>
> Hal Rosenstock wrote:
> >
> > - if (pkey == tmp_pkey) {
> > + if ((pkey & 0x7fff) == (tmp_pkey & 0x7fff)) {
> >
> >
> > Wouldn't this allow 2 limited PKeys to match though ?
> Hi Hal,
> Can you please explain what do you mean? Perhaps by example?
Two Pkeys which have their full memebership bit off (0x8000). Two limited
members are not allowed to talk with each other.
-- Hal
>
> > -- Hal
> >
> > *index = i;
> > return 0;
> > }
> >
> > _______________________________________________
> > general mailing list
> > general at lists.openfabrics.org <mailto:general at lists.openfabrics.org>
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> > <http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general>
> >
> > To unsubscribe, please visit
> > http://openib.org/mailman/listinfo/openib-general
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070723/760755ae/attachment.html>
More information about the general
mailing list