Lines Matching refs:stats_rx
340 struct aq_ring_stats_rx_s *stats_rx, in aq_vec_add_stats() argument
351 stats_rx->packets += rx->packets; in aq_vec_add_stats()
352 stats_rx->bytes += rx->bytes; in aq_vec_add_stats()
353 stats_rx->errors += rx->errors; in aq_vec_add_stats()
354 stats_rx->jumbo_packets += rx->jumbo_packets; in aq_vec_add_stats()
355 stats_rx->lro_packets += rx->lro_packets; in aq_vec_add_stats()
367 struct aq_ring_stats_rx_s stats_rx; in aq_vec_get_sw_stats() local
370 memset(&stats_rx, 0U, sizeof(struct aq_ring_stats_rx_s)); in aq_vec_get_sw_stats()
372 aq_vec_add_stats(self, &stats_rx, &stats_tx); in aq_vec_get_sw_stats()
376 data[count] += stats_rx.packets; in aq_vec_get_sw_stats()
379 data[++count] += stats_rx.jumbo_packets; in aq_vec_get_sw_stats()
380 data[++count] += stats_rx.lro_packets; in aq_vec_get_sw_stats()
381 data[++count] += stats_rx.errors; in aq_vec_get_sw_stats()