Lines Matching refs:stats
176 lp->stats.tx_errors++; in sonic_tx_timeout()
310 lp->stats.tx_packets++; in sonic_interrupt()
311 lp->stats.tx_bytes += sonic_tda_get(dev, entry, SONIC_TD_PKTSIZE); in sonic_interrupt()
313 lp->stats.tx_errors++; in sonic_interrupt()
315 lp->stats.tx_aborted_errors++; in sonic_interrupt()
317 lp->stats.tx_carrier_errors++; in sonic_interrupt()
319 lp->stats.tx_window_errors++; in sonic_interrupt()
321 lp->stats.tx_fifo_errors++; in sonic_interrupt()
351 lp->stats.rx_fifo_errors++; in sonic_interrupt()
357 lp->stats.rx_dropped++; in sonic_interrupt()
363 lp->stats.rx_dropped++; in sonic_interrupt()
369 lp->stats.rx_frame_errors += 65536; in sonic_interrupt()
373 lp->stats.rx_crc_errors += 65536; in sonic_interrupt()
377 lp->stats.rx_missed_errors += 65536; in sonic_interrupt()
427 lp->stats.rx_dropped++; in sonic_rx()
439 lp->stats.rx_dropped++; in sonic_rx()
450 lp->stats.rx_packets++; in sonic_rx()
451 lp->stats.rx_bytes += pkt_len; in sonic_rx()
463 lp->stats.rx_errors++; in sonic_rx()
465 lp->stats.rx_frame_errors++; in sonic_rx()
467 lp->stats.rx_crc_errors++; in sonic_rx()
513 lp->stats.rx_crc_errors += SONIC_READ(SONIC_CRCT); in sonic_get_stats()
515 lp->stats.rx_frame_errors += SONIC_READ(SONIC_FAET); in sonic_get_stats()
517 lp->stats.rx_missed_errors += SONIC_READ(SONIC_MPT); in sonic_get_stats()
520 return &lp->stats; in sonic_get_stats()