net/mlx5e: Fix missing pedit action after ct clear action
authorRoi Dayan <roid@mellanox.com>
Sun, 29 Mar 2020 15:54:10 +0000 (18:54 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 8 Apr 2020 22:46:46 +0000 (15:46 -0700)
commitd5a3c2b640093c8a4bb5d76170a8f6c8c2eacc17
tree9d91f3a5c1c536c3c4ee8242a47921178d00a57b
parent70f478ca085deec4d6c1f187f773f5827ddce7e8
net/mlx5e: Fix missing pedit action after ct clear action

With ct clear action we should not allocate the action in hw
and not release the mod_acts parsed in advance.
It will be done when handling the ct clear action.

Fixes: 1ef3018f5af3 ("net/mlx5e: CT: Support clear action")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c