Lines Matching refs:net_stats
159 struct net_device_stats net_stats; member
1140 rx_errors+=lp->net_stats.rx_crc_errors +=st->rx_crc_errors; in mc32_update_stats()
1142 rx_errors+=lp->net_stats.rx_fifo_errors +=st->rx_overrun_errors; in mc32_update_stats()
1144 rx_errors+=lp->net_stats.rx_frame_errors +=st->rx_alignment_errors; in mc32_update_stats()
1146 rx_errors+=lp->net_stats.rx_length_errors+=st->rx_tooshort_errors; in mc32_update_stats()
1148 rx_errors+=lp->net_stats.rx_missed_errors+=st->rx_outofresource_errors; in mc32_update_stats()
1150 lp->net_stats.rx_errors=rx_errors; in mc32_update_stats()
1153 lp->net_stats.collisions+=st->dataC[10]; in mc32_update_stats()
1157 lp->net_stats.collisions+=st->dataC[11]; in mc32_update_stats()
1224 lp->net_stats.rx_dropped++; in mc32_rx_ring()
1236 lp->net_stats.rx_packets++; in mc32_rx_ring()
1237 lp->net_stats.rx_bytes += length; in mc32_rx_ring()
1295 lp->net_stats.tx_packets++; in mc32_tx_ring()
1298 lp->net_stats.tx_errors++; in mc32_tx_ring()
1303 lp->net_stats.tx_aborted_errors++; in mc32_tx_ring()
1306 lp->net_stats.tx_fifo_errors++; in mc32_tx_ring()
1309 lp->net_stats.tx_carrier_errors++; in mc32_tx_ring()
1312 lp->net_stats.tx_window_errors++; in mc32_tx_ring()
1315 lp->net_stats.tx_aborted_errors++; in mc32_tx_ring()
1322 lp->net_stats.tx_bytes+=lp->tx_ring[t].skb->len; in mc32_tx_ring()
1416 lp->net_stats.rx_dropped++; in mc32_interrupt()
1554 return &lp->net_stats; in mc32_get_stats()