net/mlx5e: CT, Don't set flow flag CT for ct clear flow
authorRoi Dayan <roid@nvidia.com>
Wed, 15 Dec 2021 08:48:36 +0000 (10:48 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Jan 2022 20:37:34 +0000 (12:37 -0800)
commitefe6f961cd2e54aca4385c7fee1c997f7c286c73
treeae47415461b7eda077a4bc8e7a2ed0d7cbbe1b7e
parenteeed226ed110ed40598e60e29b66643012277be7
net/mlx5e: CT, Don't set flow flag CT for ct clear flow

ct clear action is a normal flow with a modify header for registers to
0. there is no need for any special handling in tc_ct.c.
Parsing of ct clear action still allocates mod acts to set 0 on the
registers and the driver continue to add a normal rule with modify hdr
context.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c