OSDN Git Service

net/mlx5e: TC, Remove multiple ct actions limitation
authorPaul Blakey <paulb@nvidia.com>
Mon, 23 Jan 2023 08:46:10 +0000 (10:46 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 6 Apr 2023 01:57:32 +0000 (18:57 -0700)
commitd0cc0853640d81397572d8152d068cd673a3e739
tree16027c810a59a435007b90d4dd2ea9bca8684c91
parent08fe94ec5f77136177197c297a794ea00c3677d7
net/mlx5e: TC, Remove multiple ct actions limitation

Multiple ct actions was not supported when only chain was
restored on misses, as CT is a modifying action which could
modify the packet and cause the sw ct rule to not match again
and continue processing.

Now that the misses continue from the relevant tc ct action
in software, this case is supported.

Remove this limitation.

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ct.c