net: ethtool: require drivers to opt into the per-RSS ctx RXFH
authorJakub Kicinski <kuba@kernel.org>
Wed, 11 Jun 2025 14:59:43 +0000 (07:59 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Jun 2025 00:16:19 +0000 (17:16 -0700)
commitfac4b41741b5cd0826cf0fa5b14e177f70a6b509
tree592b5d02bb63cf934e7c55751b61aeb79c710a1f
parent2a644c5cecc028c4fcd6545dd736b4dee949b090
net: ethtool: require drivers to opt into the per-RSS ctx RXFH

RX Flow Hashing supports using different configuration for different
RSS contexts. Only two drivers seem to support it. Make sure we
uniformly error out for drivers which don't.

Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20250611145949.2674086-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/sfc/ethtool.c
include/linux/ethtool.h
net/ethtool/ioctl.c