]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'net-ethtool-consistently-take-rss_lock-for-all-rxfh-ops'
authorJakub Kicinski <kuba@kernel.org>
Mon, 30 Jun 2025 15:41:32 +0000 (08:41 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 30 Jun 2025 15:41:33 +0000 (08:41 -0700)
Jakub Kicinski says:

====================
net: ethtool: consistently take rss_lock for all rxfh ops

I'd like to bring RXFH and RXFHINDIR ioctls under a single set of
Netlink ops. It appears that while core takes the ethtool->rss_lock
around some of the RXFHINDIR ops, drivers (sfc) take it internally
for the RXFH.

Consistently take the lock around all ops and accesses to the XArray
within the core. This should hopefully make the rss_lock a lot less
confusing.
====================

Link: https://patch.msgid.link/20250626202848.104457-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge