[openib-general] [PATCH] librdmacm: fix bug causing failure to work with partial membership pkey

Or Gerlitz ogerlitz at voltaire.com
Tue Feb 20 07:38:29 PST 2007


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...

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