aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-06-22 03:19:03 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-23 13:16:31 -0700
commit68bf1c68a4b3d9ad0a98f3310f2f79dca075a035 (patch)
tree8e29abda3a579c252076eab1b79718d0702a008e /drivers/net/qlcnic/qlcnic.h
parentqlcnic: dont free host resources during fw recovery (diff)
downloadlinux-dev-68bf1c68a4b3d9ad0a98f3310f2f79dca075a035.tar.xz
linux-dev-68bf1c68a4b3d9ad0a98f3310f2f79dca075a035.zip
qlcnic: offload tx timeout recovery
Offload tx timeout recovery to fw recovery func(check_health). In check_health, first check health of device, if it its ok, then do tx timeout recovery otherwise device recovery. Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/qlcnic/qlcnic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 5c7d474e560b..6ec34a7fba65 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -934,6 +934,7 @@ struct qlcnic_adapter {
u8 rx_csum;
u8 portnum;
u8 physical_port;
+ u8 reset_context;
u8 mc_enabled;
u8 max_mc_count;
@@ -1001,8 +1002,6 @@ struct qlcnic_adapter {
struct delayed_work fw_work;
- struct work_struct tx_timeout_task;
-
struct qlcnic_nic_intr_coalesce coal;
unsigned long state;