]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Fix N2N inconsistent PLOGI
authorQuinn Tran <qutran@marvell.com>
Thu, 10 Mar 2022 09:25:57 +0000 (01:25 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2022 04:29:14 +0000 (00:29 -0400)
commitaef1da3e558f1493b05fe5f08a1f3692e4f414ce
tree0cda4d0be37ca78a3d3175666692063263fa38f8
parent1ff55a6ef3b90d97050a44cd869da8902e5862ee
scsi: qla2xxx: Fix N2N inconsistent PLOGI

For N2N topology, ELS Passthrough is used to send PLOGI. On failure of ELS
pass through PLOGI, driver flipped over to using LLIOCB PLOGI for N2N. This
is not consistent. Delete the session to restart the connection where ELS
pass through PLOGI would be used consistently.

Link: https://lore.kernel.org/r/20220310092604.22950-7-njavali@marvell.com
Fixes: 2c1a9358222a ("scsi: qla2xxx: Add error handling for PLOGI ELS passthrough")
Cc: stable@vger.kernel.org
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
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>
drivers/scsi/qla2xxx/qla_iocb.c