Searched refs:core_stats (Results 1 – 4 of 4) sorted by relevance
549 struct rtnl_link_stats64 *core_stats) in siena_update_nic_stats() argument566 if (core_stats) { in siena_update_nic_stats()567 core_stats->rx_packets = stats[SIENA_STAT_rx_packets]; in siena_update_nic_stats()568 core_stats->tx_packets = stats[SIENA_STAT_tx_packets]; in siena_update_nic_stats()569 core_stats->rx_bytes = stats[SIENA_STAT_rx_bytes]; in siena_update_nic_stats()570 core_stats->tx_bytes = stats[SIENA_STAT_tx_bytes]; in siena_update_nic_stats()571 core_stats->rx_dropped = stats[SIENA_STAT_rx_nodesc_drop_cnt] + in siena_update_nic_stats()574 core_stats->multicast = stats[SIENA_STAT_rx_multicast]; in siena_update_nic_stats()575 core_stats->collisions = stats[SIENA_STAT_tx_collision]; in siena_update_nic_stats()576 core_stats->rx_length_errors = in siena_update_nic_stats()[all …]
1327 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_common() argument1345 if (!core_stats) in efx_ef10_update_stats_common()1351 core_stats->rx_packets = stats[EF10_STAT_rx_unicast] + in efx_ef10_update_stats_common()1354 core_stats->tx_packets = stats[EF10_STAT_tx_unicast] + in efx_ef10_update_stats_common()1357 core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] + in efx_ef10_update_stats_common()1360 core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] + in efx_ef10_update_stats_common()1363 core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] + in efx_ef10_update_stats_common()1365 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats_common()1366 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats_common()1367 core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow]; in efx_ef10_update_stats_common()[all …]
2569 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument2601 if (core_stats) { in falcon_update_nic_stats()2602 core_stats->rx_packets = stats[FALCON_STAT_rx_packets]; in falcon_update_nic_stats()2603 core_stats->tx_packets = stats[FALCON_STAT_tx_packets]; in falcon_update_nic_stats()2604 core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes]; in falcon_update_nic_stats()2605 core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes]; in falcon_update_nic_stats()2606 core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] + in falcon_update_nic_stats()2609 core_stats->multicast = stats[FALCON_STAT_rx_multicast]; in falcon_update_nic_stats()2610 core_stats->rx_length_errors = in falcon_update_nic_stats()2613 core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad]; in falcon_update_nic_stats()[all …]
1243 struct rtnl_link_stats64 *core_stats);