diff options
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 24a3a80a2293..54baa0b8ec7c 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -98,6 +98,29 @@ struct swStat { | |||
98 | /* Other statistics */ | 98 | /* Other statistics */ |
99 | unsigned long long mem_alloc_fail_cnt; | 99 | unsigned long long mem_alloc_fail_cnt; |
100 | unsigned long long watchdog_timer_cnt; | 100 | unsigned long long watchdog_timer_cnt; |
101 | unsigned long long mem_allocated; | ||
102 | unsigned long long mem_freed; | ||
103 | unsigned long long link_up_cnt; | ||
104 | unsigned long long link_down_cnt; | ||
105 | unsigned long long link_up_time; | ||
106 | unsigned long long link_down_time; | ||
107 | |||
108 | /* Transfer Code statistics */ | ||
109 | unsigned long long tx_buf_abort_cnt; | ||
110 | unsigned long long tx_desc_abort_cnt; | ||
111 | unsigned long long tx_parity_err_cnt; | ||
112 | unsigned long long tx_link_loss_cnt; | ||
113 | unsigned long long tx_list_proc_err_cnt; | ||
114 | |||
115 | unsigned long long rx_parity_err_cnt; | ||
116 | unsigned long long rx_abort_cnt; | ||
117 | unsigned long long rx_parity_abort_cnt; | ||
118 | unsigned long long rx_rda_fail_cnt; | ||
119 | unsigned long long rx_unkn_prot_cnt; | ||
120 | unsigned long long rx_fcs_err_cnt; | ||
121 | unsigned long long rx_buf_size_err_cnt; | ||
122 | unsigned long long rx_rxd_corrupt_cnt; | ||
123 | unsigned long long rx_unkn_err_cnt; | ||
101 | }; | 124 | }; |
102 | 125 | ||
103 | /* Xpak releated alarm and warnings */ | 126 | /* Xpak releated alarm and warnings */ |
@@ -827,6 +850,7 @@ struct s2io_nic { | |||
827 | #define LINK_UP 2 | 850 | #define LINK_UP 2 |
828 | 851 | ||
829 | int task_flag; | 852 | int task_flag; |
853 | unsigned long long start_time; | ||
830 | #define CARD_DOWN 1 | 854 | #define CARD_DOWN 1 |
831 | #define CARD_UP 2 | 855 | #define CARD_UP 2 |
832 | atomic_t card_state; | 856 | atomic_t card_state; |