diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2007-11-07 13:59:06 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-10 04:25:15 -0500 |
commit | 3e23b7d3b54c07f1c4fee1ebc418d1a37248654e (patch) | |
tree | 8b2e236ded93e0c98176e1afb60b812b7577c438 /drivers/net/qla3xxx.h | |
parent | 32bee776533eea839f9499d985c1490b5ac98512 (diff) | |
download | op-kernel-dev-3e23b7d3b54c07f1c4fee1ebc418d1a37248654e.zip op-kernel-dev-3e23b7d3b54c07f1c4fee1ebc418d1a37248654e.tar.gz |
qla3xxx: bugfix: Move link state machine into a worker thread
The link state machine requires access to some resources that
are shared with the iSCSI function on the chip. (See iSCSI
driver at drivers/scsi/qla4xxx) If the interface is being
up/downed at a rapid pace this driver may need to sleep
waiting to get access to the common resources. For this we
are moving the state machine to run as a work thread.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/qla3xxx.h')
-rw-r--r-- | drivers/net/qla3xxx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qla3xxx.h b/drivers/net/qla3xxx.h index fbcb0b9..d0ffb30 100644 --- a/drivers/net/qla3xxx.h +++ b/drivers/net/qla3xxx.h @@ -1286,6 +1286,7 @@ struct ql3_adapter { struct workqueue_struct *workqueue; struct delayed_work reset_work; struct delayed_work tx_timeout_work; + struct delayed_work link_state_work; u32 max_frame_size; u32 device_id; u16 phyType; |