]> Git Repo - linux.git/commit
scsi: lpfc: Fix split code for FLOGI on FCoE
authorJames Smart <[email protected]>
Fri, 6 May 2022 20:55:28 +0000 (13:55 -0700)
committerMartin K. Petersen <[email protected]>
Wed, 11 May 2022 01:43:21 +0000 (21:43 -0400)
commitcc28fac16ab7152168be8bee76708df9d65efd71
tree62c7f8714c57b661cfb4534589747fa47cf7f526
parent26f9ce53817a8fd84b69a73473a7de852a24c897
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/[email protected]
Fixes: 6831ce129f19 ("scsi: lpfc: SLI path split: Refactor base ELS paths and the FLOGI path")
Co-developed-by: Dick Kennedy <[email protected]>
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/lpfc/lpfc_els.c
This page took 0.086246 seconds and 4 git commands to generate.