Lines Matching refs:core_stats
2555 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument
2587 if (core_stats) { in falcon_update_nic_stats()
2588 core_stats->rx_packets = stats[FALCON_STAT_rx_packets]; in falcon_update_nic_stats()
2589 core_stats->tx_packets = stats[FALCON_STAT_tx_packets]; in falcon_update_nic_stats()
2590 core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes]; in falcon_update_nic_stats()
2591 core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes]; in falcon_update_nic_stats()
2592 core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] + in falcon_update_nic_stats()
2595 core_stats->multicast = stats[FALCON_STAT_rx_multicast]; in falcon_update_nic_stats()
2596 core_stats->rx_length_errors = in falcon_update_nic_stats()
2599 core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad]; in falcon_update_nic_stats()
2600 core_stats->rx_frame_errors = stats[FALCON_STAT_rx_align_error]; in falcon_update_nic_stats()
2601 core_stats->rx_fifo_errors = stats[FALCON_STAT_rx_overflow]; in falcon_update_nic_stats()
2603 core_stats->rx_errors = (core_stats->rx_length_errors + in falcon_update_nic_stats()
2604 core_stats->rx_crc_errors + in falcon_update_nic_stats()
2605 core_stats->rx_frame_errors + in falcon_update_nic_stats()