Home
last modified time | relevance | path

Searched refs:total_packets (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.6/tools/testing/selftests/net/
Dpsock_tpacket.c97 static unsigned int total_packets, total_bytes; variable
118 if (total_packets % 10 == 0) { in status_bar_update()
238 while (total_packets < NUM_PACKETS * 2) { in walk_v1_v2_rx()
258 total_packets++; in walk_v1_v2_rx()
270 if (total_packets != 2 * NUM_PACKETS) { in walk_v1_v2_rx()
272 ring->version, total_packets, NUM_PACKETS); in walk_v1_v2_rx()
415 total_packets = NUM_PACKETS; in walk_tx()
418 while (total_packets > 0) { in walk_tx()
422 total_packets > 0) { in walk_tx()
461 total_packets--; in walk_tx()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h45 unsigned int total_packets, in i40e_update_tx_stats() argument
50 tx_ring->stats.packets += total_packets; in i40e_update_tx_stats()
53 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_update_tx_stats()
Di40e_txrx.c938 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
967 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
1027 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq()
1035 total_packets, total_bytes); in i40e_clean_tx_irq()
1038 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
1053 *tx_cleaned = total_packets; in i40e_clean_tx_irq()
1201 packets = rc->total_packets; in i40e_update_itr()
1353 rc->total_packets = 0; in i40e_update_itr()
2392 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
Di40e_txrx.h437 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.6/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c567 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
570 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq()
618 total_packets++; in fm10k_clean_rx_irq()
625 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq()
628 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq()
631 return total_packets; in fm10k_clean_rx_irq()
1185 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1215 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq()
1272 tx_ring->stats.packets += total_packets; in fm10k_clean_tx_irq()
1275 q_vector->tx.total_packets += total_packets; in fm10k_clean_tx_irq()
[all …]
Dfm10k.h148 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c366 q_vector->rx.total_packets += total_rx_packets; in ixgbe_clean_rx_irq_zc()
465 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
479 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
505 tx_ring->stats.packets += total_packets; in ixgbe_clean_xdp_tx_irq()
508 q_vector->tx.total_packets += total_packets; in ixgbe_clean_xdp_tx_irq()
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c217 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
245 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq()
304 tx_ring->stats.packets += total_packets; in iavf_clean_tx_irq()
307 tx_ring->q_vector->tx.total_packets += total_packets; in iavf_clean_tx_irq()
326 total_packets, total_bytes); in iavf_clean_tx_irq()
329 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in iavf_clean_tx_irq()
486 packets = rc->total_packets; in iavf_update_itr()
639 rc->total_packets = 0; in iavf_update_itr()
1612 rx_ring->q_vector->rx.total_packets += total_rx_packets; in iavf_clean_rx_irq()
Diavf_txrx.h422 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_main.c2572 q_vector->rx.total_packets += packets; in igc_update_rx_stats()
2578 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local
2585 while (likely(total_packets < budget)) { in igc_clean_rx_irq()
2649 total_packets++; in igc_clean_rx_irq()
2691 total_packets++; in igc_clean_rx_irq()
2700 igc_update_rx_stats(q_vector, total_packets, total_bytes); in igc_clean_rx_irq()
2705 return total_packets; in igc_clean_rx_irq()
2771 int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq_zc() local
2781 while (likely(total_packets < budget)) { in igc_clean_rx_irq_zc()
2838 total_packets++; in igc_clean_rx_irq_zc()
[all …]
Digc.h87 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.6/net/mac80211/
Drc80211_minstrel_ht.h177 unsigned int total_packets; member
Drc80211_minstrel_ht_debugfs.c173 max(0, (int) mi->total_packets - (int) mi->sample_packets), in minstrel_ht_stats_open()
283 max(0, (int) mi->total_packets - in minstrel_ht_stats_csv_dump()
/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c754 q_vector->rx.total_packets += total_rx_packets; in wx_clean_rx_irq()
775 unsigned int total_bytes = 0, total_packets = 0; in wx_clean_tx_irq() local
806 total_packets += tx_buffer->gso_segs; in wx_clean_tx_irq()
862 tx_ring->stats.packets += total_packets; in wx_clean_tx_irq()
865 q_vector->tx.total_packets += total_packets; in wx_clean_tx_irq()
868 total_packets, total_bytes); in wx_clean_tx_irq()
871 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in wx_clean_tx_irq()
/Linux-v6.6/drivers/net/ethernet/intel/igbvf/
Dnetdev.c255 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local
349 total_packets++; in igbvf_clean_rx_irq()
380 adapter->total_rx_packets += total_packets; in igbvf_clean_rx_irq()
383 netdev->stats.rx_packets += total_packets; in igbvf_clean_rx_irq()
780 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local
816 total_packets += segs; in igbvf_clean_tx_irq()
849 netdev->stats.tx_packets += total_packets; in igbvf_clean_tx_irq()
/Linux-v6.6/drivers/media/dvb-frontends/
Dmxl692_defs.h497 u32 total_packets; member
Dmxl5xx_defs.h372 u32 total_packets; /* Total packets */ member
/Linux-v6.6/drivers/net/ethernet/intel/igb/
Digb_main.c5773 packets = q_vector->rx.total_packets; in igb_update_ring_itr()
5777 packets = q_vector->tx.total_packets; in igb_update_ring_itr()
5811 q_vector->rx.total_packets = 0; in igb_update_ring_itr()
5813 q_vector->tx.total_packets = 0; in igb_update_ring_itr()
5835 unsigned int packets = ring_container->total_packets; in igb_update_itr()
5878 ring_container->total_packets = 0; in igb_update_itr()
8261 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local
8291 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq()
8347 total_packets, total_bytes); in igb_clean_tx_irq()
8352 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq()
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c270 unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; in ixgbevf_clean_tx_irq() local
300 total_packets += tx_buffer->gso_segs; in ixgbevf_clean_tx_irq()
361 tx_ring->stats.packets += total_packets; in ixgbevf_clean_tx_irq()
364 q_vector->tx.total_packets += total_packets; in ixgbevf_clean_tx_irq()
405 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbevf_clean_tx_irq()
1256 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq()
1420 int packets = ring_container->total_packets; in ixgbevf_update_itr()
1459 ring_container->total_packets = 0; in ixgbevf_update_itr()
Dixgbevf.h219 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.6/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1610 unsigned int total_bytes = 0, total_packets = 0; in atl1c_clean_tx() local
1620 total_packets++; in atl1c_clean_tx()
1628 netdev_tx_completed_queue(txq, total_packets, total_bytes); in atl1c_clean_tx()
1633 if (total_packets < budget) { in atl1c_clean_tx()
1634 napi_complete_done(napi, total_packets); in atl1c_clean_tx()
1639 return total_packets; in atl1c_clean_tx()
/Linux-v6.6/drivers/net/hyperv/
Dnetvsc.c780 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete()
1256 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
/Linux-v6.6/drivers/thunderbolt/
Dtb_msgs.h134 u8 total_packets; member
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c197 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()
218 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring()
224 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring()
225 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
Dhns3_enet.h545 u64 total_packets; /* total packets processed this group */ member

12