svn commit: r192009 - head/sys/dev/cxgb

Kip Macy kmacy at FreeBSD.org
Tue May 12 03:30:26 UTC 2009


Author: kmacy
Date: Tue May 12 03:30:25 2009
New Revision: 192009
URL: http://svn.freebsd.org/changeset/base/192009

Log:
  fix bug introduced by last change
  
  Submitted by:	Navdeep Parhar

Modified:
  head/sys/dev/cxgb/cxgb_multiq.c

Modified: head/sys/dev/cxgb/cxgb_multiq.c
==============================================================================
--- head/sys/dev/cxgb/cxgb_multiq.c	Tue May 12 02:17:25 2009	(r192008)
+++ head/sys/dev/cxgb/cxgb_multiq.c	Tue May 12 03:30:25 2009	(r192009)
@@ -296,7 +296,7 @@ cxgb_pcpu_start_(struct sge_qset *qs, st
 	}
 
 	stopped = isset(&qs->txq_stopped, TXQ_ETH);
-	flush = ((drbr_empty(pi->ifp, txq->txq_mr)
+	flush = ((!drbr_empty(pi->ifp, txq->txq_mr)
 		 && !stopped) || txq->immpkt); 
 	max_desc = tx_flush ? TX_ETH_Q_SIZE : TX_START_MAX_DESC;
 	


More information about the svn-src-head mailing list