[openib-general] [VAPI]VAPI_poll_cq: CQ is empty

Dotan Barak dotanb at mellanox.co.il
Sat Feb 18 23:12:09 PST 2006


Sorry, about the previous email, it was sent by mistake ...
 
 
I believe that the problem is that the min_rnr_timer value is 0 (which
means infinite timeout between the rnr retries) and there is rnr nak
between the two sides (because you don't sync between the sides, and
this is the reason for the empty CQ ...
 
Let me describe the problem:
The sender sent a send message which should consume RR (Receive Request)
at the receiver side, but when the message have reached to the receiver
there wasn't any RR in the RQ, so he sent to the sender rnr-nack, the
sender got the rnr-nack and is waiting the min_rnr_timer which is
infinite ...
 
You should do the following things:
*	Put a non zero value in the min_rnr_timer (you may get
completion with bad status: rnr exceeded if the receiver won't be ready
in time ...)
*	Post RR in the responder in the init state
*	Optional: sync between the sides (post SR at the sender only
when there is RR in the receiver side).
 
Dotan
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060219/75839989/attachment.html>


More information about the general mailing list