[ofw] IBV_WC_LOC_PROT_ERR

Prasanna Kumar prasanna.vv at oracle.com
Fri Mar 26 01:27:41 PDT 2010


Yes, this is a memory out of range issue. I have fixed it and receiver 
CQ event also works  properly now.

Thanks,
Prasanna


On 3/25/2010 8:20 PM, Sean Hefty wrote:
>> When I do ibv_post_send() call (IBV_WR_SEND), I get
>> 'IBV_WC_LOC_PROT_ERR' error in WC status  in  the send CQ hander.
>> Is this related to lkey ? I create mr for the send  buffer with
>> WV_ACCESS_LOCAL_WRITE access.
>>     
>
> Either the lkey is wrong, or the address/length falls outside of the registered
> memory range.
>
>   
>> The first call to ibv_post_send() completes with IBV_WC_SUCCESS.
>> The second call to  ibv_post_send() fails with the above error.  The
>> lkey here is same as the first  post send and use different range in
>> send buffer for which MR is obtained.
>> The subsequent calls to ibv_post_send() completes with IBV_WC_WR_FLUSH_ERR.
>>     
>
> Btw - this explains your 'missing' receive completion issue, since the send
> never got there.  If you can post your send code, it can help us debug it.
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100326/d4c7c349/attachment.html>


More information about the ofw mailing list