]> git.ipfire.org Git - thirdparty/linux.git/commit
ethtool: assert that drivers with sym hash are consistent for RSS contexts
authorJakub Kicinski <kuba@kernel.org>
Thu, 17 Jul 2025 23:43:36 +0000 (16:43 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 22 Jul 2025 01:20:19 +0000 (18:20 -0700)
commit80e55735d5a5a1f765e807d4c38027039f48302f
treeca2df426e2e8c5668eb7046d2a1cd11facb605cc
parente8c24e23c4c9f515b02dde01de9ec2c945b2fddc
ethtool: assert that drivers with sym hash are consistent for RSS contexts

Supporting per-RSS context configuration of hashing fields but
not the hashing algorithm would complicate the code a lot.
We'd need to cross check the config against all RSS contexts.
None of the drivers need this today, so explicitly prevent
new drivers with such skewed capabilities from registering.
If such driver appears it will need to first adjust the checks
in the core.

Link: https://patch.msgid.link/20250717234343.2328602-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/common.c