Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.1/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.c936 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
965 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
1025 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq()
1033 total_packets, total_bytes); in i40e_clean_tx_irq()
1036 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
1198 packets = rc->total_packets; in i40e_update_itr()
1350 rc->total_packets = 0; in i40e_update_itr()
2382 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
Di40e_txrx.h433 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.1/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.1/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.1/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c199 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
227 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq()
286 tx_ring->stats.packets += total_packets; in iavf_clean_tx_irq()
289 tx_ring->q_vector->tx.total_packets += total_packets; in iavf_clean_tx_irq()
308 total_packets, total_bytes); in iavf_clean_tx_irq()
311 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in iavf_clean_tx_irq()
487 packets = rc->total_packets; in iavf_update_itr()
640 rc->total_packets = 0; in iavf_update_itr()
1613 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.1/drivers/net/ethernet/intel/igc/
Digc_main.c2353 q_vector->rx.total_packets += packets; in igc_update_rx_stats()
2359 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local
2366 while (likely(total_packets < budget)) { in igc_clean_rx_irq()
2428 total_packets++; in igc_clean_rx_irq()
2470 total_packets++; in igc_clean_rx_irq()
2479 igc_update_rx_stats(q_vector, total_packets, total_bytes); in igc_clean_rx_irq()
2484 return total_packets; in igc_clean_rx_irq()
2541 int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq_zc() local
2551 while (likely(total_packets < budget)) { in igc_clean_rx_irq_zc()
2603 total_packets++; in igc_clean_rx_irq_zc()
[all …]
Digc.h73 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v6.1/net/mac80211/
Drc80211_minstrel_ht.h178 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()
Drc80211_minstrel_ht.c1310 if (mi->total_packets >= ~0 - info->status.ampdu_len) { in minstrel_ht_tx_status()
1311 mi->total_packets = 0; in minstrel_ht_tx_status()
1315 mi->total_packets += info->status.ampdu_len; in minstrel_ht_tx_status()
/Linux-v6.1/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.1/drivers/media/dvb-frontends/
Dmxl692_defs.h497 u32 total_packets; member
Dmxl5xx_defs.h372 u32 total_packets; /* Total packets */ member
/Linux-v6.1/drivers/net/ethernet/intel/igb/
Digb_main.c5686 packets = q_vector->rx.total_packets; in igb_update_ring_itr()
5690 packets = q_vector->tx.total_packets; in igb_update_ring_itr()
5724 q_vector->rx.total_packets = 0; in igb_update_ring_itr()
5726 q_vector->tx.total_packets = 0; in igb_update_ring_itr()
5748 unsigned int packets = ring_container->total_packets; in igb_update_itr()
5791 ring_container->total_packets = 0; in igb_update_itr()
8170 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local
8200 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq()
8256 total_packets, total_bytes); in igb_clean_tx_irq()
8261 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq()
[all …]
/Linux-v6.1/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.1/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1620 unsigned int total_bytes = 0, total_packets = 0; in atl1c_clean_tx() local
1630 total_packets++; in atl1c_clean_tx()
1638 netdev_tx_completed_queue(txq, total_packets, total_bytes); in atl1c_clean_tx()
1643 if (total_packets < budget) { in atl1c_clean_tx()
1644 napi_complete_done(napi, total_packets); in atl1c_clean_tx()
1649 return total_packets; in atl1c_clean_tx()
/Linux-v6.1/drivers/net/hyperv/
Dnetvsc.c818 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete()
1281 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
/Linux-v6.1/drivers/thunderbolt/
Dtb_msgs.h124 u8 total_packets; member
/Linux-v6.1/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