diff options
author | 2023-03-15 22:16:26 -0700 | |
---|---|---|
committer | 2023-03-15 22:16:26 -0700 | |
commit | 6873465c1930e0caeccbe0f9987a7b4f9afbdac8 (patch) | |
tree | 99f5a94f61c5b06b1aaf27374c6da93dfc732777 /drivers/net/phy/micrel.c | |
parent | Merge mlx5 updates 2023-03-13 (diff) | |
parent | nfp: flower: offload tc flows of multiple conntrack zones (diff) | |
download | linux-6873465c1930e0caeccbe0f9987a7b4f9afbdac8.tar.gz linux-6873465c1930e0caeccbe0f9987a7b4f9afbdac8.tar.bz2 linux-6873465c1930e0caeccbe0f9987a7b4f9afbdac8.zip |
Merge branch 'nfp-flower-add-support-for-multi-zone-conntrack'
Louis Peens says:
====================
nfp: flower: add support for multi-zone conntrack
This series add changes to support offload of connection tracking across
multiple zones. Previously the driver only supported offloading of a
single goto_chain, spanning a single zone. This was implemented by
merging a pre_ct rule, post_ct rule and the nft rule. This series
provides updates to let the original post_ct rule act as the new pre_ct
rule for a next set of merges if it contains another goto and
conntrack action. In pseudo-tc rule format this adds support for:
ingress chain 0 proto ip flower
action ct zone 1 pipe action goto 1
ingress chain 1 proto ip flower ct_state +tr+new ct_zone 1
action ct_clear pipe action ct zone 2 pipe action goto 2
ingress chain 1 proto ip flower ct_state +tr+est ct_zone 1
action ct_clear pipe action ct zone 2 pipe action goto 2
ingress chain 2 proto ip flower ct_state +tr+new ct_zone 2
action mirred egress redirect dev ...
ingress chain 2 proto ip flower ct_state +tr+est ct_zone 2
action mirred egress redirect dev ...
This can continue for up to a maximum of 4 zone recirculations.
The first few patches are some smaller preparation patches while the
last one introduces the functionality.
====================
Link: https://lore.kernel.org/r/20230314063610.10544-1-louis.peens@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/micrel.c')
0 files changed, 0 insertions, 0 deletions