diff options
author | Jesse Brandeburg | 2008-09-12 04:55:32 +0200 |
---|---|---|
committer | Jeff Garzik | 2008-09-25 00:54:49 +0200 |
commit | cf8280ee7be3aaf44d32e389f15c725b850e5e32 (patch) | |
tree | 3511ef0b19370597c7bd5fbe43a74d563522adeb /drivers/net/ixgbe/ixgbe.h | |
parent | ixgbe: fix multicast address update (diff) | |
download | kernel-qcow2-linux-cf8280ee7be3aaf44d32e389f15c725b850e5e32.tar.gz kernel-qcow2-linux-cf8280ee7be3aaf44d32e389f15c725b850e5e32.tar.xz kernel-qcow2-linux-cf8280ee7be3aaf44d32e389f15c725b850e5e32.zip |
ixgbe: Update watchdog thread to accomodate longerlink_up events
This patch updates the link_up code and watchdog thread so that link_up
doesn't cause stack overflows due to long waits in interrupt context.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 90b53830196c..2b827a67c9c5 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h @@ -309,6 +309,12 @@ struct ixgbe_adapter { u64 lro_aggregated; u64 lro_flushed; u64 lro_no_desc; + + u32 link_speed; + bool link_up; + unsigned long link_check_timeout; + + struct work_struct watchdog_task; }; enum ixbge_state_t { |