First burst is only supported on adapters running in SLI4 mode and that
are non-FCoE based. Include sli_rev and FCoE mode checks before setting
the write transfer ready disabled bit in PRLIs.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260212213008.149873-12-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
}
npr->estabImagePair = 1;
npr->readXferRdyDis = 1;
- if (vport->cfg_first_burst_size)
+ if (phba->sli_rev == LPFC_SLI_REV4 &&
+ !test_bit(HBA_FCOE_MODE, &phba->hba_flag) &&
+ vport->cfg_first_burst_size)
npr->writeXferRdyDis = 1;
/* For FCP support */