diff options
author | Roi Dayan <[email protected]> | 2022-02-03 09:42:19 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2022-02-23 16:08:18 -0800 |
commit | fb7e76ea3f3b6238dda2f19a4212052d2caf00aa (patch) | |
tree | 3b32b577bf5fbb0994ca0bb39a6f4b80d6105958 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3d65492a86d4e6675734646929759138a023d914 (diff) |
net/mlx5e: TC, Skip redundant ct clear actions
Offload of ct clear action is just resetting the reg_c register.
It's done by allocating modify hdr resources which is limited.
Doing it multiple times is redundant and wasting modify hdr resources
and if resources depleted the driver will fail offloading the rule.
Ignore redundant ct clear actions after the first one.
Fixes: 806401c20a0f ("net/mlx5e: CT, Fix multiple allocations and memleak of mod acts")
Signed-off-by: Roi Dayan <[email protected]>
Reviewed-by: Ariel Levkovich <[email protected]>
Reviewed-by: Maor Dickman <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions