aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPaul Blakey <[email protected]>2021-07-11 16:56:54 +0300
committerSaeed Mahameed <[email protected]>2021-10-29 13:53:28 -0700
commit504e15724893a839213fad5eedfbd511d9ba75cc (patch)
treeb53506309b97afaef5bbe3b103c06a6d86cc08be /scripts/gdb/linux/utils.py
parent428ffea0711a11efa0c1c4ee1fac27903ed091be (diff)
net/mlx5: Allow skipping counter refresh on creation
CT creates a counter for each CT rule, and for each such counter, fs_counters tries to queue mlx5_fc_stats_work() work again via mod_delayed_work(0) call to refresh all counters. This call has a large performance impact when reaching high insertion rate and accounts for ~8% of the insertion time when using software steering. Allow skipping the refresh of all counters during counter creation. Change CT to use this refresh skipping for it's counters. Signed-off-by: Paul Blakey <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Reviewed-by: Oz Shlomo <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions