]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla2xxx: edif: Fix n2n login retry for secure device
authorQuinn Tran <qutran@marvell.com>
Tue, 7 Jun 2022 04:46:26 +0000 (21:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:41:19 +0000 (14:41 +0200)
commitdff98c085cc63343aae88df0f8509cf05c203f9e
tree840dda249e30647dcf5c9421c3628a76167646d3
parent67e04ff7df6c23423cf79b7022805189c6ed6000
scsi: qla2xxx: edif: Fix n2n login retry for secure device

[ Upstream commit aec55325ddec975216119da000092cb8664a3399 ]

After initiator has burned up all login retries, target authentication
application begins to run. This triggers a link bounce on target side.
Initiator will attempt another login. Due to N2N, the PRLI [nvme | fcp] can
fail because of the mode mismatch with target. This patch add a few more
login retries to revive the connection.

Link: https://lore.kernel.org/r/20220607044627.19563-11-njavali@marvell.com
Fixes: 4de067e5df12 ("scsi: qla2xxx: edif: Add N2N support for EDIF")
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla2xxx/qla_init.c