• Home
  • Raw
  • Download

Lines Matching refs:rxq_stats

55 	struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats;  in hinic_rxq_clean_stats()  local
57 u64_stats_update_begin(&rxq_stats->syncp); in hinic_rxq_clean_stats()
58 rxq_stats->pkts = 0; in hinic_rxq_clean_stats()
59 rxq_stats->bytes = 0; in hinic_rxq_clean_stats()
60 rxq_stats->errors = 0; in hinic_rxq_clean_stats()
61 rxq_stats->csum_errors = 0; in hinic_rxq_clean_stats()
62 rxq_stats->other_errors = 0; in hinic_rxq_clean_stats()
63 u64_stats_update_end(&rxq_stats->syncp); in hinic_rxq_clean_stats()
73 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in hinic_rxq_get_stats() local
77 start = u64_stats_fetch_begin_irq(&rxq_stats->syncp); in hinic_rxq_get_stats()
78 stats->pkts = rxq_stats->pkts; in hinic_rxq_get_stats()
79 stats->bytes = rxq_stats->bytes; in hinic_rxq_get_stats()
80 stats->errors = rxq_stats->csum_errors + in hinic_rxq_get_stats()
81 rxq_stats->other_errors; in hinic_rxq_get_stats()
82 stats->csum_errors = rxq_stats->csum_errors; in hinic_rxq_get_stats()
83 stats->other_errors = rxq_stats->other_errors; in hinic_rxq_get_stats()
84 } while (u64_stats_fetch_retry_irq(&rxq_stats->syncp, start)); in hinic_rxq_get_stats()
93 struct hinic_rxq_stats *rxq_stats = &rxq->rxq_stats; in rxq_stats_init() local
95 u64_stats_init(&rxq_stats->syncp); in rxq_stats_init()
115 rxq->rxq_stats.csum_errors++; in rx_csum()
449 u64_stats_update_begin(&rxq->rxq_stats.syncp); in rxq_recv()
450 rxq->rxq_stats.pkts += pkts; in rxq_recv()
451 rxq->rxq_stats.bytes += rx_bytes; in rxq_recv()
452 u64_stats_update_end(&rxq->rxq_stats.syncp); in rxq_recv()