diff options
author | Justin Tee <justin.tee@broadcom.com> | 2023-07-12 11:05:20 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-07-23 16:17:08 -0400 |
commit | 81907422cac08161cf1a351c416c1f891ff4af57 (patch) | |
tree | b2dd8ce512dd8e973d483fb7435ce7c6c514fa04 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d668b368efc2fca15bf785c44b449d38d6b50553 (diff) |
scsi: lpfc: Clean up SLI-4 sysfs resource reporting
Currently, we have dated logic to work around the differences between SLI-4
and SLI-3 resource reporting through sysfs.
Leave the SLI-3 path untouched, but for SLI4 path, retrieve resource values
from the phba->sli4_hba->max_cfg_param structure. Max values are populated
during ACQE events right after READ_CONFIG mbox cmd is sent. Instead of
the dated subtraction logic, used resource calculation is directly fed into
sysfs for display.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20230712180522.112722-11-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions