Justin Tee 81907422ca 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>
2023-07-23 16:17:08 -04:00
..
2023-06-27 21:24:18 -07:00
2023-05-31 19:59:26 -04:00
2023-05-31 19:59:26 -04:00
2023-04-26 16:07:23 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 16:36:55 -07:00
2023-05-31 20:07:42 -04:00
2023-06-28 21:45:27 -04:00
2023-06-30 11:57:07 -07:00
2023-06-30 11:57:07 -07:00
2023-05-31 19:59:26 -04:00
2023-05-31 19:59:26 -04:00
2023-06-30 11:57:07 -07:00
2023-07-08 12:35:18 -07:00
2023-05-26 13:52:19 -07:00
2023-04-18 23:01:23 -04:00
2023-05-31 19:59:26 -04:00
2022-06-27 22:56:21 -04:00
2023-04-27 11:53:57 -07:00
2022-02-22 21:11:02 -05:00
2023-06-30 11:57:07 -07:00
2022-05-08 14:28:18 -04:00
2023-06-30 11:57:07 -07:00
2023-04-27 11:53:57 -07:00
2023-06-30 11:57:07 -07:00
2021-12-22 23:41:13 -05:00
2023-06-30 11:57:07 -07:00
2023-05-31 11:36:40 -04:00