mbox series

[net-next,0/5] net: make RSS+RXNFC semantics more explicit

Message ID cover.1731499021.git.ecree.xilinx@gmail.com (mailing list archive)
Headers show
Series net: make RSS+RXNFC semantics more explicit | expand

Message

edward.cree@amd.com Nov. 13, 2024, 12:13 p.m. UTC
From: Edward Cree <ecree.xilinx@gmail.com>

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

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 15, 2024, 4:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 13 Nov 2024 12:13:08 +0000 you wrote:
> From: Edward Cree <ecree.xilinx@gmail.com>
> 
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts in
    https://git.kernel.org/netdev/net-next/c/9e43ad7a1ede
  - [net-next,2/5] net: ethtool: account for RSS+RXNFC add semantics when checking channel count
    https://git.kernel.org/netdev/net-next/c/a64499f618b2
  - [net-next,3/5] selftest: include dst-ip in ethtool ntuple rules
    https://git.kernel.org/netdev/net-next/c/b2d5b4c46856
  - [net-next,4/5] selftest: validate RSS+ntuple filters with nonzero ring_cookie
    https://git.kernel.org/netdev/net-next/c/e9e8abfec214
  - [net-next,5/5] selftest: extend test_rss_context_queue_reconfigure for action addition
    https://git.kernel.org/netdev/net-next/c/29a4bc1fe961

You are awesome, thank you!