Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx_common.h44 unsigned int total_packets, in i40e_update_tx_stats() argument
49 tx_ring->stats.packets += total_packets; in i40e_update_tx_stats()
52 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_update_tx_stats()
Di40e_txrx.c782 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
811 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
871 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq()
879 total_packets, total_bytes); in i40e_clean_tx_irq()
882 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
1044 packets = rc->total_packets; in i40e_update_itr()
1196 rc->total_packets = 0; in i40e_update_itr()
2280 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
Di40e_txrx.h429 unsigned int total_packets; /* total packets processed this int */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c572 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
575 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq()
623 total_packets++; in fm10k_clean_rx_irq()
630 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq()
633 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq()
636 return total_packets; in fm10k_clean_rx_irq()
1190 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1220 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq()
1277 tx_ring->stats.packets += total_packets; in fm10k_clean_tx_irq()
1280 q_vector->tx.total_packets += total_packets; in fm10k_clean_tx_irq()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c353 q_vector->rx.total_packets += total_rx_packets; in ixgbe_clean_rx_irq_zc()
452 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
466 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
492 tx_ring->stats.packets += total_packets; in ixgbe_clean_xdp_tx_irq()
495 q_vector->tx.total_packets += total_packets; in ixgbe_clean_xdp_tx_irq()
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel_debugfs.c110 mi->total_packets - mi->sample_packets, in minstrel_stats_open()
163 mi->total_packets - mi->sample_packets, in minstrel_stats_csv_open()
Drc80211_minstrel.c351 mi->total_packets++; in minstrel_get_rate()
363 delta = (mi->total_packets * sampling_ratio / 100) - in minstrel_get_rate()
372 if (mi->total_packets >= 10000) { in minstrel_get_rate()
374 mi->total_packets = 0; in minstrel_get_rate()
Drc80211_minstrel_ht.h83 unsigned int total_packets; member
Drc80211_minstrel.h127 unsigned int total_packets; member
Drc80211_minstrel_ht_debugfs.c158 max(0, (int) mi->total_packets - (int) mi->sample_packets), in minstrel_ht_stats_open()
260 max(0, (int) mi->total_packets - in minstrel_ht_stats_csv_dump()
Drc80211_minstrel_ht.c683 mi->total_packets_cur = mi->total_packets - in minstrel_ht_update_stats()
685 mi->total_packets_last = mi->total_packets; in minstrel_ht_update_stats()
1325 mi->total_packets++; in minstrel_ht_get_rate()
1328 if (mi->total_packets == ~0) { in minstrel_ht_get_rate()
1329 mi->total_packets = 0; in minstrel_ht_get_rate()
/kernel/linux/linux-5.10/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()
456 packets = rc->total_packets; in iavf_update_itr()
608 rc->total_packets = 0; in iavf_update_itr()
1587 rx_ring->q_vector->rx.total_packets += total_rx_packets; in iavf_clean_rx_irq()
Diavf_txrx.h418 unsigned int total_packets; /* total packets processed this int */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_main.c2012 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local
2017 while (likely(total_packets < budget)) { in igc_clean_rx_irq()
2082 total_packets++; in igc_clean_rx_irq()
2089 rx_ring->rx_stats.packets += total_packets; in igc_clean_rx_irq()
2092 q_vector->rx.total_packets += total_packets; in igc_clean_rx_irq()
2098 return total_packets; in igc_clean_rx_irq()
2111 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_tx_irq() local
2144 total_packets += tx_buffer->gso_segs; in igc_clean_tx_irq()
2197 total_packets, total_bytes); in igc_clean_tx_irq()
2203 tx_ring->tx_stats.packets += total_packets; in igc_clean_tx_irq()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_xsk.c762 int total_packets = 0, total_bytes = 0; in ice_clean_tx_irq_zc() local
779 total_packets++; in ice_clean_tx_irq_zc()
812 ice_update_tx_ring_stats(xdp_ring, total_packets, total_bytes); in ice_clean_tx_irq_zc()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_main.c5685 packets = q_vector->rx.total_packets; in igb_update_ring_itr()
5689 packets = q_vector->tx.total_packets; in igb_update_ring_itr()
5723 q_vector->rx.total_packets = 0; in igb_update_ring_itr()
5725 q_vector->tx.total_packets = 0; in igb_update_ring_itr()
5747 unsigned int packets = ring_container->total_packets; in igb_update_itr()
5790 ring_container->total_packets = 0; in igb_update_itr()
8069 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local
8099 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq()
8155 total_packets, total_bytes); in igb_clean_tx_irq()
8160 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq()
[all …]
/kernel/linux/linux-5.10/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.h441 u64 total_packets; /* total packets processed this group */ member
/kernel/linux/linux-5.10/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()
1264 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq()
1428 int packets = ring_container->total_packets; in ixgbevf_update_itr()
1467 ring_container->total_packets = 0; in ixgbevf_update_itr()
Dixgbevf.h219 unsigned int total_packets; /* total packets processed this int */ member
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dmxl5xx_defs.h376 u32 total_packets; /* Total packets */ member
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc.c717 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete()
1041 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dtb_msgs.h123 u8 total_packets; member

12