aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorCosmin Ratiu <[email protected]>2024-10-08 21:32:12 +0300
committerPaolo Abeni <[email protected]>2024-10-10 13:11:59 +0200
commit8746eeb7f80803009e2e137b8a6667820ea41c18 (patch)
tree99c2d141c60b0121c2e233d6520fe3bd9f7eea8e /tools/perf/scripts/python/syscall-counts.py
parent16efefde21f50b15ccc01e1993d578d34b201611 (diff)
net/mlx5: qos: Refactor and document bw_share calculation
The previous function (esw_qos_calculate_group_min_rate_divider) had two completely different modes of execution, depending on the 'group_level' parameter. Split it into two separate functions: - esw_qos_calculate_min_rate_divider - computes min across groups. - esw_qos_calculate_group_min_rate_divider - computes min in a group. Fold the divider calculation into the corresponding normalize functions to avoid having the caller compute the corresponding divider. Also rename the normalize functions to better indicate what level they're operating on. Finally, document everything so that this topic can more easily be understood by future maintainers. Signed-off-by: Cosmin Ratiu <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions