scsi: qla2xxx: Retry switch command on time out
authorQuinn Tran <quinn.tran@cavium.com>
Mon, 4 Dec 2017 22:45:01 +0000 (14:45 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Dec 2017 02:07:02 +0000 (21:07 -0500)
commit25ad76b703d9ad536f3411b15b1070aeb059ab55
treeff6733d5f196d04512f769296f7cd147541a0e41
parenta084fd68e1d26174c4cc1a13fbb0112f468ff7f4
scsi: qla2xxx: Retry switch command on time out

Retry GID_PN & GPN_ID switch commands for time out case.

Fixes: 726b85487067d ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_gs.c