[ofw] RE: patch: [mlx4] Remove unnecessary printing.

Tzachi Dar tzachid at mellanox.co.il
Tue Nov 17 04:52:41 PST 2009


Applied on 2572.
 
Thanks
Tzachi


________________________________

	From: Tzachi Dar 
	Sent: Sunday, November 15, 2009 7:57 PM
	To: ofw at lists.openfabrics.org
	Cc: Windows Design
	Subject: patch: [mlx4] Remove unnecessary printing.
	
	
	Index: Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c
	
===================================================================
	--- Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c (revision
4506)
	+++ Q:/projinf3/trunk/hw/mlx4/kernel/bus/net/eq.c (revision
4507)
	@@ -302,19 +302,16 @@
	  for(;;){
	 
	   /* before start polling */
	-  DbgPrint("Before polling.\n");
	   for (;;) {
	    status = KeWaitForMultipleObjects( 2, wait_objects, 
	               WaitAny, Executive, KernelMode, FALSE, NULL, NULL
);
	 
	    if ( status == STATUS_WAIT_0 ){/* thread stopped */
	-    DbgPrint("Signaled to stop polling.\n");
	     break;  
	    }
	 
	    /* start polling */
	    if ( status == STATUS_WAIT_1 ){
	-    DbgPrint("Signaled to start polling.\n");
	     break;  
	    }
	 
	@@ -324,7 +321,6 @@
	   if ( status == STATUS_WAIT_0 ) continue;/* thread stopped,
wait for start again */
	 
	   /* polling */
	-  DbgPrint("Start polling.\n");
	   wait_time.QuadPart =
-(int64_t)(((uint64_t)POLLING_INTERVAL_MS) * 10000);
	   for (;;) {
	    //mlx4_interrupt( NULL, &priv->dev );
	@@ -334,7 +330,6 @@
	            Executive, KernelMode, FALSE, &wait_time );
	    if ( status == STATUS_SUCCESS ) {
	     //KeClearEvent(&priv->eq_table.thread_stop_event);
	-    DbgPrint("Signaled to stop polling while in polling
mode.\n");
	     break;  /* thread stopped */
	    }
	   }
	@@ -342,7 +337,6 @@
	   if(priv->eq_table.bTerminated) break;
	  }
	 
	- DbgPrint("Polling thread terminated.\n");
	  PsTerminateSystemThread(STATUS_SUCCESS);
	 
	 }
	

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


More information about the ofw mailing list