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]);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"