Lines Matching refs:core_stats
596 struct rtnl_link_stats64 *core_stats)
614 if (!core_stats)
617 core_stats->rx_packets = stats[EF100_STAT_port_rx_packets];
618 core_stats->tx_packets = stats[EF100_STAT_port_tx_packets];
619 core_stats->rx_bytes = stats[EF100_STAT_port_rx_bytes];
620 core_stats->tx_bytes = stats[EF100_STAT_port_tx_bytes];
621 core_stats->rx_dropped = stats[EF100_STAT_port_rx_nodesc_drops] +
624 core_stats->multicast = stats[EF100_STAT_port_rx_multicast];
625 core_stats->rx_length_errors =
628 core_stats->rx_crc_errors = stats[EF100_STAT_port_rx_bad];
629 core_stats->rx_frame_errors =
631 core_stats->rx_fifo_errors = stats[EF100_STAT_port_rx_overflow];
632 core_stats->rx_errors = (core_stats->rx_length_errors +
633 core_stats->rx_crc_errors +
634 core_stats->rx_frame_errors);
641 struct rtnl_link_stats64 *core_stats)
660 return ef100_update_stats_common(efx, full_stats, core_stats);