]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Fix delayed response to command for loop mode/direct connect.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:55 +0000 (09:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Mar 2017 00:28:38 +0000 (17:28 -0700)
commit9f702fd642728a6b209f2fd9a52feae956f8e88a
treef7799191d7e464481b031814b71b72b02f9335dc
parent8377e15aaa15d02d6c8997ad8249df0d85b2ed0c
qla2xxx: Fix delayed response to command for loop mode/direct connect.

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>
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