aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/rss_api.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-07-16 00:03:25 +0000
committerJakub Kicinski <[email protected]>2025-07-17 23:13:58 +0000
commit82ae67cbc423425ecc5836daa520442d4c8bdb33 (patch)
tree9cdaa1c598c4f26b7cb309b2db72d5e8118d806c /tools/testing/selftests/drivers/net/hw/rss_api.py
parentselftests: drv-net: rss_api: test setting indirection table via Netlink (diff)
downloadkernel-82ae67cbc423425ecc5836daa520442d4c8bdb33.tar.gz
kernel-82ae67cbc423425ecc5836daa520442d4c8bdb33.zip
ethtool: rss: support setting hfunc via Netlink
Support setting RSS hash function / algo via ethtool Netlink. Like IOCTL we don't validate that the function is within the range known to the kernel. The drivers do a pretty good job validating the inputs, and the IDs are technically "dynamically queried" rather than part of uAPI. Only change should be that in Netlink we don't support user explicitly passing ETH_RSS_HASH_NO_CHANGE (0), if no change is requested the attribute should be absent. The ETH_RSS_HASH_NO_CHANGE is retained in driver-facing API for consistency (not that I see a strong reason for it). Reviewed-by: Gal Pressman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions