<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, this is a memory out of range issue. I have fixed it and receiver
CQ event also works properly now.<br>
<br>
Thanks,<br>
Prasanna<br>
<br>
<br>
On 3/25/2010 8:20 PM, Sean Hefty wrote:
<blockquote
cite="mid:0A197BAE84F84BFFBC72488591B5D69F@amr.corp.intel.com"
type="cite">
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
Either the lkey is wrong, or the address/length falls outside of the registered
memory range.
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
</body>
</html>