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)
commitc76ae845ea836d6128982dcbd41ac35c81e2de63
treed9e5ee5246632a66ecc551058cbf61e575acff4a
parent84ed362ac40ca44dbbbebf767301463aa72bc797
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