diff options
author | Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com> | 2007-05-10 10:18:54 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-11 23:53:08 +0200 |
commit | c53d49453f738555c252304357cd7da6ba1f1ee0 (patch) | |
tree | eed78e434b5c010dc07a9438b48a58da204f2dac /drivers/net/s2io.h | |
parent | S2IO: getringparam ethtool option (diff) | |
download | linux-c53d49453f738555c252304357cd7da6ba1f1ee0.tar.xz linux-c53d49453f738555c252304357cd7da6ba1f1ee0.zip |
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.h | 3 |
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 */ |