]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-point
authorJames Smart <jsmart2021@gmail.com>
Tue, 23 Oct 2018 20:41:08 +0000 (13:41 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 01:42:51 +0000 (20:42 -0500)
commitc74289d382c259abc38a365827e10f1eba2407ca
tree93018dd46acf569a824b46346009428d0c8f4254
parent7ef9af2ee6fe8371f9184763a87f9f123f0fce67
scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-point

Testing a point-to-point topology and a case of re-FLOGI without
intervening link bouncing, showed an odd interaction with firmware and
a resulting scenario where the driver no longer probed after accepting
the new FLOGI.

Work around the firmware issue by issuing a link bounce if a FLOGI is
received after the link is already up and FLOGI's accepted.

While debugging the issue, realized that some debug traces should be
clarified to help in the future.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c