aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2018-07-24 16:37:40 +0300
committerSaeed Mahameed <[email protected]>2018-09-05 21:14:57 -0700
commit12d6066c3b29c5606c4a2466f964fbd9ede803c5 (patch)
treee59bff5027755fb2007712819af7837da8b69b88 /tools/perf/scripts/python/check-perf-trace.py
parent9aff93d7d0d4b3f3076d7bd12a4ad06ef1cf9804 (diff)
net/mlx5: Add flow counters idr
Previous patch in series changed flow counter storage structure from rb_tree to linked list in order to improve flow counter traversal performance. The drawback of such solution is that flow counter lookup by id becomes linear in complexity. Store pointers to flow counters in idr in order to improve lookup performance to logarithmic again. Idr is non-intrusive data structure and doesn't require extending flow counter struct with new elements. This means that idr can be used for lookup, while linked list from previous patch is used for traversal, and struct mlx5_fc size is <= 2 cache lines. Signed-off-by: Vlad Buslov <[email protected]> Acked-by: Amir Vadai <[email protected]> Reviewed-by: Paul Blakey <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions