1
0
Fork 0
alistair23-linux/drivers/net/ethernet
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
..
3com
8390 net: 8390: Fix manufacturer name in Kconfig help text 2019-08-01 13:45:48 -04:00
adaptec
aeroflex
agere Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-06 18:44:57 -07:00
alacritech
allwinner drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
alteon
altera
amazon net: ena: fix error returning in ena_com_get_hash_function() 2020-06-22 09:30:51 +02:00
amd amd-xgbe: Use __napi_schedule() in BH context 2020-04-21 09:04:43 +02:00
apm drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()' 2020-03-05 16:43:49 +01:00
apple net: bmac: Fix read of MAC address from ROM 2020-06-07 13:18:51 +02:00
aquantia net: atlantic: make hw_get_regs optional 2020-06-22 09:30:51 +02:00
arc net: ethernet: arc: add the missed clk_disable_unprepare 2019-11-01 10:25:39 -07:00
atheros net: ag71xx: fix mdio subnode support 2019-10-01 10:19:19 -07:00
aurora net: Remove dev_err() usage after platform_get_irq() 2019-07-30 14:37:35 -07:00
broadcom bnxt_en: Fix accumulation of bp->net_stats_prev. 2020-06-03 08:21:36 +02:00
brocade
cadence net: macb: fix an issue about leak related system resources 2020-05-14 07:58:21 +02:00
calxeda
cavium net: thunderx: workaround BGX TX Underflow issue 2020-03-12 13:00:16 +01:00
chelsio net/cxgb4: Check the return from t4_query_params properly 2020-05-02 08:48:47 +02:00
cirrus net: ep93xx_eth: fix mismatch of request_mem_region in remove 2019-11-15 12:42:09 -08:00
cisco enic: prevent waking up stopped tx queues over watchdog reset 2020-02-24 08:36:21 +01:00
cortina net: gemini: Fix memory leak in gmac_setup_txqs 2019-12-31 16:41:18 +01:00
davicom net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt() 2020-03-12 13:00:13 +01:00
dec net: tulip: Adjust indentation in {dmfe, uli526x}_init_module 2020-02-11 04:35:46 -08:00
dlink
emulex drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
ezchip ezchip: nps_enet: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:42:13 -07:00
faraday net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum 2019-10-28 16:22:50 -07:00
freescale dpaa2-eth: fix return codes used in ndo_setup_tc 2020-06-22 09:31:00 +02:00
fujitsu
google net: Google gve: Remove dma_wmb() before ringing doorbell 2020-02-01 09:34:44 +00:00
hisilicon net: hns3: fix "tc qdisc del" failed issue 2020-04-01 11:01:55 +02:00
hp
huawei hinic: fix a bug of ndo_stop 2020-05-20 08:20:11 +02:00
i825xx net: i82596: fix dma_alloc_attr for sni_82596 2019-10-15 20:50:05 -07:00
ibm drivers/net/ibmvnic: Update VNIC protocol version reporting 2020-06-17 16:40:22 +02:00
intel e1000: Distribute switch variables for initialization 2020-06-22 09:30:58 +02:00
marvell net: mvpp2: fix RX hashing for non-10G ports 2020-06-03 08:20:55 +02:00
mediatek net: ethernet: mediatek: move mt7623 settings out off the mt7530 2020-04-21 09:04:48 +02:00
mellanox net/mlx5e: Fix repeated XSK usage on one channel 2020-06-17 16:40:32 +02:00
micrel net: ks8851-ml: Fix IO operations, again 2020-04-02 15:11:01 +02:00
microchip net: microchip: encx24j600: add missed kthread_stop 2020-06-03 08:21:09 +02:00
moxa net: moxa: Fix a potential double 'free_irq()' 2020-05-20 08:20:05 +02:00
mscc net: mscc: fix in frame extraction 2020-03-05 16:43:31 +01:00
myricom Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-19 11:54:03 -07:00
natsemi net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()' 2020-05-20 08:20:05 +02:00
neterion net: vxge: fix wrong __VA_ARGS__ usage 2020-04-17 10:49:58 +02:00
netronome nfp: flower: fix used time of merge flow statistics 2020-06-10 20:24:55 +02:00
ni net: nixge: Fix a signedness bug in nixge_probe() 2019-09-27 10:20:36 +02:00
nvidia Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
nxp net: lpc_eth: avoid resetting twice 2019-10-13 11:15:25 -07:00
oki-semi
packetengines ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb” 2019-08-22 16:22:04 -07:00
pasemi
pensando ionic: fix rxq comp packet type mask 2020-02-11 04:35:06 -08:00
qlogic qlcnic: fix missing release in qlcnic_83xx_interrupt_test. 2020-06-03 08:21:36 +02:00
qualcomm net: qualcomm: rmnet: Allow configuration updates to existing devices 2020-04-17 10:50:17 +02:00
rdc
realtek r8169: re-establish support for RTL8401 chip version 2020-05-20 08:20:13 +02:00
renesas sh_eth: check sh_eth_cpu_data::dual_port when dumping registers 2020-01-23 08:22:53 +01:00
rocker rocker: add missing init_net check in FIB notifier 2019-09-05 12:14:10 +02:00
samsung sxgbe: Fix off by one in samsung driver strncpy size arg 2020-04-01 11:01:55 +02:00
seeq net: seeq: Fix the function used to release some memory in an error handling path 2019-09-01 12:10:11 -07:00
sfc sfc: fix timestamp reconstruction at 16-bit rollover points 2020-03-21 08:11:56 +01:00
sgi net: sgi: ioc3-eth: no need to stop queue set_multicast_list 2019-08-30 13:54:36 -07:00
silan
sis sis900: add support for ethtool's EEPROM dump 2019-07-26 14:24:48 -07:00
smsc net: smsc911x: Fix runtime PM imbalance on error 2020-06-07 13:18:52 +02:00
socionext net: socionext: fix xdp_result initialization in netsec_process_rx 2020-02-01 09:34:39 +00:00
stmicro net: stmmac: enable timestamp snapshot for required PTP packets in dwmac v5.10a 2020-06-10 20:24:54 +02:00
sun net: sun: fix missing release regions in cas_init_one(). 2020-06-03 08:21:06 +02:00
synopsys
tehuti
ti net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during suspend 2020-06-03 08:20:45 +02:00
toshiba net: tc35815: Fix phydev supported/advertising mask 2020-05-14 07:58:21 +02:00
tundra net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context 2019-08-08 22:43:34 -07:00
via via-rhine: use devm_platform_ioremap_resource() to simplify code 2019-08-21 13:42:12 -07:00
wiznet
xilinx net: ll_temac: Handle DMA halt condition caused by buffer underrun 2020-03-21 08:11:51 +01:00
xircom
xscale net: ethernet: ixp4xx: Standard module init 2020-02-24 08:36:27 +01:00
Kconfig net: remove netx ethernet driver 2019-09-21 19:08:31 -07:00
Makefile net: remove netx ethernet driver 2019-09-21 19:08:31 -07:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c pci-v5.4-changes 2019-09-23 19:16:01 -07:00
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c net: Remove dev_err() usage after platform_get_irq() 2019-07-30 14:37:35 -07:00