Roland Dreier <[EMAIL PROTECTED]> wrote on 06/25/2008 03:26:07 PM:
> This is probably a question for Eli or other Mellanox guys: is it
> possible for the driver to see a "last WQE reached" event before all
> CQEs are actually visible with mthca HW -- ie is the scenario below with
> two QPs attached to an SRQ:
>
> last WQE event for QP A
> last WQE event for QP B
> post send to QP that will complete with flush err
>
> then poll CQEs and see the send completion from QP A followed by a
> receive completion for QP B actually possible?
My understand it could happen from the comments under
static void ipoib_cm_start_rx_drain()
{
/*
* QPs on flush list are error state. This way, a "flush
* error" WC will be immediately generated for each WR we post.
*/
p = list_entry(priv->cm.rx_flush_list.next, typeof(*p), list);
if (ib_post_send(p->qp, &ipoib_cm_rx_drain_wr, &bad_wr))
ipoib_warn(priv, "failed to post drain wr\n");
...
}
Eli, Please clarify here.
Thanks
Shirley_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general