1 From ceecb6c2de60f19c674d4e59dde2523db7a9099b Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Mon, 19 Mar 2018 18:39:59 +0200
4 Subject: [PATCH] sdk_dpaa: ceetm: stop the netdev queues when switching ceetm
7 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
9 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 2 ++
10 1 file changed, 2 insertions(+)
12 --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
13 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
14 @@ -1100,7 +1100,9 @@ static int ceetm_init(struct Qdisc *sch,
18 + netif_tx_stop_all_queues(dev);
19 ret = ceetm_init_root(sch, priv, qopt, extack);
20 + netif_tx_wake_all_queues(dev);
23 ret = ceetm_init_prio(sch, priv, qopt);