diff options
author | arybchik <arybchik@FreeBSD.org> | 2015-03-25 10:40:17 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2015-03-25 10:40:17 +0000 |
commit | 84ce3f4a1f00abdabb0d13c7c197f72844453a20 (patch) | |
tree | 36455e9beb01d0c54027c18031cdd0e1f7064ffa /sys/dev/sfxge/sfxge_tx.c | |
parent | 009f0caabaa67a184582aa50f83fa08ea32b112b (diff) | |
download | FreeBSD-src-84ce3f4a1f00abdabb0d13c7c197f72844453a20.zip FreeBSD-src-84ce3f4a1f00abdabb0d13c7c197f72844453a20.tar.gz |
MFC: 278841
sfxge: flush all Tx queues from if_qflush
Sponsored by: Solarflare Communications, Inc.
Approved by: gnn (mentor), glebius
Diffstat (limited to 'sys/dev/sfxge/sfxge_tx.c')
-rw-r--r-- | sys/dev/sfxge/sfxge_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/sfxge_tx.c b/sys/dev/sfxge/sfxge_tx.c index 29b604b..1830296 100644 --- a/sys/dev/sfxge/sfxge_tx.c +++ b/sys/dev/sfxge/sfxge_tx.c @@ -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]); } |