Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 03:30:25 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192009 - head/sys/dev/cxgb
Message-ID:  <200905120330.n4C3UPhg010017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905120330.n4C3UPhg010017>