scsi: qla2xxx: Add error handling for PLOGI ELS passthrough
authorQuinn Tran <qutran@marvell.com>
Thu, 12 Sep 2019 18:09:13 +0000 (11:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Oct 2019 02:26:34 +0000 (22:26 -0400)
commit2c1a9358222a086f3ee448fc1085ed91c81acdaa
treed9e5ee5246632a66ecc551058cbf61e575acff4a
parente8ba9e4d66f1e79b0102448ddfb39218ed0cf32d
scsi: qla2xxx: Add error handling for PLOGI ELS passthrough

Add error handling logic to ELS Passthrough relating to NVME devices.
Current code does not parse error code to take proper recovery action,
instead it re-logins with the same login parameters that encountered the
error. Ex: nport handle collision.

Link: https://lore.kernel.org/r/20190912180918.6436-10-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_iocb.c