aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAryan Srivastava <[email protected]>2024-10-07 10:29:05 +1300
committerJakub Kicinski <[email protected]>2024-10-08 15:30:55 -0700
commitada5c3229b32e48f4c8e09b6937e5ad98cc3675f (patch)
tree896e1020207167ebef4cac58f49bde91e26bac77 /tools/perf/scripts/python/syscall-counts.py
parent42b2331081178785d50d116c85ca40d728b48291 (diff)
net: dsa: mv88e6xxx: Add FID map cache
Add a cached FID bitmap. This mitigates the need to walk all VTU entries to find the next free FID. When flushing the VTU (during init), zero the FID bitmap. Use and manipulate this bitmap from now on, instead of reading HW for the FID map. The repeated VTU walks are costly and can take ~40 mins if ~4000 vlans are added. Caching the FID map reduces this time to <2 mins. Signed-off-by: Aryan Srivastava <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions