diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2020-09-14 15:07:59 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-11-05 12:09:30 -0800 |
commit | 284836d9660d2476758fa2b82c6d27b30614fcae (patch) | |
tree | 997541e56f844f4151f858509b55c5aaad87a9e4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1c58651412bb4ea3b75c739825f15fc7d77fd44d (diff) |
net/mlx5: DR, Free unused buddy ICM memory
Track buddy's used ICM memory, and free it if all
of the buddy's memory bacame unused.
Do this only for STEs.
MODIFY_ACTION buddies are much smaller, so in case there
is a large amount of modify_header actions, which result
in large amount of MODIFY_ACTION buddies, doing this
cleanup during sync will result in performance hit while
not freeing significant amount of memory.
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions