summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorParav Pandit <parav@nvidia.com>2021-02-25 13:38:07 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-04-02 16:13:06 -0700
commit97d85aba2543af790aaf7f4eb1c9f643a1718519 (patch)
tree9f5eddf43c15508a5deca62485aa4fc6db19e8ea /tools/perf/scripts/python/export-to-postgresql.py
parent51ccc9f5f106caf293230e10dcd494a4e33cc68e (diff)
net/mlx5: Use helper to increment, decrement rate entry refcount
Rate limit entry refcount can be incremented uniformly when it is newly allocated or reused. So simplify the code to increment refcount at one place. Use decrement refcount helper in two routines. Signed-off-by: Parav Pandit <parav@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