Lines Matching refs:nic_rx_stats
83 static void gather_rx_stats(struct hinic_rxq_stats *nic_rx_stats, struct hinic_rxq *rxq) in gather_rx_stats() argument
89 nic_rx_stats->bytes += rx_stats.bytes; in gather_rx_stats()
90 nic_rx_stats->pkts += rx_stats.pkts; in gather_rx_stats()
91 nic_rx_stats->errors += rx_stats.errors; in gather_rx_stats()
92 nic_rx_stats->csum_errors += rx_stats.csum_errors; in gather_rx_stats()
93 nic_rx_stats->other_errors += rx_stats.other_errors; in gather_rx_stats()
111 struct hinic_rxq_stats *nic_rx_stats, in gather_nic_stats() argument
117 gather_rx_stats(nic_rx_stats, &nic_dev->rxqs[i]); in gather_nic_stats()
842 struct hinic_rxq_stats nic_rx_stats = {}; in hinic_get_stats64() local
846 gather_nic_stats(nic_dev, &nic_rx_stats, &nic_tx_stats); in hinic_get_stats64()
848 stats->rx_bytes = nic_rx_stats.bytes; in hinic_get_stats64()
849 stats->rx_packets = nic_rx_stats.pkts; in hinic_get_stats64()
850 stats->rx_errors = nic_rx_stats.errors; in hinic_get_stats64()