<html><body>
<p>Thanks Nam. I will fix it along with ipoib_sg_skb_put_frags() optimization.<br>
<br>
Thanks<br>
Shirley <br>
<br>
<img width="16" height="16" src="cid:1__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Hoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com>">Hoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com><br>
<br>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:2__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " width="29%">
<ul>
<ul>
<ul>
<ul><b><font size="2">Hoang-Nam Nguyen <hnguyen@linux.vnet.ibm.com></font></b><font size="2"> </font>
<p><font size="2">02/08/08 07:10 AM</font></ul>
</ul>
</ul>
</ul>
</td><td width="71%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">eli@mellanox.co.il, Shirley Ma/Beaverton/IBM@IBMUS</font></td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">ewg@lists.openfabrics.org, general@lists.openfabrics.org</font></td></tr>
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">IB/ipoib: ipoib_ib_post_receive: infinite loop in error path</font></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:3__=08BBF97ADFC4AC8A8f9e8a93df938@us.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<br>
<tt>Hello Eli!<br>
Looked at ipoib code from ofed-1.3-rc4 and the saw the following code snippet<br>
in ipoib_ib_post_receive():<br>
<br>
if (++priv->rx_outst == UD_POST_RCV_COUNT) {<br>
ret = ib_post_recv(priv->qp, priv->rx_wr_draft, &bad_wr);<br>
<br>
if (unlikely(ret)) {<br>
ipoib_warn(priv, "receive failed for buf %d (%d)\n", id, ret);<br>
while (bad_wr) {<br>
id = bad_wr->wr_id & ~IPOIB_OP_RECV;<br>
ipoib_sg_dma_unmap_rx(priv,<br>
priv->rx_ring[i].mapping);<br>
#1/ipoib_0240_4kmtu.patch: should be priv->rx_ring[id].mapping<br>
dev_kfree_skb_any(priv->rx_ring[id].skb);<br>
priv->rx_ring[id].skb = NULL;<br>
#2/ipoib_0220_ud_post_list.patch: missing iterator forwarding, ie bad_wr = bad_wr->next;<br>
}<br>
<br>
}<br>
priv->rx_outst = 0;<br>
}<br>
<br>
#1: I've talked with Shirley about this.<br>
#2: I thought to have seen you fixed it, but still see it in rc4 after called<br>
configure script.<br>
<br>
Nam<br>
<br>
</tt><br>
</body></html>