fix bug introduced by last change

Submitted by:	Navdeep Parhar
This commit is contained in:
Kip Macy 2009-05-12 03:30:25 +00:00
parent 231a637720
commit 24df53962e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192009

View File

@ -296,7 +296,7 @@ cxgb_pcpu_start_(struct sge_qset *qs, struct mbuf *immpkt, int tx_flush)
}
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;