Lines Matching refs:soft_stats
1685 adapter->soft_stats.rx_packets += smb->rx_ok; in atl1_inc_smb()
1686 adapter->soft_stats.tx_packets += smb->tx_ok; in atl1_inc_smb()
1687 adapter->soft_stats.rx_bytes += smb->rx_byte_cnt; in atl1_inc_smb()
1688 adapter->soft_stats.tx_bytes += smb->tx_byte_cnt; in atl1_inc_smb()
1689 adapter->soft_stats.multicast += smb->rx_mcast; in atl1_inc_smb()
1690 adapter->soft_stats.collisions += (smb->tx_1_col + smb->tx_2_col * 2 + in atl1_inc_smb()
1694 adapter->soft_stats.rx_errors += (smb->rx_frag + smb->rx_fcs_err + in atl1_inc_smb()
1697 adapter->soft_stats.rx_fifo_errors += smb->rx_rxf_ov; in atl1_inc_smb()
1698 adapter->soft_stats.rx_length_errors += smb->rx_len_err; in atl1_inc_smb()
1699 adapter->soft_stats.rx_crc_errors += smb->rx_fcs_err; in atl1_inc_smb()
1700 adapter->soft_stats.rx_frame_errors += smb->rx_align_err; in atl1_inc_smb()
1701 adapter->soft_stats.rx_missed_errors += (smb->rx_rrd_ov + in atl1_inc_smb()
1704 adapter->soft_stats.rx_pause += smb->rx_pause; in atl1_inc_smb()
1705 adapter->soft_stats.rx_rrd_ov += smb->rx_rrd_ov; in atl1_inc_smb()
1706 adapter->soft_stats.rx_trunc += smb->rx_sz_ov; in atl1_inc_smb()
1709 adapter->soft_stats.tx_errors += (smb->tx_late_col + in atl1_inc_smb()
1711 adapter->soft_stats.tx_fifo_errors += smb->tx_underrun; in atl1_inc_smb()
1712 adapter->soft_stats.tx_aborted_errors += smb->tx_abort_col; in atl1_inc_smb()
1713 adapter->soft_stats.tx_window_errors += smb->tx_late_col; in atl1_inc_smb()
1715 adapter->soft_stats.excecol += smb->tx_abort_col; in atl1_inc_smb()
1716 adapter->soft_stats.deffer += smb->tx_defer; in atl1_inc_smb()
1717 adapter->soft_stats.scc += smb->tx_1_col; in atl1_inc_smb()
1718 adapter->soft_stats.mcc += smb->tx_2_col; in atl1_inc_smb()
1719 adapter->soft_stats.latecol += smb->tx_late_col; in atl1_inc_smb()
1720 adapter->soft_stats.tx_underun += smb->tx_underrun; in atl1_inc_smb()
1721 adapter->soft_stats.tx_trunc += smb->tx_trunc; in atl1_inc_smb()
1722 adapter->soft_stats.tx_pause += smb->tx_pause; in atl1_inc_smb()
1724 netdev->stats.rx_packets = adapter->soft_stats.rx_packets; in atl1_inc_smb()
1725 netdev->stats.tx_packets = adapter->soft_stats.tx_packets; in atl1_inc_smb()
1726 netdev->stats.rx_bytes = adapter->soft_stats.rx_bytes; in atl1_inc_smb()
1727 netdev->stats.tx_bytes = adapter->soft_stats.tx_bytes; in atl1_inc_smb()
1728 netdev->stats.multicast = adapter->soft_stats.multicast; in atl1_inc_smb()
1729 netdev->stats.collisions = adapter->soft_stats.collisions; in atl1_inc_smb()
1730 netdev->stats.rx_errors = adapter->soft_stats.rx_errors; in atl1_inc_smb()
1732 adapter->soft_stats.rx_missed_errors; in atl1_inc_smb()
1734 adapter->soft_stats.rx_length_errors; in atl1_inc_smb()
1735 netdev->stats.rx_crc_errors = adapter->soft_stats.rx_crc_errors; in atl1_inc_smb()
1737 adapter->soft_stats.rx_frame_errors; in atl1_inc_smb()
1738 netdev->stats.rx_fifo_errors = adapter->soft_stats.rx_fifo_errors; in atl1_inc_smb()
1740 adapter->soft_stats.rx_missed_errors; in atl1_inc_smb()
1741 netdev->stats.tx_errors = adapter->soft_stats.tx_errors; in atl1_inc_smb()
1742 netdev->stats.tx_fifo_errors = adapter->soft_stats.tx_fifo_errors; in atl1_inc_smb()
1744 adapter->soft_stats.tx_aborted_errors; in atl1_inc_smb()
1746 adapter->soft_stats.tx_window_errors; in atl1_inc_smb()
1748 adapter->soft_stats.tx_carrier_errors; in atl1_inc_smb()
2499 adapter->soft_stats.tx_carrier_errors++; in atl1_intr()
3142 {"rx_packets", ATL1_STAT(soft_stats.rx_packets)},
3143 {"tx_packets", ATL1_STAT(soft_stats.tx_packets)},
3144 {"rx_bytes", ATL1_STAT(soft_stats.rx_bytes)},
3145 {"tx_bytes", ATL1_STAT(soft_stats.tx_bytes)},
3146 {"rx_errors", ATL1_STAT(soft_stats.rx_errors)},
3147 {"tx_errors", ATL1_STAT(soft_stats.tx_errors)},
3148 {"multicast", ATL1_STAT(soft_stats.multicast)},
3149 {"collisions", ATL1_STAT(soft_stats.collisions)},
3150 {"rx_length_errors", ATL1_STAT(soft_stats.rx_length_errors)},
3151 {"rx_over_errors", ATL1_STAT(soft_stats.rx_missed_errors)},
3152 {"rx_crc_errors", ATL1_STAT(soft_stats.rx_crc_errors)},
3153 {"rx_frame_errors", ATL1_STAT(soft_stats.rx_frame_errors)},
3154 {"rx_fifo_errors", ATL1_STAT(soft_stats.rx_fifo_errors)},
3155 {"rx_missed_errors", ATL1_STAT(soft_stats.rx_missed_errors)},
3156 {"tx_aborted_errors", ATL1_STAT(soft_stats.tx_aborted_errors)},
3157 {"tx_carrier_errors", ATL1_STAT(soft_stats.tx_carrier_errors)},
3158 {"tx_fifo_errors", ATL1_STAT(soft_stats.tx_fifo_errors)},
3159 {"tx_window_errors", ATL1_STAT(soft_stats.tx_window_errors)},
3160 {"tx_abort_exce_coll", ATL1_STAT(soft_stats.excecol)},
3161 {"tx_abort_late_coll", ATL1_STAT(soft_stats.latecol)},
3162 {"tx_deferred_ok", ATL1_STAT(soft_stats.deffer)},
3163 {"tx_single_coll_ok", ATL1_STAT(soft_stats.scc)},
3164 {"tx_multi_coll_ok", ATL1_STAT(soft_stats.mcc)},
3165 {"tx_underun", ATL1_STAT(soft_stats.tx_underun)},
3166 {"tx_trunc", ATL1_STAT(soft_stats.tx_trunc)},
3167 {"tx_pause", ATL1_STAT(soft_stats.tx_pause)},
3168 {"rx_pause", ATL1_STAT(soft_stats.rx_pause)},
3169 {"rx_rrd_ov", ATL1_STAT(soft_stats.rx_rrd_ov)},
3170 {"rx_trunc", ATL1_STAT(soft_stats.rx_trunc)}