diff options
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index b9654dfeb877..1e2e72d6aad2 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h | |||
@@ -91,7 +91,7 @@ struct swStat { | |||
91 | unsigned long long serious_err_cnt; | 91 | unsigned long long serious_err_cnt; |
92 | unsigned long long soft_reset_cnt; | 92 | unsigned long long soft_reset_cnt; |
93 | unsigned long long fifo_full_cnt; | 93 | unsigned long long fifo_full_cnt; |
94 | unsigned long long ring_full_cnt; | 94 | unsigned long long ring_full_cnt[8]; |
95 | /* LRO statistics */ | 95 | /* LRO statistics */ |
96 | unsigned long long clubbed_frms_cnt; | 96 | unsigned long long clubbed_frms_cnt; |
97 | unsigned long long sending_both; | 97 | unsigned long long sending_both; |
@@ -126,6 +126,26 @@ struct swStat { | |||
126 | unsigned long long rx_buf_size_err_cnt; | 126 | unsigned long long rx_buf_size_err_cnt; |
127 | unsigned long long rx_rxd_corrupt_cnt; | 127 | unsigned long long rx_rxd_corrupt_cnt; |
128 | unsigned long long rx_unkn_err_cnt; | 128 | unsigned long long rx_unkn_err_cnt; |
129 | |||
130 | /* Error/alarm statistics*/ | ||
131 | unsigned long long tda_err_cnt; | ||
132 | unsigned long long pfc_err_cnt; | ||
133 | unsigned long long pcc_err_cnt; | ||
134 | unsigned long long tti_err_cnt; | ||
135 | unsigned long long lso_err_cnt; | ||
136 | unsigned long long tpa_err_cnt; | ||
137 | unsigned long long sm_err_cnt; | ||
138 | unsigned long long mac_tmac_err_cnt; | ||
139 | unsigned long long mac_rmac_err_cnt; | ||
140 | unsigned long long xgxs_txgxs_err_cnt; | ||
141 | unsigned long long xgxs_rxgxs_err_cnt; | ||
142 | unsigned long long rc_err_cnt; | ||
143 | unsigned long long prc_pcix_err_cnt; | ||
144 | unsigned long long rpa_err_cnt; | ||
145 | unsigned long long rda_err_cnt; | ||
146 | unsigned long long rti_err_cnt; | ||
147 | unsigned long long mc_err_cnt; | ||
148 | |||
129 | }; | 149 | }; |
130 | 150 | ||
131 | /* Xpak releated alarm and warnings */ | 151 | /* Xpak releated alarm and warnings */ |
@@ -1018,7 +1038,7 @@ static void free_shared_mem(struct s2io_nic *sp); | |||
1018 | static int init_nic(struct s2io_nic *nic); | 1038 | static int init_nic(struct s2io_nic *nic); |
1019 | static void rx_intr_handler(struct ring_info *ring_data); | 1039 | static void rx_intr_handler(struct ring_info *ring_data); |
1020 | static void tx_intr_handler(struct fifo_info *fifo_data); | 1040 | static void tx_intr_handler(struct fifo_info *fifo_data); |
1021 | static void alarm_intr_handler(struct s2io_nic *sp); | 1041 | static void s2io_handle_errors(void * dev_id); |
1022 | 1042 | ||
1023 | static int s2io_starter(void); | 1043 | static int s2io_starter(void); |
1024 | static void s2io_closer(void); | 1044 | static void s2io_closer(void); |