aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/scsi/lpfc/lpfc_hw4.h
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2023-04-17 12:15:55 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2023-05-08 07:16:05 -0400
commit779d61dfb9eab964b3cd243718fd27b35f9db776 (patch)
tree3f574308ae821d300c976e89d7b79428663b6b69 /drivers/scsi/lpfc/lpfc_hw4.h
parentscsi: lpfc: Match lock ordering of lpfc_cmd->buf_lock and hbalock for abort paths (diff)
downloadwireguard-linux-779d61dfb9eab964b3cd243718fd27b35f9db776.tar.xz
wireguard-linux-779d61dfb9eab964b3cd243718fd27b35f9db776.zip
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_hw4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h
index 58fa39c403a0..a42811682ac7 100644
--- a/drivers/scsi/lpfc/lpfc_hw4.h
+++ b/drivers/scsi/lpfc/lpfc_hw4.h
@@ -4813,8 +4813,8 @@ struct cmf_sync_wqe {
#define cmf_sync_cqid_WORD word11
uint32_t read_bytes;
uint32_t word13;
-#define cmf_sync_period_SHIFT 16
-#define cmf_sync_period_MASK 0x0000ffff
+#define cmf_sync_period_SHIFT 24
+#define cmf_sync_period_MASK 0x000000ff
#define cmf_sync_period_WORD word13
uint32_t word14;
uint32_t word15;