linux/drivers/net/ethernet/freescale
Wei Fang a142d13916 net: enetc: do not allow VF to configure the RSS key
VFs do not have privilege to configure the RSS key because the registers
are owned by the PF. Currently, if VF attempts to configure the RSS key,
enetc_set_rxfh() simply skips the configuration and does not generate a
warning, which may mislead users into thinking the feature is supported.
To improve this situation, add a check to reject RSS key configuration
on VFs.

Fixes: d382563f54 ("enetc: Add RFS and RSS support")
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://patch.msgid.link/20260326075233.3628047-3-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-03-27 20:56:46 -07:00
..
dpaa Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dpaa2 dpaa2-switch: Fix interrupt storm after receiving bad if_id in IRQ handler 2026-02-28 09:01:41 -08:00
enetc net: enetc: do not allow VF to configure the RSS key 2026-03-27 20:56:46 -07:00
fman Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fs_enet Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig net: fec: register a fixed phy using fixed_phy_register_100fd if needed 2025-11-04 18:46:13 -08:00
Makefile
fec.h net: fec: add AF_XDP zero-copy support 2026-02-10 10:58:20 +01:00
fec_main.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fec_mpc52xx.c net: fec: fix typos found by codespell 2025-06-19 15:27:52 -07:00
fec_mpc52xx.h
fec_mpc52xx_phy.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
fec_ptp.c net: fec: fix the PTP periodic output sysfs interface 2026-03-26 20:10:15 -07:00
fsl_pq_mdio.c net: fsl_pq_mdio: Fix device node reference leak in fsl_pq_mdio_probe 2025-10-06 11:22:40 -07:00
gianfar.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
gianfar.h eth: gfar: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:42 +01:00
gianfar_ethtool.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ucc_geth.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
ucc_geth.h net: freescale: ucc_geth: remove unused PHY_INIT_TIMEOUT and PHY_CHANGE_TIME 2025-02-11 16:34:58 -08:00
ucc_geth_ethtool.c net: freescale: ucc_geth: phylink conversion 2024-12-06 13:41:53 +00:00
xgmac_mdio.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00