summaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>2007-05-10 04:18:54 -0400
committerJeff Garzik <jeff@garzik.org>2007-05-11 17:53:08 -0400
commitc53d49453f738555c252304357cd7da6ba1f1ee0 (patch)
treeeed78e434b5c010dc07a9438b48a58da204f2dac /drivers/net/s2io.h
parent0cec35ebf341726e2490a4b01296a6dc132d1127 (diff)
downloadlinux-c53d49453f738555c252304357cd7da6ba1f1ee0.tar.bz2
S2IO: statistics for memory allocation failuers
1. Added code to count the number of memory failures. 2. Added watchdog_timer counter. 3. Changed debug level for some DBG_PRINTS. Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index 8d9cd60658a2..24a3a80a2293 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -95,6 +95,9 @@ struct swStat {
unsigned long long flush_max_pkts;
unsigned long long sum_avg_pkts_aggregated;
unsigned long long num_aggregations;
+ /* Other statistics */
+ unsigned long long mem_alloc_fail_cnt;
+ unsigned long long watchdog_timer_cnt;
};
/* Xpak releated alarm and warnings */