Home
last modified time | relevance | path

Searched refs:net_stats (Results 1 – 19 of 19) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dsunqe.c258 qep->net_stats.tx_errors++; in qe_is_bolixed()
263 qep->net_stats.tx_errors++; in qe_is_bolixed()
264 qep->net_stats.tx_carrier_errors++; in qe_is_bolixed()
269 qep->net_stats.tx_errors++; in qe_is_bolixed()
275 qep->net_stats.tx_errors++; in qe_is_bolixed()
276 qep->net_stats.collisions++; in qe_is_bolixed()
282 qep->net_stats.tx_errors++; in qe_is_bolixed()
295 qep->net_stats.tx_errors += 256; in qe_is_bolixed()
296 qep->net_stats.collisions += 256; in qe_is_bolixed()
301 qep->net_stats.tx_errors++; in qe_is_bolixed()
[all …]
D3c527.c159 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()
[all …]
D8139cp.c347 struct net_device_stats net_stats; member
470 cp->net_stats.rx_packets++; in cp_rx_skb()
471 cp->net_stats.rx_bytes += skb->len; in cp_rx_skb()
490 cp->net_stats.rx_errors++; in cp_rx_err_acct()
492 cp->net_stats.rx_frame_errors++; in cp_rx_err_acct()
494 cp->net_stats.rx_crc_errors++; in cp_rx_err_acct()
496 cp->net_stats.rx_length_errors++; in cp_rx_err_acct()
498 cp->net_stats.rx_length_errors++; in cp_rx_err_acct()
500 cp->net_stats.rx_fifo_errors++; in cp_rx_err_acct()
553 cp->net_stats.rx_dropped++; in cp_rx_poll()
[all …]
Dsungem.c265 gp->net_stats.tx_fifo_errors++; in gem_txmac_interrupt()
271 gp->net_stats.tx_errors++; in gem_txmac_interrupt()
278 gp->net_stats.collisions += 0x10000; in gem_txmac_interrupt()
281 gp->net_stats.tx_aborted_errors += 0x10000; in gem_txmac_interrupt()
282 gp->net_stats.collisions += 0x10000; in gem_txmac_interrupt()
286 gp->net_stats.tx_aborted_errors += 0x10000; in gem_txmac_interrupt()
287 gp->net_stats.collisions += 0x10000; in gem_txmac_interrupt()
405 gp->net_stats.rx_over_errors++; in gem_rxmac_interrupt()
406 gp->net_stats.rx_fifo_errors++; in gem_rxmac_interrupt()
412 gp->net_stats.rx_frame_errors += 0x10000; in gem_rxmac_interrupt()
[all …]
Dskge.c322 skge->net_stats.tx_bytes = data[0]; in skge_get_stats()
323 skge->net_stats.rx_bytes = data[1]; in skge_get_stats()
324 skge->net_stats.tx_packets = data[2] + data[4] + data[6]; in skge_get_stats()
325 skge->net_stats.rx_packets = data[3] + data[5] + data[7]; in skge_get_stats()
326 skge->net_stats.multicast = data[3] + data[5]; in skge_get_stats()
327 skge->net_stats.collisions = data[10]; in skge_get_stats()
328 skge->net_stats.tx_aborted_errors = data[12]; in skge_get_stats()
330 return &skge->net_stats; in skge_get_stats()
1366 ++skge->net_stats.tx_fifo_errors; in genesis_mac_intr()
1370 ++skge->net_stats.rx_fifo_errors; in genesis_mac_intr()
[all …]
Dsky2.c1833 ++sky2->net_stats.rx_over_errors; in sky2_receive()
1837 ++sky2->net_stats.rx_errors; in sky2_receive()
1844 sky2->net_stats.rx_length_errors++; in sky2_receive()
1846 sky2->net_stats.rx_frame_errors++; in sky2_receive()
1848 sky2->net_stats.rx_crc_errors++; in sky2_receive()
1850 sky2->net_stats.rx_fifo_errors++; in sky2_receive()
2063 ++sky2->net_stats.rx_fifo_errors; in sky2_mac_intr()
2068 ++sky2->net_stats.tx_fifo_errors; in sky2_mac_intr()
2567 sky2->net_stats.tx_bytes = data[0]; in sky2_get_stats()
2568 sky2->net_stats.rx_bytes = data[1]; in sky2_get_stats()
[all …]
Dsunhme.c965 struct net_device_stats *stats = &hp->net_stats; in happy_meal_get_counters()
1968 hp->net_stats.tx_bytes += skb->len; in happy_meal_tx()
1982 hp->net_stats.tx_packets++; in happy_meal_tx()
2027 hp->net_stats.rx_errors++; in happy_meal_rx()
2029 hp->net_stats.rx_length_errors++; in happy_meal_rx()
2031 hp->net_stats.rx_over_errors++; in happy_meal_rx()
2032 hp->net_stats.rx_fifo_errors++; in happy_meal_rx()
2037 hp->net_stats.rx_dropped++; in happy_meal_rx()
2095 hp->net_stats.rx_packets++; in happy_meal_rx()
2096 hp->net_stats.rx_bytes += len; in happy_meal_rx()
[all …]
Dsunqe.h345 struct net_device_stats net_stats; /* Statistical counters */ member
Dsunhme.h422 struct net_device_stats net_stats; /* Statistical counters */ member
Dsungem.h980 struct net_device_stats net_stats; member
Dsky2.h1870 struct net_device_stats net_stats; member
Dskge.h2424 struct net_device_stats net_stats; member
Dtg3.h2081 struct net_device_stats net_stats; member
Dtg3.c2769 tp->net_stats.rx_dropped++; in tg3_rx()
6545 struct net_device_stats *stats = &tp->net_stats; in tg3_get_stats()
/linux-2.4.37.9/drivers/net/e100/
De100_main.c1207 bdp->drv_stats.net_stats.tx_bytes += skb->len; in e100_xmit_frame()
1238 bdp->drv_stats.net_stats.tx_errors = in e100_get_stats()
1239 bdp->drv_stats.net_stats.tx_carrier_errors + in e100_get_stats()
1240 bdp->drv_stats.net_stats.tx_aborted_errors; in e100_get_stats()
1242 bdp->drv_stats.net_stats.rx_errors = in e100_get_stats()
1243 bdp->drv_stats.net_stats.rx_crc_errors + in e100_get_stats()
1244 bdp->drv_stats.net_stats.rx_frame_errors + in e100_get_stats()
1245 bdp->drv_stats.net_stats.rx_length_errors + in e100_get_stats()
1248 return &(bdp->drv_stats.net_stats); in e100_get_stats()
2179 bdp->drv_stats.net_stats.rx_bytes += skb->len; in e100_rx_srv()
[all …]
De100.h141 struct net_device_stats net_stats; member
/linux-2.4.37.9/drivers/net/e1000/
De1000_ethtool.c68 { "rx_errors", E1000_STAT(net_stats.rx_errors) },
69 { "tx_errors", E1000_STAT(net_stats.tx_errors) },
70 { "tx_dropped", E1000_STAT(net_stats.tx_dropped) },
73 { "rx_length_errors", E1000_STAT(net_stats.rx_length_errors) },
74 { "rx_over_errors", E1000_STAT(net_stats.rx_over_errors) },
76 { "rx_frame_errors", E1000_STAT(net_stats.rx_frame_errors) },
81 { "tx_fifo_errors", E1000_STAT(net_stats.tx_fifo_errors) },
82 { "tx_heartbeat_errors", E1000_STAT(net_stats.tx_heartbeat_errors) },
De1000_main.c3333 return &adapter->net_stats;
3548 adapter->net_stats.rx_packets = adapter->stats.gprc;
3549 adapter->net_stats.tx_packets = adapter->stats.gptc;
3550 adapter->net_stats.rx_bytes = adapter->stats.gorcl;
3551 adapter->net_stats.tx_bytes = adapter->stats.gotcl;
3552 adapter->net_stats.multicast = adapter->stats.mprc;
3553 adapter->net_stats.collisions = adapter->stats.colc;
3559 adapter->net_stats.rx_errors = adapter->stats.rxerrc +
3563 adapter->net_stats.rx_length_errors = adapter->stats.ruc +
3565 adapter->net_stats.rx_crc_errors = adapter->stats.crcerrs;
[all …]
De1000.h333 struct net_device_stats net_stats; member