[ofw] [PATCH] reset completion

Tzachi Dar tzachid at mellanox.co.il
Sun May 18 23:47:04 PDT 2008


Applied in revision 1183.
 
Thanks
Tzachi


________________________________

	From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Slava Strebkov
	Sent: Tuesday, April 01, 2008 5:09 PM
	To: ofw at lists.openfabrics.org
	Subject: [ofw] [PATCH] reset completion
	
	

	 

	Hi,

	We got a bugcheck when NdisMResetComplete called without
previous reset request completed with STATUS_PENDING.

	The following patch fixes the bug.

	 

	Index: ulp/ipoib/kernel/ipoib_adapter.c

	
===================================================================

	--- ulp/ipoib/kernel/ipoib_adapter.c          (revision 1026)

	+++ ulp/ipoib/kernel/ipoib_adapter.c       (working copy)

	@@ -808,6 +808,11 @@

	                                    p_adapter->hung = FALSE;

	            }

	 

	+          if (status == IB_NOT_DONE)

	+                      p_adapter->reset = TRUE;

	+          else

	+                      p_adapter->reset = FALSE;

	+

	            IPOIB_EXIT( IPOIB_DBG_INIT );

	            return status;

	 }

	 

	 

	Slava Strebkov

	SW Engineer

	Voltaire

	099718750

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080519/ca151464/attachment.html>


More information about the ofw mailing list