scsi: lpfc: Update stat accounting for READ_STATUS mbox command
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Apr 2022 22:20:05 +0000 (15:20 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Apr 2022 02:48:47 +0000 (22:48 -0400)
commitf4fbf4acaa503a8509337572d0c10e5fa4309bc9
tree50af13b4bd7829e4a3dd76558fcad2c450bbbb0b
parent1b6f71f7fcb685970aa1c4ecca3dd60ed37a32ea
scsi: lpfc: Update stat accounting for READ_STATUS mbox command

READ_STATUS tx/rx byte count fields are now expanded to 64 bit wide
counters.  This patch updates logic for the READ_STATUS mbox command when
displaying tx_word and rx_word statistics in sysfs.

Link: https://lore.kernel.org/r/20220412222008.126521-24-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_hw.h