[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250717234343.2328602-1-kuba@kernel.org>
Date: Thu, 17 Jul 2025 16:43:35 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
andrew+netdev@...n.ch,
horms@...nel.org,
andrew@...n.ch,
donald.hunter@...il.com,
shuah@...nel.org,
kory.maincent@...tlin.com,
gal@...dia.com,
ecree.xilinx@...il.com,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 0/8] ethtool: rss: support creating and removing contexts via Netlink
This series completes support of RSS configuration via Netlink.
All functionality supported by the IOCTL is now supported by
Netlink. Future series (time allowing) will add:
- hashing on the flow label, which started this whole thing;
- pinning the RSS context to a Netlink socket for auto-cleanup.
The first patch is a leftover held back from previous series
to avoid conflicting with Gal's fix.
Next 4 patches refactor existing code to make reusing it for
context creation possible. 2 patches after that add create
and delete commands. Last but not least the test is extended.
Jakub Kicinski (8):
ethtool: assert that drivers with sym hash are consistent for RSS
contexts
ethtool: rejig the RSS notification machinery for more types
ethtool: rss: factor out allocating memory for response
ethtool: rss: factor out populating response from context
ethtool: move ethtool_rxfh_ctx_alloc() to common code
ethtool: rss: support creating contexts via Netlink
ethtool: rss: support removing contexts via Netlink
selftests: drv-net: rss_api: context create and delete tests
Documentation/netlink/specs/ethtool.yaml | 41 +-
Documentation/networking/ethtool-netlink.rst | 41 ++
.../uapi/linux/ethtool_netlink_generated.h | 5 +
net/ethtool/common.h | 8 +-
net/ethtool/netlink.h | 5 +
net/ethtool/common.c | 39 ++
net/ethtool/ioctl.c | 48 +--
net/ethtool/netlink.c | 22 +
net/ethtool/rss.c | 393 ++++++++++++++++--
.../selftests/drivers/net/hw/rss_api.py | 73 ++++
10 files changed, 603 insertions(+), 72 deletions(-)
--
2.50.1
Powered by blists - more mailing lists