Home
last modified time | relevance | path

Searched refs:ring_stats (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_txrx.c328 ++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() local
1305 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 …]
Dice_lib.c386 struct ice_ring_stats *ring_stats; in ice_vsi_alloc_ring_stats() local
390 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() local
409 ring_stats = rx_ring_stats[i]; in ice_vsi_alloc_ring_stats()
411 if (!ring_stats) { in ice_vsi_alloc_ring_stats()
[all …]
Dice_txrx.h353 struct ice_ring_stats *ring_stats; member
395 struct ice_ring_stats *ring_stats; member
Dice_txrx_lib.h84 rx_ring->ring_stats->rx_stats.non_eop_descs++; in ice_is_non_eop()
Dice_main.c139 struct ice_ring_stats *ring_stats; in ice_check_for_hang_subtask() local
146 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() local
2647 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 …]
Dice_xsk.c43 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()
Dice_txrx_lib.c446 xdp_ring->ring_stats->tx_stats.tx_busy++; in __ice_xmit_xdp_ring()
Dice_ethtool.c1973 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()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h412 struct ring_stats { struct
477 struct ring_stats stats;
Dhns3_ethtool.c16 offsetof(struct ring_stats, _member), \
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhnae.h238 struct ring_stats { struct
275 struct ring_stats stats;