scsi: lpfc: Update congestion warning notification period
authorJustin Tee <justin.tee@broadcom.com>
Mon, 17 Apr 2023 19:15:55 +0000 (12:15 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 8 May 2023 11:16:05 +0000 (07:16 -0400)
commit779d61dfb9eab964b3cd243718fd27b35f9db776
tree3f574308ae821d300c976e89d7b79428663b6b69
parent78e9e35004fd42ca6d539f3ba5c600a189241633
scsi: lpfc: Update congestion warning notification period

The CMF_SYNC_WQE command is updated to use an 8-bit field sync period.  All
related variables used to calculate congestion warning notifications are
updated to 8-bit fields accordingly.

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