[ofa-general] [PATCH] libmlx4: Fix the value of the pkey_index in the completion

Dotan Barak dotanb at dev.mellanox.co.il
Mon Jan 7 04:49:55 PST 2008


Dotan Barak wrote:
> Yevgeny Kliteynik wrote:
>> Dotan Barak wrote:
>>> Or Gerlitz wrote:
>>>> Dotan Barak wrote:
>>>>> Fix the value of the pkey_index in the completion to get a valid 
>>>>> value for GSI QPs.
>>>>
>>>> Is libmthca fine in that respect?
>>> As much as i know, everything is fine with mthca/libmthca.
>>>
>>> We saw several problems only in ConnectX (because of the new low 
>>> level driver).
>>>
>>> Right now, we are doing some more checks to check the mlx4_0 low 
>>> level driver as well as the IB core.
>>> After that we'll check the mthca low level driver too.
>>
>> Currently OpenSM doesn't support any non-default pkey
>> (or any pkey at index other than 0) in sa queries.
>> When a request is received, opensm doesn't extract the
>> right pkey from the mad header - it replaces it with a
>> default pkey, and when a response is sent, OpenSM always
>> uses pkey at index 0.
>>
>> -- Yevgeny
> FYI: after several testings it seems that mthca low level driver don't 
> have this problem.
>
> Dotan
>

Just to make sure that everything is clear: I checked that the mthca low 
level driver can extract
the right pkey_index in the completion of GSI QP.

The problem that Yevgeny mentioned exists in the openSM and i opened a 
bug on this issue.

Dotan



More information about the general mailing list