diff options
author | 2023-06-04 12:45:38 +0300 | |
---|---|---|
committer | 2023-07-05 10:57:04 -0700 | |
commit | f7a485115ad4cfc560833942014bf791abf1f827 (patch) | |
tree | 301fac302ed6a910fa3b46a43d00c9fe54f537e1 /lib/test_dynamic_debug.c | |
parent | net/mlx5e: Check for NOT_READY flag state after locking (diff) | |
download | linux-rng-f7a485115ad4cfc560833942014bf791abf1f827.tar.xz linux-rng-f7a485115ad4cfc560833942014bf791abf1f827.zip |
net/mlx5e: TC, CT: Offload ct clear only once
Non-clear CT action causes a flow rule split, while CT clear action
doesn't and is just a header-rewrite to the current flow rule.
But ct offload is done in post_parse and is per ct action instance,
so ct clear offload is parsed multiple times, while its deleted once.
Fix this by post_parsing the ct action only once per flow attribute
(which is per flow rule) by using a offloaded ct_attr flag.
Fixes: 08fe94ec5f77 ("net/mlx5e: TC, Remove special handling of CT action")
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions