Lines Matching defs:stats
359 * ice_vsi_alloc_ring_stats - Allocates Tx and Rx ring stats for the VSI
360 * @vsi: VSI which is having stats allocated
374 /* Allocate Tx ring stats */
393 /* Allocate Rx ring stats */
3380 * @stats: stats to be updated
3386 static void ice_update_ring_stats(struct ice_q_stats *stats, u64 pkts, u64 bytes)
3388 stats->bytes += bytes;
3389 stats->pkts += pkts;
3401 ice_update_ring_stats(&tx_ring->ring_stats->stats, pkts, bytes);
3414 ice_update_ring_stats(&rx_ring->ring_stats->stats, pkts, bytes);