diff options
author | 2020-09-14 15:07:59 +0300 | |
---|---|---|
committer | 2020-11-05 12:09:30 -0800 | |
commit | 284836d9660d2476758fa2b82c6d27b30614fcae (patch) | |
tree | 997541e56f844f4151f858509b55c5aaad87a9e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: DR, ICM memory pools sync optimization (diff) | |
download | wireguard-linux-284836d9660d2476758fa2b82c6d27b30614fcae.tar.xz wireguard-linux-284836d9660d2476758fa2b82c6d27b30614fcae.zip |
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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions