mbox series

[v2,net-next,0/7] sfc: basic conntrack offload

Message ID cover.1691415479.git.ecree.xilinx@gmail.com (mailing list archive)
Headers show
Series sfc: basic conntrack offload | expand

Message

edward.cree@amd.com Aug. 7, 2023, 1:48 p.m. UTC
From: Edward Cree <ecree.xilinx@gmail.com>

Support offloading tracked connections and matching against them in
 TC chains on the PF and on representors.
Later patch serieses will add NAT and conntrack-on-tunnel-netdevs;
 keep it simple for now.

Edward Cree (7):
  sfc: add MAE table machinery for conntrack table
  sfc: functions to register for conntrack zone offload
  sfc: functions to insert/remove conntrack entries to MAE hardware
  sfc: offload conntrack flow entries (match only) from CT zones
  sfc: handle non-zero chain_index on TC rules
  sfc: conntrack state matches in TC rules
  sfc: offload left-hand side rules for conntrack

 drivers/net/ethernet/sfc/Makefile       |   2 +-
 drivers/net/ethernet/sfc/bitfield.h     |   2 +
 drivers/net/ethernet/sfc/mae.c          | 827 +++++++++++++++++++++++-
 drivers/net/ethernet/sfc/mae.h          |  12 +
 drivers/net/ethernet/sfc/mcdi.h         |  14 +
 drivers/net/ethernet/sfc/tc.c           | 533 ++++++++++++++-
 drivers/net/ethernet/sfc/tc.h           |  86 ++-
 drivers/net/ethernet/sfc/tc_conntrack.c | 533 +++++++++++++++
 drivers/net/ethernet/sfc/tc_conntrack.h |  55 ++
 drivers/net/ethernet/sfc/tc_counters.c  |   8 +-
 drivers/net/ethernet/sfc/tc_counters.h  |   4 +
 11 files changed, 2039 insertions(+), 37 deletions(-)
 create mode 100644 drivers/net/ethernet/sfc/tc_conntrack.c
 create mode 100644 drivers/net/ethernet/sfc/tc_conntrack.h

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 9, 2023, 10:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Mon, 7 Aug 2023 14:48:04 +0100 you wrote:
> From: Edward Cree <ecree.xilinx@gmail.com>
> 
> Support offloading tracked connections and matching against them in
>  TC chains on the PF and on representors.
> Later patch serieses will add NAT and conntrack-on-tunnel-netdevs;
>  keep it simple for now.
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/7] sfc: add MAE table machinery for conntrack table
    https://git.kernel.org/netdev/net-next/c/3bf969e88ada
  - [v2,net-next,2/7] sfc: functions to register for conntrack zone offload
    https://git.kernel.org/netdev/net-next/c/c3bb5c6acd4e
  - [v2,net-next,3/7] sfc: functions to insert/remove conntrack entries to MAE hardware
    https://git.kernel.org/netdev/net-next/c/94aa05bdc777
  - [v2,net-next,4/7] sfc: offload conntrack flow entries (match only) from CT zones
    https://git.kernel.org/netdev/net-next/c/1909387fcfcf
  - [v2,net-next,5/7] sfc: handle non-zero chain_index on TC rules
    https://git.kernel.org/netdev/net-next/c/294160251853
  - [v2,net-next,6/7] sfc: conntrack state matches in TC rules
    https://git.kernel.org/netdev/net-next/c/1dfc29be4d74
  - [v2,net-next,7/7] sfc: offload left-hand side rules for conntrack
    https://git.kernel.org/netdev/net-next/c/01ad088fb05c

You are awesome, thank you!