Lines Matching refs:core_stats

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