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 …]
557 struct rtnl_link_stats64 *core_stats) in ef100_update_stats_common() argument575 if (!core_stats) in ef100_update_stats_common()578 core_stats->rx_packets = stats[EF100_STAT_port_rx_packets]; in ef100_update_stats_common()579 core_stats->tx_packets = stats[EF100_STAT_port_tx_packets]; in ef100_update_stats_common()580 core_stats->rx_bytes = stats[EF100_STAT_port_rx_bytes]; in ef100_update_stats_common()581 core_stats->tx_bytes = stats[EF100_STAT_port_tx_bytes]; in ef100_update_stats_common()582 core_stats->rx_dropped = stats[EF100_STAT_port_rx_nodesc_drops] + in ef100_update_stats_common()585 core_stats->multicast = stats[EF100_STAT_port_rx_multicast]; in ef100_update_stats_common()586 core_stats->rx_length_errors = in ef100_update_stats_common()589 core_stats->rx_crc_errors = stats[EF100_STAT_port_rx_bad]; in ef100_update_stats_common()[all …]
1780 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_common() argument1798 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()[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()
1372 struct rtnl_link_stats64 *core_stats);1374 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);