diff options
author | James Smart <jsmart2021@gmail.com> | 2022-05-06 22:55:28 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-05-11 03:43:21 +0200 |
commit | cc28fac16ab7152168be8bee76708df9d65efd71 (patch) | |
tree | 62c7f8714c57b661cfb4534589747fa47cf7f526 /drivers/usb/host/xhci-pci.c | |
parent | scsi: qla2xxx: Fix missed DMA unmap for aborted commands (diff) | |
download | linux-cc28fac16ab7152168be8bee76708df9d65efd71.tar.xz linux-cc28fac16ab7152168be8bee76708df9d65efd71.zip |
scsi: lpfc: Fix split code for FLOGI on FCoE
The refactoring code converted context information from SLI-3 to SLI-4.
The conversion for the SLI-4 bit field tried to use the old (hacky) SLI3
high/low bit settings. Needless to say, it was incorrect.
Explicitly set the context field to type FCFI and set it in the wqe.
SLI-4 is now a proper bit field so no need for the shifting/anding.
Link: https://lore.kernel.org/r/20220506205528.61590-1-jsmart2021@gmail.com
Fixes: 6831ce129f19 ("scsi: lpfc: SLI path split: Refactor base ELS paths and the FLOGI path")
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/usb/host/xhci-pci.c')
0 files changed, 0 insertions, 0 deletions