ethtool: rss: support setting hkey via Netlink
authorJakub Kicinski <kuba@kernel.org>
Wed, 16 Jul 2025 00:03:26 +0000 (17:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 23:13:58 +0000 (16:13 -0700)
commit51798c519a9178d179913ac1417ea3e1d27f5fce
tree5e9a0eb8963404617c7c955ef99a01f7ac846de3
parent82ae67cbc423425ecc5836daa520442d4c8bdb33
ethtool: rss: support setting hkey via Netlink

Support setting RSS hashing key via ethtool Netlink.
Use the Netlink policy to make sure user doesn't pass
an empty key, "resetting" the key is not a thing.

Reviewed-by: Gal Pressman <gal@nvidia.com>
Link: https://patch.msgid.link/20250716000331.1378807-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/ethtool.yaml
Documentation/networking/ethtool-netlink.rst
net/ethtool/rss.c