]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Fix delayed response to command for loop mode/direct connect.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 13 Sep 2017 19:02:20 +0000 (00:32 +0530)
committerBrian Maly <brian.maly@oracle.com>
Thu, 2 Nov 2017 18:14:22 +0000 (14:14 -0400)
commit42303e45b7e3259cf6d5fc1a298deb6363881bcb
tree443ff71922c9fd5c2d33b76617a9729fb65e7192
parent05d6a001db24bc25b28822c9da3d71726d362c3d
qla2xxx: Fix delayed response to command for loop mode/direct connect.

Orabug: 2684419726923029

Current driver wait for FW to be in the ready state before
processing in-coming commands. For Arbitrated Loop or
Point-to- Point (not switch), FW Ready state can take a while.
FW will transition to ready state after all Nports have been
logged in. In the mean time, certain initiators have completed
the login and starts IO. Driver needs to start processing all
queues if FW is already started.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c