Files
linux/drivers/scsi/lpfc
James Smart 85f6cb18a7 scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
[ Upstream commit e30d55137e ]

An 'unexpected timeout' message may be seen in a point-2-point topology.
The message occurs when a PLOGI is received before the driver is notified
of FLOGI completion. The FLOGI completion failure causes discovery to be
triggered for a second time. The discovery timer is restarted but no new
discovery activity is initiated, thus the timeout message eventually
appears.

In point-2-point, when discovery has progressed before the FLOGI completion
is processed, it is not a failure. Add code to FLOGI completion to detect
that discovery has progressed and exit the FLOGI handling (noop'ing it).

Link: https://lore.kernel.org/r/20210514195559.119853-4-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 11:26:35 +09:00
..
2023-05-15 16:17:00 +09:00
2015-04-10 07:50:42 -07:00
2016-07-15 15:25:06 -04:00
2015-06-05 22:40:19 -07:00
2023-05-15 16:17:00 +09:00
2011-03-31 11:26:23 -03:00
2016-07-15 15:25:06 -04:00
2016-07-15 15:25:06 -04:00
2023-05-15 16:17:00 +09:00