Lines Matching refs:core_stats
1780 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_common() argument
1798 if (!core_stats) in efx_ef10_update_stats_common()
1804 core_stats->rx_packets = stats[EF10_STAT_rx_unicast] + in efx_ef10_update_stats_common()
1807 core_stats->tx_packets = stats[EF10_STAT_tx_unicast] + in efx_ef10_update_stats_common()
1810 core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] + in efx_ef10_update_stats_common()
1813 core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] + in efx_ef10_update_stats_common()
1816 core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] + in efx_ef10_update_stats_common()
1818 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats_common()
1819 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats_common()
1820 core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow]; in efx_ef10_update_stats_common()
1821 core_stats->rx_errors = core_stats->rx_crc_errors; in efx_ef10_update_stats_common()
1822 core_stats->tx_errors = stats[EF10_STAT_tx_bad]; in efx_ef10_update_stats_common()
1825 core_stats->rx_packets = stats[EF10_STAT_port_rx_packets]; in efx_ef10_update_stats_common()
1826 core_stats->tx_packets = stats[EF10_STAT_port_tx_packets]; in efx_ef10_update_stats_common()
1827 core_stats->rx_bytes = stats[EF10_STAT_port_rx_bytes]; in efx_ef10_update_stats_common()
1828 core_stats->tx_bytes = stats[EF10_STAT_port_tx_bytes]; in efx_ef10_update_stats_common()
1829 core_stats->rx_dropped = stats[EF10_STAT_port_rx_nodesc_drops] + in efx_ef10_update_stats_common()
1832 core_stats->multicast = stats[EF10_STAT_port_rx_multicast]; in efx_ef10_update_stats_common()
1833 core_stats->rx_length_errors = in efx_ef10_update_stats_common()
1836 core_stats->rx_crc_errors = stats[EF10_STAT_port_rx_bad]; in efx_ef10_update_stats_common()
1837 core_stats->rx_frame_errors = in efx_ef10_update_stats_common()
1839 core_stats->rx_fifo_errors = stats[EF10_STAT_port_rx_overflow]; in efx_ef10_update_stats_common()
1840 core_stats->rx_errors = (core_stats->rx_length_errors + in efx_ef10_update_stats_common()
1841 core_stats->rx_crc_errors + in efx_ef10_update_stats_common()
1842 core_stats->rx_frame_errors); in efx_ef10_update_stats_common()
1849 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_pf() argument
1890 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_pf()
1961 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_vf() argument
1966 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_vf()
1970 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_atomic_vf() argument
1978 return efx_ef10_update_stats_common(efx, full_stats, core_stats); in efx_ef10_update_stats_atomic_vf()