[ofa-general] Re: [RFC][PATCH] last wqe event handler patch
Shirley Ma
xma at us.ibm.com
Wed Jun 25 16:33:25 PDT 2008
Roland Dreier <rdreier at cisco.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080625/164a6345/attachment.html>
More information about the general
mailing list