aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-06-21 23:19:03 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-23 16:16:31 -0400
commit68bf1c68a4b3d9ad0a98f3310f2f79dca075a035 (patch)
tree8e29abda3a579c252076eab1b79718d0702a008e /drivers/net/qlcnic/qlcnic.h
parent52486a3ac86eabe5a2f283eb9682a69c14347213 (diff)
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 'drivers/net/qlcnic/qlcnic.h')
-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 {
934 u8 rx_csum; 934 u8 rx_csum;
935 u8 portnum; 935 u8 portnum;
936 u8 physical_port; 936 u8 physical_port;
937 u8 reset_context;
937 938
938 u8 mc_enabled; 939 u8 mc_enabled;
939 u8 max_mc_count; 940 u8 max_mc_count;
@@ -1001,8 +1002,6 @@ struct qlcnic_adapter {
1001 1002
1002 struct delayed_work fw_work; 1003 struct delayed_work fw_work;
1003 1004
1004 struct work_struct tx_timeout_task;
1005
1006 struct qlcnic_nic_intr_coalesce coal; 1005 struct qlcnic_nic_intr_coalesce coal;
1007 1006
1008 unsigned long state; 1007 unsigned long state;