net: make RSS+RXNFC semantics more explicit
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 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts indrivers/ drivers/ include/ +1 more | +11 | 10 replies | Applied |
| 2/5 | net: ethtool: account for RSS+RXNFC add semantics when checking channel countnet/ | +30 | 0 replies | Applied |
| 3/5 | selftest: include dst-ip in ethtool ntuple rulestools/ | +6 | 1 reply | Applied |
| 4/5 | selftest: validate RSS+ntuple filters with nonzero ring_cookietools/ | +40 | 0 replies | Applied |
| 5/5 | selftest: extend test_rss_context_queue_reconfigure for action additiontools/ | +26 | 0 replies | Applied |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Martin Habets |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/5] net: make RSS+RXNFC semantics more explicit
From: Edward Cree <[email protected]>
The original semantics of ntuple filters with FLOW_RSS were not
fully understood by all drivers, some ignoring the ring_cookie from the flow rule. Require this support to be explicitly declared by the driver for filters relying on it to be inserted, and add self- test coverage for this functionality.
Also teach ethtool_check_max_channel() about this.
Edward Cree (5):
net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver
opts in
net: ethtool: account for RSS+RXNFC add semantics when checking
channel count
selftest: include dst-ip in ethtool ntuple rules
selftest: validate RSS+ntuple filters with nonzero ring_cookie
selftest: extend test_rss_context_queue_reconfigure for action
addition
drivers/net/ethernet/sfc/ef100_ethtool.c | 1 + drivers/net/ethernet/sfc/ethtool.c | 1 + include/linux/ethtool.h | 4 + net/ethtool/common.c | 42 +++++++--- net/ethtool/ioctl.c | 5 ++ .../selftests/drivers/net/hw/rss_ctx.py | 79 +++++++++++++++++-- 6 files changed, 113 insertions(+), 19 deletions(-)