[ofa-general] [RFC][PATCH] IPoIB-cm: release connection if post_send drain WR failure
Shirley Ma
xma at us.ibm.com
Tue Jun 24 23:22:06 PDT 2008
Hello Roland,
Roland Dreier <rdreier at cisco.com> wrote on 06/24/2008 08:11:56 PM:
> > In case post_send drain WR failure, release connections in stale task.
> What is "post_send drain WR failure"? When can it happen?
> - R.
I saw it happened from below ipoib debug output on testing ehca2:
static void ipoib_cm_start_rx_drain(struct ipoib_dev_priv *priv)
{
....
/*
* 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");
...
}
Thanks
Shirley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080624/4a470c17/attachment.html>
More information about the general
mailing list