scsi: lpfc: Relax PRLI issue conditions after GID_FT response
authorJustin Tee <justin.tee@broadcom.com>
Fri, 28 Jun 2024 17:20:06 +0000 (10:20 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 5 Jul 2024 03:24:51 +0000 (23:24 -0400)
commitaeaf117cc7d28b994652491c87b929d853519d20
tree3f53ea41c49fcd26f9d1360b56fa6381cee234bd
parent9609385dd91b26751019b22ca9bfa4bec7602ae1
scsi: lpfc: Relax PRLI issue conditions after GID_FT response

If previously in REG_LOGIN_ISSUE state, then remove the requirement that
PLOGI must have been received from the remote port before issuing a PRLI.
After GID_FT completes, it does not matter whether the driver itself sent a
PLOGI or received one.  The fact that we're in REG_LOGIN_ISSUE state simply
means that the next state should be issuing the PRLI to continue discovery
of the remote port.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240628172011.25921-4-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c