]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
commit647496422ba9d2784fb8e15b3fda7fe801b1f2ff
tree9904df6952d0f6cbfcdb511350606348aa9672ce
parent99e3eb454cc48b9f2691256780aeb247bdc0ee3d
parent040cef30b5e67271e3193e0206f82b206fc97095
Merge branch 'net-ethtool-consistently-take-rss_lock-for-all-rxfh-ops'

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>