From 2ffea0b61eedff0885de8913a535e609f81b816a Mon Sep 17 00:00:00 2001 From: Luiz Otavio O Souza Date: Mon, 6 Feb 2017 13:02:18 -0600 Subject: Add ALTQ support to cpsw. Ticket #7199 (cherry picked from commit b95dbdb097fd2d5b148098bcc68e1f57b7dab544) --- sys/arm/ti/cpsw/if_cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/arm') 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; -- cgit v1.1