]> 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)
commit76320b97c273a2a6fd67d6d6aca6e3ed503d1bbb
treef7799191d7e464481b031814b71b72b02f9335dc
parent8e1ba8da1abce420b48c3d6c4c17ceffd6ca7e2e
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