Searched refs:core_stats (Results 1 – 7 of 7) sorted by relevance
590 struct rtnl_link_stats64 *core_stats) in siena_update_nic_stats() argument607 if (core_stats) { in siena_update_nic_stats()608 core_stats->rx_packets = stats[SIENA_STAT_rx_packets]; in siena_update_nic_stats()609 core_stats->tx_packets = stats[SIENA_STAT_tx_packets]; in siena_update_nic_stats()610 core_stats->rx_bytes = stats[SIENA_STAT_rx_bytes]; in siena_update_nic_stats()611 core_stats->tx_bytes = stats[SIENA_STAT_tx_bytes]; in siena_update_nic_stats()612 core_stats->rx_dropped = stats[SIENA_STAT_rx_nodesc_drop_cnt] + in siena_update_nic_stats()615 core_stats->multicast = stats[SIENA_STAT_rx_multicast]; in siena_update_nic_stats()616 core_stats->collisions = stats[SIENA_STAT_tx_collision]; in siena_update_nic_stats()617 core_stats->rx_length_errors = in siena_update_nic_stats()[all …]
545 struct rtnl_link_stats64 *core_stats) in ef100_update_stats_common() argument563 if (!core_stats) in ef100_update_stats_common()566 core_stats->rx_packets = stats[EF100_STAT_port_rx_packets]; in ef100_update_stats_common()567 core_stats->tx_packets = stats[EF100_STAT_port_tx_packets]; in ef100_update_stats_common()568 core_stats->rx_bytes = stats[EF100_STAT_port_rx_bytes]; in ef100_update_stats_common()569 core_stats->tx_bytes = stats[EF100_STAT_port_tx_bytes]; in ef100_update_stats_common()570 core_stats->rx_dropped = stats[EF100_STAT_port_rx_nodesc_drops] + in ef100_update_stats_common()573 core_stats->multicast = stats[EF100_STAT_port_rx_multicast]; in ef100_update_stats_common()574 core_stats->rx_length_errors = in ef100_update_stats_common()577 core_stats->rx_crc_errors = stats[EF100_STAT_port_rx_bad]; in ef100_update_stats_common()[all …]
248 struct rtnl_link_stats64 *core_stats) in efx_nic_update_stats_atomic() argument251 return efx->type->update_stats_atomic(efx, full_stats, core_stats); in efx_nic_update_stats_atomic()252 return efx->type->update_stats(efx, full_stats, core_stats); in efx_nic_update_stats_atomic()
1762 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_common() argument1780 if (!core_stats) in efx_ef10_update_stats_common()1786 core_stats->rx_packets = stats[EF10_STAT_rx_unicast] + in efx_ef10_update_stats_common()1789 core_stats->tx_packets = stats[EF10_STAT_tx_unicast] + in efx_ef10_update_stats_common()1792 core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] + in efx_ef10_update_stats_common()1795 core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] + in efx_ef10_update_stats_common()1798 core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] + in efx_ef10_update_stats_common()1800 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats_common()1801 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats_common()1802 core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow]; in efx_ef10_update_stats_common()[all …]
1363 struct rtnl_link_stats64 *core_stats);1365 struct rtnl_link_stats64 *core_stats);
2574 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument2606 if (core_stats) { in falcon_update_nic_stats()2607 core_stats->rx_packets = stats[FALCON_STAT_rx_packets]; in falcon_update_nic_stats()2608 core_stats->tx_packets = stats[FALCON_STAT_tx_packets]; in falcon_update_nic_stats()2609 core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes]; in falcon_update_nic_stats()2610 core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes]; in falcon_update_nic_stats()2611 core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] + in falcon_update_nic_stats()2614 core_stats->multicast = stats[FALCON_STAT_rx_multicast]; in falcon_update_nic_stats()2615 core_stats->rx_length_errors = in falcon_update_nic_stats()2618 core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad]; in falcon_update_nic_stats()[all …]
1062 struct rtnl_link_stats64 *core_stats);