]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: Modify CGN warning signal calculation based on EDC response
authorJustin Tee <justin.tee@broadcom.com>
Thu, 31 Oct 2024 22:32:09 +0000 (15:32 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 3 Nov 2024 01:45:23 +0000 (21:45 -0400)
commit29a64210c76788cae589f31c1cda6c46c2364111
treea7118f74eb430be6051566f63b76deb53def9fe8
parent9852d85ec9d492ebef56dc5f229416c925758edc
scsi: lpfc: Modify CGN warning signal calculation based on EDC response

CGN warning signals are currently statically fixed to a passed in driver
parameter called lpfc_fabric_cgn_frequency.  However, CGN frequency
should be more correctly based on EDC responses from the fabric when
available.  Otherwise, still allow the driver to fall back on user
configured lpfc_fabric_cgn_frequency driver parameter.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20241031223219.152342-2-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c