svn commit: r280536 - stable/10/sys/dev/sfxge
Andrew Rybchenko
arybchik at FreeBSD.org
Wed Mar 25 10:40:18 UTC 2015
Author: arybchik
Date: Wed Mar 25 10:40:17 2015
New Revision: 280536
URL: https://svnweb.freebsd.org/changeset/base/280536
Log:
MFC: 278841
sfxge: flush all Tx queues from if_qflush
Sponsored by: Solarflare Communications, Inc.
Approved by: gnn (mentor), glebius
Modified:
stable/10/sys/dev/sfxge/sfxge_tx.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sfxge/sfxge_tx.c
==============================================================================
--- stable/10/sys/dev/sfxge/sfxge_tx.c Wed Mar 25 10:39:18 2015 (r280535)
+++ stable/10/sys/dev/sfxge/sfxge_tx.c Wed Mar 25 10:40:17 2015 (r280536)
@@ -649,7 +649,7 @@ sfxge_if_qflush(struct ifnet *ifp)
sc = ifp->if_softc;
- for (i = 0; i < SFXGE_TX_SCALE(sc); i++)
+ for (i = 0; i < SFXGE_TXQ_IP_TCP_UDP_CKSUM + SFXGE_TX_SCALE(sc); i++)
sfxge_tx_qdpl_flush(sc->txq[i]);
}
More information about the svn-src-stable
mailing list