linux/drivers/net/ethernet
Yu Xiao 173cadcece nfp: ethtool: fix the bug of setting unsupported port speed
[ Upstream commit 821de68c1f ]

Unsupported port speed can be set and cause error. Now fixing it
and return an error if setting unsupported speed.

This fix depends on the following, which was included in v6.2-rc1:
commit a61474c41e ("nfp: ethtool: support reporting link modes").

Fixes: 7c69873727 ("nfp: add support for .set_link_ksettings()")
Signed-off-by: Yu Xiao <yu.xiao@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-25 11:25:41 +01:00
..
3com
8390
actions
adaptec
adi net: ethernet: adi: adin1110: Fix multicast offloading 2023-02-01 08:34:45 +01:00
aeroflex ethernet: aeroflex: fix potential skb leak in greth_init_rings() 2022-12-07 11:45:52 +01:00
agere
alacritech
allwinner
alteon
altera net: altera_tse: release phylink resources in tse_shutdown() 2022-11-24 09:34:43 +01:00
amazon net: ena: Update NUMA TPH hint register upon NUMA node update 2023-01-12 12:02:19 +01:00
amd amd-xgbe: Delay AN timeout during KR training 2023-02-01 08:34:10 +01:00
apm drivers: net: xgene: disable napi when register irq failed in xgene_enet_open() 2022-11-08 15:15:55 +01:00
apple net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:27 +01:00
aquantia aquantia: Do not purge addresses when setting the number of rings 2022-11-25 09:28:46 +00:00
arc
asix
atheros net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open() 2022-11-15 20:22:12 -08:00
broadcom bnxt_en: Fix mqprio and XDP ring checking logic 2023-02-22 12:59:53 +01:00
brocade
cadence net: macb: Perform zynqmp dynamic configuration only for SGMII interface 2023-02-14 19:11:44 +01:00
calxeda
cavium net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq 2022-12-06 12:41:46 +01:00
chelsio cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open() 2022-11-09 19:30:30 -08:00
cirrus
cisco
cortina
davicom net: dm9051: Fix missing dev_kfree_skb() in dm9051_loop_rx() 2022-11-23 12:43:14 +00:00
dec
dlink
emulex
engleder tsnep: Fix TX queue stop/wake for multiple queues 2023-02-01 08:34:48 +01:00
ezchip
faraday
freescale dpaa2-eth: execute xdp_do_flush() before napi_complete_done() 2023-02-09 11:28:05 +01:00
fujitsu
fungible
google
hisilicon net: hns3: fix wrong use of rss size during VF rss config 2023-01-18 11:58:32 +01:00
huawei net: hinic: Fix error handling in hinic_module_init() 2022-11-11 19:57:37 -08:00
i825xx
ibm ibmveth: Reduce default tx queues to 8 2022-11-08 17:46:24 -08:00
intel i40e: Add checking for null for nlmsg_find_attr() 2023-02-22 12:59:54 +01:00
litex
marvell octeontx2-af: Fix devlink unregister 2023-02-09 11:28:09 +01:00
mediatek net: ethernet: mtk_eth_soc: Avoid truncating allocation 2023-02-22 12:59:43 +01:00
mellanox net/mlx5: Serialize module cleanup with reload and remove 2023-02-14 19:11:47 +01:00
micrel net: ksz884x: fix missing pci_disable_device() on error in pcidev_init() 2022-10-25 19:46:35 -07:00
microchip net: microchip: sparx5: fix PTP init/deinit not checking all ports 2023-02-14 19:11:45 +01:00
microsoft net: mana: Fix IRQ name - add PCI and queue number 2023-02-01 08:34:42 +01:00
moxa
mscc net: mscc: ocelot: fix all IPv6 getting trapped to CPU when PTP timestamping is used 2023-02-14 19:11:48 +01:00
myricom myri10ge: Fix an error handling path in myri10ge_probe() 2022-12-31 13:32:56 +01:00
natsemi
neterion ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:26 +01:00
netronome nfp: ethtool: fix the bug of setting unsupported port speed 2023-02-25 11:25:41 +01:00
ni net: ethernet: nixge: fix NULL dereference 2022-11-28 11:09:51 +00:00
nvidia
nxp
oki-semi net: pch_gbe: fix pci device refcount leak while module exiting 2022-11-18 19:40:14 -08:00
packetengines
pasemi
pensando ionic: missed doorbell workaround 2023-02-14 19:11:44 +01:00
qlogic qede: execute xdp_do_flush() before napi_complete_done() 2023-02-09 11:28:04 +01:00
qualcomm
rdc r6040: Fix kmemleak in probe and remove 2022-12-31 13:32:54 +01:00
realtek r8169: fix dmar pte write access is not set error 2023-01-24 07:24:31 +01:00
renesas net: ravb: Fix possible hang if RIS2_QFF1 happen 2023-02-01 08:34:47 +01:00
rocker treewide: use get_random_bytes() when possible 2022-10-11 17:42:58 -06:00
samsung
seeq
sfc sfc: correctly advertise tunneled IPv6 segmentation 2023-02-09 11:28:05 +01:00
sgi
silan
sis
smsc
socionext net: ethernet: ave: Fix MAC to be in charge of PHY PM 2022-10-26 20:21:34 -07:00
stmicro net: stmmac: Restrict warning on disabling DMA store and fwd mode 2023-02-22 12:59:53 +01:00
sun sunhme: Uninitialized variable in happy_meal_init() 2022-10-15 11:14:24 +01:00
sunplus eth: sp7021: drop free_netdev() from spl2sw_init_netdev() 2022-11-10 16:27:33 -08:00
synopsys
tehuti
ti net: ethernet: ti: am65-cpsw: Add RX DMA Channel Teardown Quirk 2023-02-22 12:59:51 +01:00
toshiba
tundra ethernet: tundra: free irq when alloc ring failed in tsi108_open() 2022-11-10 15:39:08 +01:00
vertexcom
via
wangxun
wiznet
xilinx net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:27 +01:00
xircom
xscale
dnet.c net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave() 2022-12-31 13:32:27 +01:00
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY 2022-10-24 13:02:18 +01:00
lantiq_xrx200.c
Makefile