]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit542c226f318d2688e44541ea7ea41eb5f05e85d5
treeae47415461b7eda077a4bc8e7a2ed0d7cbbe1b7e
parent71370a2d482d48851eb35b001d360b3b2ee29e70
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