Skip to content

net: make RSS+RXNFC semantics more explicit

[email protected] linux-kselftest netdev 1 version Applied

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

  1. v1 Latest5 patches 11 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts indrivers/net/ethernet/sfc/ef100_ethtool.c drivers/net/ethernet/sfc/ethtool.c include/linux/ethtool.h +1 more+11 -010 repliesApplied
2/5net: ethtool: account for RSS+RXNFC add semantics when checking channel countnet/ethtool/common.c+30 -120 repliesApplied
3/5selftest: include dst-ip in ethtool ntuple rulestools/testing/selftests/drivers/net/hw/rss_ctx.py+6 -61 replyApplied
4/5selftest: validate RSS+ntuple filters with nonzero ring_cookietools/testing/selftests/drivers/net/hw/rss_ctx.py+40 -10 repliesApplied
5/5selftest: extend test_rss_context_queue_reconfigure for action additiontools/testing/selftests/drivers/net/hw/rss_ctx.py+26 -00 repliesApplied

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchMartin Habets
1/5R-b
2/5
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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(-)