diff options
author | Yinjun Zhang <[email protected]> | 2021-12-15 20:37:01 -0500 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-12-16 20:25:56 -0800 |
commit | 7ffd9041de76756665df060c266891325426836f (patch) | |
tree | 68d29ace60b637f8c27fc8a04388cc3d3c180037 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 7cd2802d7496c1fc76f42dc045b48cc16d11df39 (diff) |
nfp: flower: refine the use of circular buffer
The current use of circular buffer to manage stats_context_id is
very obscure, and it will cause problem if its element size is
not power of two. So change the use more straightforward and
scalable, and also change that for mask_id to keep consistency.
Signed-off-by: Yinjun Zhang <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions