Searched refs:ring_stats (Results 1 – 11 of 11) sorted by relevance
328 ++tx_ring->ring_stats->tx_stats.restart_q; in ice_clean_tx_irq()370 tx_ring->ring_stats->tx_stats.prev_pkt = -1; in ice_setup_tx_ring()684 rx_ring->ring_stats->rx_stats.alloc_page_failed++; in ice_alloc_mapped_page()697 rx_ring->ring_stats->rx_stats.alloc_page_failed++; in ice_alloc_mapped_page()1219 rx_ring->ring_stats->rx_stats.alloc_page_failed++; in ice_clean_rx_irq()1284 if (rx_ring->ring_stats) in ice_clean_rx_irq()1303 struct ice_ring_stats *ring_stats; in __ice_update_sample() local1305 ring_stats = tx_ring->ring_stats; in __ice_update_sample()1306 if (!ring_stats) in __ice_update_sample()1308 packets += ring_stats->stats.pkts; in __ice_update_sample()[all …]
386 struct ice_ring_stats *ring_stats; in ice_vsi_alloc_ring_stats() local390 ring_stats = tx_ring_stats[i]; in ice_vsi_alloc_ring_stats()392 if (!ring_stats) { in ice_vsi_alloc_ring_stats()393 ring_stats = kzalloc(sizeof(*ring_stats), GFP_KERNEL); in ice_vsi_alloc_ring_stats()394 if (!ring_stats) in ice_vsi_alloc_ring_stats()397 WRITE_ONCE(tx_ring_stats[i], ring_stats); in ice_vsi_alloc_ring_stats()400 ring->ring_stats = ring_stats; in ice_vsi_alloc_ring_stats()405 struct ice_ring_stats *ring_stats; in ice_vsi_alloc_ring_stats() local409 ring_stats = rx_ring_stats[i]; in ice_vsi_alloc_ring_stats()411 if (!ring_stats) { in ice_vsi_alloc_ring_stats()[all …]
353 struct ice_ring_stats *ring_stats; member395 struct ice_ring_stats *ring_stats; member
84 rx_ring->ring_stats->rx_stats.non_eop_descs++; in ice_is_non_eop()
139 struct ice_ring_stats *ring_stats; in ice_check_for_hang_subtask() local146 ring_stats = tx_ring->ring_stats; in ice_check_for_hang_subtask()147 if (!ring_stats) in ice_check_for_hang_subtask()158 packets = ring_stats->stats.pkts & INT_MAX; in ice_check_for_hang_subtask()159 if (ring_stats->tx_stats.prev_pkt == packets) { in ice_check_for_hang_subtask()169 ring_stats->tx_stats.prev_pkt = in ice_check_for_hang_subtask()2640 struct ice_ring_stats *ring_stats; in ice_xdp_alloc_setup_rings() local2647 ring_stats = kzalloc(sizeof(*ring_stats), GFP_KERNEL); in ice_xdp_alloc_setup_rings()2648 if (!ring_stats) { in ice_xdp_alloc_setup_rings()2653 xdp_ring->ring_stats = ring_stats; in ice_xdp_alloc_setup_rings()[all …]
43 memset(&vsi->xdp_rings[q_idx]->ring_stats->stats, 0, in ice_qp_reset_stats()44 sizeof(vsi->xdp_rings[q_idx]->ring_stats->stats)); in ice_qp_reset_stats()744 xdp_ring->ring_stats->tx_stats.tx_busy++; in ice_xmit_xdp_tx_zc()934 rx_ring->ring_stats->rx_stats.alloc_buf_failed++; in ice_clean_rx_irq_zc()
446 xdp_ring->ring_stats->tx_stats.tx_busy++; in __ice_xmit_xdp_ring()
1973 if (tx_ring && tx_ring->ring_stats) { in __ice_get_ethtool_stats()1974 data[i++] = tx_ring->ring_stats->stats.pkts; in __ice_get_ethtool_stats()1975 data[i++] = tx_ring->ring_stats->stats.bytes; in __ice_get_ethtool_stats()1984 if (rx_ring && rx_ring->ring_stats) { in __ice_get_ethtool_stats()1985 data[i++] = rx_ring->ring_stats->stats.pkts; in __ice_get_ethtool_stats()1986 data[i++] = rx_ring->ring_stats->stats.bytes; in __ice_get_ethtool_stats()
412 struct ring_stats { struct477 struct ring_stats stats;
16 offsetof(struct ring_stats, _member), \
238 struct ring_stats { struct275 struct ring_stats stats;