OSDN Git Service

net/mlx5e: TC, Cleanup ct resources for nic flow
authorChris Mi <cmi@nvidia.com>
Thu, 6 Apr 2023 06:38:09 +0000 (09:38 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 16 Jun 2023 19:59:19 +0000 (12:59 -0700)
commitfb7be476ab7e797b18c6f0047041635c41b3b5a4
tree0a61d0c3a0935d21a7a42c5402b2a62187d461aa
parentb100573ab76ee5b0cb8f9129b568d9e7da795f76
net/mlx5e: TC, Cleanup ct resources for nic flow

The cited commit removes special handling of CT action. But it
removes too much. Pre ct/ct_nat tables and some other resources
are not destroyed due to the cited commit.

Fix it by adding it back.

Fixes: 08fe94ec5f77 ("net/mlx5e: TC, Remove special handling of CT action")
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c