]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: edif: Reduce N2N thrashing at app_start time
authorQuinn Tran <qutran@marvell.com>
Wed, 8 Jun 2022 11:58:47 +0000 (04:58 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 Jun 2022 17:04:04 +0000 (13:04 -0400)
commit118ce54fd8c33a27d2bc8ff3ee37432271ad8e78
tree1e2325fcd1ac1ba2f3365f694b7209bbea8533b9
parent65a2e58888b5e3fa785e3e326f84426927ccf8a3
scsi: qla2xxx: edif: Reduce N2N thrashing at app_start time

For N2N + remote WWPN is bigger than local adapter, remote adapter will
login to local adapter while authentication application is not running.
When authentication application starts, the current session in FW needs to
to be invalidated.

Make sure the old session is torn down before triggering a relogin.

Link: https://lore.kernel.org/r/20220608115849.16693-9-njavali@marvell.com
Fixes: 03d1f5917d23 ("scsi: qla2xxx: edif: Add N2N support for EDIF")
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_edif.c