Lines Matching refs:mac_stats
1771 struct efx_mac_stats *mac_stats = &efx->mac_stats;
1777 stats->rx_packets = mac_stats->rx_packets;
1778 stats->tx_packets = mac_stats->tx_packets;
1779 stats->rx_bytes = mac_stats->rx_bytes;
1780 stats->tx_bytes = mac_stats->tx_bytes;
1782 stats->multicast = mac_stats->rx_multicast;
1783 stats->collisions = mac_stats->tx_collision;
1784 stats->rx_length_errors = (mac_stats->rx_gtjumbo +
1785 mac_stats->rx_length_error);
1786 stats->rx_crc_errors = mac_stats->rx_bad;
1787 stats->rx_frame_errors = mac_stats->rx_align_error;
1788 stats->rx_fifo_errors = mac_stats->rx_overflow;
1789 stats->rx_missed_errors = mac_stats->rx_missed;
1790 stats->tx_window_errors = mac_stats->tx_late_collision;
1795 mac_stats->rx_symbol_error);
1797 mac_stats->tx_bad);
1980 memset(&efx->mac_stats, 0, sizeof(efx->mac_stats));