netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] ethtool: rss: support creating and removing contexts via Netlink
@ 2025-07-17 23:43 Jakub Kicinski
  2025-07-17 23:43 ` [PATCH net-next 1/8] ethtool: assert that drivers with sym hash are consistent for RSS contexts Jakub Kicinski
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Jakub Kicinski @ 2025-07-17 23:43 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, andrew+netdev, horms, andrew,
	donald.hunter, shuah, kory.maincent, gal, ecree.xilinx,
	Jakub Kicinski

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-07-22  1:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-17 23:43 [PATCH net-next 0/8] ethtool: rss: support creating and removing contexts via Netlink Jakub Kicinski
2025-07-17 23:43 ` [PATCH net-next 1/8] ethtool: assert that drivers with sym hash are consistent for RSS contexts Jakub Kicinski
2025-07-17 23:43 ` [PATCH net-next 2/8] ethtool: rejig the RSS notification machinery for more types Jakub Kicinski
2025-07-20 11:09   ` Gal Pressman
2025-07-17 23:43 ` [PATCH net-next 3/8] ethtool: rss: factor out allocating memory for response Jakub Kicinski
2025-07-17 23:43 ` [PATCH net-next 4/8] ethtool: rss: factor out populating response from context Jakub Kicinski
2025-07-20 11:12   ` Gal Pressman
2025-07-17 23:43 ` [PATCH net-next 5/8] ethtool: move ethtool_rxfh_ctx_alloc() to common code Jakub Kicinski
2025-07-20 11:15   ` Gal Pressman
2025-07-17 23:43 ` [PATCH net-next 6/8] ethtool: rss: support creating contexts via Netlink Jakub Kicinski
2025-07-20 11:42   ` Gal Pressman
2025-07-21 15:21     ` Jakub Kicinski
2025-07-21 18:35       ` Gal Pressman
2025-07-17 23:43 ` [PATCH net-next 7/8] ethtool: rss: support removing " Jakub Kicinski
2025-07-17 23:43 ` [PATCH net-next 8/8] selftests: drv-net: rss_api: context create and delete tests Jakub Kicinski
2025-07-22  1:40 ` [PATCH net-next 0/8] ethtool: rss: support creating and removing contexts via Netlink patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).