<html><body>
<p><tt>Roland Dreier <rdreier@cisco.com> wrote on 06/25/2008 06:33:00 PM:<br>
<br>
> > My understand it could happen from the comments under<br>
> > static void ipoib_cm_start_rx_drain()<br>
> > {<br>
> > /*<br>
> > * QPs on flush list are error state. This way, a "flush<br>
> > * error" WC will be immediately generated for each WR we post.<br>
> > */<br>
> <br>
> I don't see what this comment has to do with anything... the QP is in<br>
> the error state so posting a send request will generate a completion<br>
> with flush error status. But that doesn't say anything about whether<br>
> earlier completions may become visible in a CQ after a last WQE reached<br>
> event is reported to the consumer.<br>
</tt><br>
<tt>I thought handling last wqe event drain WRs one by one is more safe. But if there is no such cqes left in this case, then what I hit could be a different bug. More debug is needed. Thanks for helping this.</tt><br>
<br>
<tt>Thanks</tt><br>
<tt>Shirley</tt></body></html>