summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2017-02-06 13:02:18 -0600
committerLuiz Souza <luiz@netgate.com>2017-09-06 14:19:12 -0500
commit2ffea0b61eedff0885de8913a535e609f81b816a (patch)
tree2b271023e07719665a5c72949c9b527752539b91 /sys/arm
parent0624a0e99232eb61d0d6170ecc2e0142223318c1 (diff)
downloadFreeBSD-src-2ffea0b61eedff0885de8913a535e609f81b816a.zip
FreeBSD-src-2ffea0b61eedff0885de8913a535e609f81b816a.tar.gz
Add ALTQ support to cpsw.
Ticket #7199 (cherry picked from commit b95dbdb097fd2d5b148098bcc68e1f57b7dab544)
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/ti/cpsw/if_cpsw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/ti/cpsw/if_cpsw.c b/sys/arm/ti/cpsw/if_cpsw.c
index fd61cdf..2aa2ac6 100644
--- a/sys/arm/ti/cpsw/if_cpsw.c
+++ b/sys/arm/ti/cpsw/if_cpsw.c
@@ -1837,7 +1837,7 @@ cpswp_tx_enqueue(struct cpswp_softc *sc)
first_new_slot = NULL;
last_old_slot = STAILQ_LAST(&sc->swsc->tx.active, cpsw_slot, next);
while ((slot = STAILQ_FIRST(&sc->swsc->tx.avail)) != NULL) {
- IF_DEQUEUE(&sc->ifp->if_snd, m0);
+ IFQ_DEQUEUE(&sc->ifp->if_snd, m0);
if (m0 == NULL)
break;
OpenPOWER on IntegriCloud