Lines Matching refs:net_stats
265 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()
415 gp->net_stats.rx_crc_errors += 0x10000; in gem_rxmac_interrupt()
418 gp->net_stats.rx_length_errors += 0x10000; in gem_rxmac_interrupt()
537 gp->net_stats.rx_dropped++; in gem_abnormal_irq()
545 gp->net_stats.rx_errors++; in gem_abnormal_irq()
627 gp->net_stats.tx_bytes += skb->len; in gem_tx()
639 gp->net_stats.tx_packets++; in gem_tx()
718 gp->net_stats.rx_errors++; in gem_rx()
720 gp->net_stats.rx_length_errors++; in gem_rx()
722 gp->net_stats.rx_crc_errors++; in gem_rx()
726 gp->net_stats.rx_dropped++; in gem_rx()
778 gp->net_stats.rx_packets++; in gem_rx()
779 gp->net_stats.rx_bytes += len; in gem_rx()
2516 struct net_device_stats *stats = &gp->net_stats; in gem_get_stats()
2540 return &gp->net_stats; in gem_get_stats()