Lines Matching refs:core_stats
2574 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument
2606 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()
2619 core_stats->rx_frame_errors = stats[FALCON_STAT_rx_align_error]; in falcon_update_nic_stats()
2620 core_stats->rx_fifo_errors = stats[FALCON_STAT_rx_overflow]; in falcon_update_nic_stats()
2622 core_stats->rx_errors = (core_stats->rx_length_errors + in falcon_update_nic_stats()
2623 core_stats->rx_crc_errors + in falcon_update_nic_stats()
2624 core_stats->rx_frame_errors + in falcon_update_nic_stats()