[ofa-general] IBV_WC_LOC_PROT_ERROR in receive

Bharath Ramesh bramesh at vt.edu
Wed Sep 19 10:47:21 PDT 2007


* Dotan Barak (dotanb at dev.mellanox.co.il) wrote:
> Bharath Ramesh wrote:
>> I checked for the following:
>> 1) I havent deregistered the MR.
>> 2) I am using a RC QP
>> 3) The messages size are the same 40 bytes.
>> 4) I only have one PD for the entire application, i.e both QP and MR
>> belong to the same PD
>> 5) The vendor error that I get in the WC is error code 52.
>> 6) I forgot to mention this in the earlier mail the snippet for my send
>> is as follows:
>>   
> I believe that the problem is related to the incoming message size and the 
> attributes that were given
> in the scatter entry (size of the buffer which was specified smaller than 
> the message size) or the
> size of the MR is smaller than the size of the message.
>
> I suggest to check that all of the values in the scatter entry in the RR 
> again
>
> If you wish to send me you source for me to review, you are welcome.
>
>
> Dotan
>

I finally found the problem and fixed it. The MR was of a smaller size
and I didnt notice the difference. Thanks for taking time out to help me
with this error.

Thanks,

Bharath

---
Bharath Ramesh       <bramesh at vt.edu>       http://people.cs.vt.edu/~bramesh




More information about the general mailing list