]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb3e2c480af683cd655f7cce120372b23a3f2f36
tree50af13b4bd7829e4a3dd76558fcad2c450bbbb0b
parente0caa02a9e9c3f2bb8d45611337200565e900fe0
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