]> 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)
commitf8e44f9e3662fe92b298cbac16e4c5d56744850b
treeaec5c1eed69215e11bd17ca4ed0639bcecfe593e
parent36dd4d141de52740fda6b0dbd8b1e82483a098aa
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