Lines Matching refs:core_stats

1767 					   struct rtnl_link_stats64 *core_stats)  in efx_ef10_update_stats_common()  argument
1785 if (!core_stats) in efx_ef10_update_stats_common()
1791 core_stats->rx_packets = stats[EF10_STAT_rx_unicast] + in efx_ef10_update_stats_common()
1794 core_stats->tx_packets = stats[EF10_STAT_tx_unicast] + in efx_ef10_update_stats_common()
1797 core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] + in efx_ef10_update_stats_common()
1800 core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] + in efx_ef10_update_stats_common()
1803 core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] + in efx_ef10_update_stats_common()
1805 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats_common()
1806 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats_common()
1807 core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow]; in efx_ef10_update_stats_common()
1808 core_stats->rx_errors = core_stats->rx_crc_errors; in efx_ef10_update_stats_common()
1809 core_stats->tx_errors = stats[EF10_STAT_tx_bad]; in efx_ef10_update_stats_common()
1812 core_stats->rx_packets = stats[EF10_STAT_port_rx_packets]; in efx_ef10_update_stats_common()
1813 core_stats->tx_packets = stats[EF10_STAT_port_tx_packets]; in efx_ef10_update_stats_common()
1814 core_stats->rx_bytes = stats[EF10_STAT_port_rx_bytes]; in efx_ef10_update_stats_common()
1815 core_stats->tx_bytes = stats[EF10_STAT_port_tx_bytes]; in efx_ef10_update_stats_common()
1816 core_stats->rx_dropped = stats[EF10_STAT_port_rx_nodesc_drops] + in efx_ef10_update_stats_common()
1819 core_stats->multicast = stats[EF10_STAT_port_rx_multicast]; in efx_ef10_update_stats_common()
1820 core_stats->rx_length_errors = in efx_ef10_update_stats_common()
1823 core_stats->rx_crc_errors = stats[EF10_STAT_port_rx_bad]; in efx_ef10_update_stats_common()
1824 core_stats->rx_frame_errors = in efx_ef10_update_stats_common()
1826 core_stats->rx_fifo_errors = stats[EF10_STAT_port_rx_overflow]; in efx_ef10_update_stats_common()
1827 core_stats->rx_errors = (core_stats->rx_length_errors + in efx_ef10_update_stats_common()
1828 core_stats->rx_crc_errors + in efx_ef10_update_stats_common()
1829 core_stats->rx_frame_errors); in efx_ef10_update_stats_common()
1836 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_pf() argument
1872 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_pf()
1943 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_vf() argument
1948 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_vf()
1952 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_atomic_vf() argument
1960 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_atomic_vf()