1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

sfxge: flush all Tx queues from if_qflush

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor), glebius
This commit is contained in:
Andrew Rybchenko 2015-02-16 06:16:38 +00:00
parent 75a8079ded
commit 2cd617a883
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278841

View File

@ -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]);
}