<br><font size=2 face="sans-serif">This is the update patch, that reuses
exsting code.</font>
<br>
<br><font size=2 face="sans-serif">Signed-off-by: Shirley Ma <xma@us.ibm.com></font>
<br>
<div>
<br><font size=2 face="sans-serif">diff -urN infiniband/ulp/ipoib/ipoib_ib.c
infiniband-rx_error/ulp/ipoib/ipoib_ib.c<br>
--- infiniband/ulp/ipoib/ipoib_ib.c 2006-03-26
11:57:15.853035656 -0800<br>
+++ infiniband-rx_error/ulp/ipoib/ipoib_ib.c 2006-03-26
15:05:53.491493088 -0800<br>
@@ -196,11 +196,9 @@<br>
ipoib_warn(priv, "failed recv event "<br>
"(status=%d, wrid=%d vend_err %x)\n",<br>
wc->status, wr_id, wc->vendor_err);<br>
-
dma_unmap_single(priv->ca->dma_device,
addr,<br>
-
IPOIB_BUF_SIZE, DMA_FROM_DEVICE);<br>
-
dev_kfree_skb_any(skb);<br>
-
priv->rx_ring[wr_id].skb
= NULL;<br>
-
return;<br>
+
++priv->stats.rx_errors;<br>
+
/*
ignore this packet, reuse the old buffer */<br>
+
goto
repost;<br>
}<br>
<br>
/*</font>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Thanks<br>
Shirley Ma<br>
IBM Linux Technology Center<br>
15300 SW Koll Parkway<br>
Beaverton, OR 97006-6063<br>
Phone(Fax): (503) 578-7638<br>
<br>
</font></div>