]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: flower: support ct merging when mangle action exists
authorYinjun Zhang <yinjun.zhang@corigine.com>
Wed, 18 May 2022 07:50:55 +0000 (09:50 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 19 May 2022 09:48:30 +0000 (11:48 +0200)
commite43d940f480b69ab98dd5d14e9fefdef8851db1a
treeaec5c1eed69215e11bd17ca4ed0639bcecfe593e
parentb885aab3d39d1c81709e957324c7fb9aeac02c38
nfp: flower: support ct merging when mangle action exists

Current implementation of ct merging doesn't support the case
that the fields mangling in pre_ct rules are matched in post_ct
rules.

This change is to support merging when mangling mac address,
ip address, tos, ttl and l4 port. VLAN and MPLS mangling is
not involved yet.

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220518075055.130649-1-simon.horman@corigine.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/netronome/nfp/flower/conntrack.c
drivers/net/ethernet/netronome/nfp/flower/match.c