1
0
Fork 0
alistair23-linux/drivers/net/ethernet/freescale
Jesper Dangaard Brouer d1a00c9bb1 dpaa2-eth: fix return codes used in ndo_setup_tc
[ Upstream commit b89c1e6bdc ]

Drivers ndo_setup_tc call should return -EOPNOTSUPP, when it cannot
support the qdisc type. Other return values will result in failing the
qdisc setup.  This lead to qdisc noop getting assigned, which will
drop all TX packets on the interface.

Fixes: ab1e6de2bd ("dpaa2-eth: Add mqprio support")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-22 09:31:00 +02:00
..
dpaa net: freescale: select CONFIG_FIXED_PHY where needed 2020-06-03 08:21:12 +02:00
dpaa2 dpaa2-eth: fix return codes used in ndo_setup_tc 2020-06-22 09:31:00 +02:00
enetc enetc: Fix a signedness bug in enetc_of_get_phy() 2019-09-27 10:03:41 +02:00
fman fsl/fman: detect FMan erratum A050385 2020-04-01 11:01:52 +02:00
fs_enet net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
Kconfig net: freescale: select CONFIG_FIXED_PHY where needed 2020-06-03 08:21:12 +02:00
Makefile enetc: Introduce basic PF and VF ENETC ethernet drivers 2019-01-24 21:55:53 -08:00
fec.h net: fec: set GPR bit on suspend by DT configuration. 2020-05-02 08:48:55 +02:00
fec_main.c net: fec: set GPR bit on suspend by DT configuration. 2020-05-02 08:48:55 +02:00
fec_mpc52xx.c net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
fec_mpc52xx.h
fec_mpc52xx_phy.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
fec_ptp.c net: fec_ptp: Use platform_get_irq_xxx_optional() to avoid error message 2019-10-29 17:57:16 -07:00
fsl_pq_mdio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gianfar.c gianfar: Fix TX timestamping with a stacked DSA driver 2020-02-24 08:36:24 +01:00
gianfar.h gianfar: cleanup gianfar.h 2019-09-05 12:28:15 +02:00
gianfar_ethtool.c gianfar: remove forward declarations 2019-09-05 12:28:14 +02:00
ucc_geth.c net/ethernet/freescale: rework quiesce/activate for ucc_geth 2020-06-07 13:18:51 +02:00
ucc_geth.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ucc_geth_ethtool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
xgmac_mdio.c net/fsl: treat fsl,erratum-a011043 2020-02-05 21:22:51 +00:00