]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scsi: qla2xxx: Fix N2N and NVMe connect retry failure
authorQuinn Tran <qutran@marvell.com>
Wed, 2 Dec 2020 13:23:06 +0000 (05:23 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:37:26 +0000 (16:37 +0100)
commitd15fd835cb1d4a0d2f0ea7bbc157f1936c1fbc02
treee470684ea24b1146ffddd633e4494c93c439ed33
parent84e1f751ce389fdb95df8f9d4bfc6ccc20dd6c81
scsi: qla2xxx: Fix N2N and NVMe connect retry failure

BugLink: https://bugs.launchpad.net/bugs/1910111
[ Upstream commit 07a5f69248e3486e387c40af64793466371c7d91 ]

FC-NVMe target discovery failed when initiator wwpn < target wwpn in an N2N
(Direct Attach) config, where the driver was stuck on FCP PRLI mode and
failed to retry with NVMe PRLI.

Link: https://lore.kernel.org/r/20201202132312.19966-10-njavali@marvell.com
Fixes: 84ed362ac40c ("scsi: qla2xxx: Dual FCP-NVMe target port support”)
Fixes: 983f127603fa ("scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure”)
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c