ethtool: rss: support creating and removing contexts via Netlink
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ethtool: assert that drivers with sym hash are consistent for RSS contextsnet/ | +4 | 0 replies | Applied |
| 2/8 | ethtool: rejig the RSS notification machinery for more typesnet/ net/ net/ | +12 | 1 reply | Applied |
| 3/8 | ethtool: rss: factor out allocating memory for responsenet/ | +30 | 0 replies | Applied |
| 4/8 | ethtool: rss: factor out populating response from contextnet/ | +22 | 1 reply | Applied |
| 5/8 | ethtool: move ethtool_rxfh_ctx_alloc() to common codenet/ net/ net/ | +37 | 1 reply | Applied |
| 6/8 | ethtool: rss: support creating contexts via NetlinkDocumentation/ Documentation/ include/ +4 more | +273 | 3 replies | Applied |
| 7/8 | ethtool: rss: support removing contexts via NetlinkDocumentation/ Documentation/ include/ +5 more | +153 | 0 replies | Applied |
| 8/8 | selftests: drv-net: rss_api: context create and delete teststools/ | +73 | 0 replies | Applied |
Reviews trailers per patch
3 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Gal Pressman |
|---|---|
| 1/8 | |
| 2/8 | R-b |
| 3/8 | |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 1 line
2.50.1