aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJustin Tee <[email protected]>2022-11-15 17:19:17 -0800
committerMartin K. Petersen <[email protected]>2022-11-17 18:18:42 +0000
commitae696255d655bec673e5a5707f37ff6a098e89c2 (patch)
tree972d971bd01511e494851648f0c66e8193b11e3e /tools/perf/scripts/python/mem-phys-addr.py
parent2c1a0a7584f5084f3ec79f86c9a54ee4c55307c4 (diff)
scsi: lpfc: Correct bandwidth logging during receipt of congestion sync WCQE
The lpfc_cmf_timer adjusts phba->cmf_link_byte_count periodically and can artifically inflate bandwidth percent. During bandwidth calculation, correct for this by setting a cap of logging a maximum of 100%. Bandwidth calculation is only used for display under LOG_CGN_MGMT so there is no expectation of impacts on performance. Signed-off-by: Justin Tee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions