Pradeep Satyanarayana wrote:
This patch fixes -fail to destroy ipoib rx QP
(https://bugs.openfabrics.org/show_bug.cgi?id=906)
Hence the usecnt issue reported previously on ehca is solved and allows the qp
to be destroyed.
As per Eli's request, I am splitting up the patches. This is first portion of
yesterday's patch.
Tested on ppc64 machines with ehca and mthca.
Also here, does this problem exist in the 2.6.25-rc1 upstream code as
well? from the change log I don't understand the source of the problem
(only the symptom of failing to destroy ipoib/cm rx QP) and the solution.
Or.
Signed-off-by: Pradeep Satyanarayana <[EMAIL PROTECTED]>
---
--- ofa_kernel-1.3_a/drivers/infiniband/ulp/ipoib/ipoib_cm.c 2008-02-11
14:28:47.000000000 -0500
+++ ofa_kernel-1.3_b/drivers/infiniband/ulp/ipoib/ipoib_cm.c 2008-02-12
17:44:07.000000000 -0500
@@ -883,9 +883,9 @@ void ipoib_cm_dev_stop(struct net_device
/*
* assume the HW is wedged and just free up everything.
*/
- list_splice_init(&priv->cm.rx_flush_list, &list);
- list_splice_init(&priv->cm.rx_error_list, &list);
- list_splice_init(&priv->cm.rx_drain_list, &list);
+ list_splice_init(&priv->cm.rx_flush_list,
&priv->cm.rx_reap_list);
+ list_splice_init(&priv->cm.rx_error_list,
&priv->cm.rx_reap_list);
+ list_splice_init(&priv->cm.rx_drain_list,
&priv->cm.rx_reap_list);
break;
}
spin_unlock_irq(&priv->lock);
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg