scsi: lpfc: Save FPIN frequency statistics upon receipt of peer cgn notifications
authorJustin Tee <justin.tee@broadcom.com>
Wed, 31 Jan 2024 18:51:04 +0000 (10:51 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Feb 2024 01:51:35 +0000 (20:51 -0500)
commit6ca396c5e3c4fb3d2df176145d4800e47cd0d18b
treef709605e04dd6b2eb40bbb088f77acdfd214e9fb
parent900db34ad26554d83ae033065a047358994bfe88
scsi: lpfc: Save FPIN frequency statistics upon receipt of peer cgn notifications

FPIN frequency is provided by the fabric in peer congestion notifications.

Currently, the frequency is only logged in a message, but it should also be
saved into the phba's cgn_fpin statistics member for proper application
functionality.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240131185112.149731-10-justintee8345@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c