Lines Matching refs:core_stats
2569 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument
2601 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()
2614 core_stats->rx_frame_errors = stats[FALCON_STAT_rx_align_error]; in falcon_update_nic_stats()
2615 core_stats->rx_fifo_errors = stats[FALCON_STAT_rx_overflow]; in falcon_update_nic_stats()
2617 core_stats->rx_errors = (core_stats->rx_length_errors + in falcon_update_nic_stats()
2618 core_stats->rx_crc_errors + in falcon_update_nic_stats()
2619 core_stats->rx_frame_errors + in falcon_update_nic_stats()