| /Linux-v5.4/tools/testing/selftests/net/ |
| D | psock_tpacket.c | 97 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-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_txrx_common.h | 48 unsigned int total_packets, in i40e_update_tx_stats() argument 53 tx_ring->stats.packets += total_packets; in i40e_update_tx_stats() 56 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_update_tx_stats()
|
| D | i40e_txrx.c | 781 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local 810 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq() 870 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq() 878 total_packets, total_bytes); in i40e_clean_tx_irq() 881 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq() 1043 packets = rc->total_packets; in i40e_update_itr() 1195 rc->total_packets = 0; in i40e_update_itr() 2291 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
|
| D | i40e_txrx.h | 461 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.4/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_main.c | 570 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local 573 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq() 621 total_packets++; in fm10k_clean_rx_irq() 628 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq() 631 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq() 634 return total_packets; in fm10k_clean_rx_irq() 1195 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local 1225 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq() 1282 tx_ring->stats.packets += total_packets; in fm10k_clean_tx_irq() 1285 q_vector->tx.total_packets += total_packets; in fm10k_clean_tx_irq() [all …]
|
| D | fm10k.h | 148 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_xsk.c | 546 q_vector->rx.total_packets += total_rx_packets; in ixgbe_clean_rx_irq_zc() 644 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local 658 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq() 684 tx_ring->stats.packets += total_packets; in ixgbe_clean_xdp_tx_irq() 687 q_vector->tx.total_packets += total_packets; in ixgbe_clean_xdp_tx_irq()
|
| /Linux-v5.4/net/mac80211/ |
| D | rc80211_minstrel_debugfs.c | 110 mi->total_packets - mi->sample_packets, in minstrel_stats_open() 163 mi->total_packets - mi->sample_packets, in minstrel_stats_csv_open()
|
| D | rc80211_minstrel.c | 353 mi->total_packets++; in minstrel_get_rate() 365 delta = (mi->total_packets * sampling_ratio / 100) - in minstrel_get_rate() 374 if (mi->total_packets >= 10000) { in minstrel_get_rate() 377 mi->total_packets = 0; in minstrel_get_rate()
|
| D | rc80211_minstrel_ht.h | 83 unsigned int total_packets; member
|
| D | rc80211_minstrel.h | 80 unsigned int total_packets; member
|
| D | rc80211_minstrel_ht_debugfs.c | 158 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()
|
| D | rc80211_minstrel_ht.c | 682 mi->total_packets_cur = mi->total_packets - in minstrel_ht_update_stats() 684 mi->total_packets_last = mi->total_packets; in minstrel_ht_update_stats() 1320 mi->total_packets++; in minstrel_ht_get_rate() 1323 if (mi->total_packets == ~0) { in minstrel_ht_get_rate() 1324 mi->total_packets = 0; in minstrel_ht_get_rate()
|
| /Linux-v5.4/drivers/net/ethernet/intel/iavf/ |
| D | iavf_txrx.c | 196 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local 224 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq() 283 tx_ring->stats.packets += total_packets; in iavf_clean_tx_irq() 286 tx_ring->q_vector->tx.total_packets += total_packets; in iavf_clean_tx_irq() 305 total_packets, total_bytes); in iavf_clean_tx_irq() 308 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in iavf_clean_tx_irq() 453 packets = rc->total_packets; in iavf_update_itr() 605 rc->total_packets = 0; in iavf_update_itr() 1590 rx_ring->q_vector->rx.total_packets += total_rx_packets; in iavf_clean_rx_irq()
|
| D | iavf_txrx.h | 418 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.4/drivers/net/ethernet/intel/igc/ |
| D | igc_main.c | 1559 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local 1564 while (likely(total_packets < budget)) { in igc_clean_rx_irq() 1629 total_packets++; in igc_clean_rx_irq() 1636 rx_ring->rx_stats.packets += total_packets; in igc_clean_rx_irq() 1639 q_vector->rx.total_packets += total_packets; in igc_clean_rx_irq() 1645 return total_packets; in igc_clean_rx_irq() 1704 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_tx_irq() local 1737 total_packets += tx_buffer->gso_segs; in igc_clean_tx_irq() 1790 total_packets, total_bytes); in igc_clean_tx_irq() 1796 tx_ring->tx_stats.packets += total_packets; in igc_clean_tx_irq() [all …]
|
| D | igc.h | 237 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.4/drivers/net/ethernet/intel/igbvf/ |
| D | netdev.c | 253 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local 347 total_packets++; in igbvf_clean_rx_irq() 378 adapter->total_rx_packets += total_packets; in igbvf_clean_rx_irq() 381 netdev->stats.rx_packets += total_packets; in igbvf_clean_rx_irq() 776 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local 812 total_packets += segs; in igbvf_clean_tx_irq() 845 netdev->stats.tx_packets += total_packets; in igbvf_clean_tx_irq()
|
| /Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
| D | hns3_ethtool.c | 185 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data() 206 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring() 212 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring() 213 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
|
| /Linux-v5.4/drivers/net/ethernet/intel/igb/ |
| D | igb_main.c | 5478 packets = q_vector->rx.total_packets; in igb_update_ring_itr() 5482 packets = q_vector->tx.total_packets; in igb_update_ring_itr() 5516 q_vector->rx.total_packets = 0; in igb_update_ring_itr() 5518 q_vector->tx.total_packets = 0; in igb_update_ring_itr() 5540 unsigned int packets = ring_container->total_packets; in igb_update_itr() 5583 ring_container->total_packets = 0; in igb_update_itr() 7751 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local 7781 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq() 7834 total_packets, total_bytes); in igb_clean_tx_irq() 7839 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq() [all …]
|
| /Linux-v5.4/drivers/net/hyperv/ |
| D | netvsc.c | 696 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete() 981 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/ |
| D | ixgbevf_main.c | 272 unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; in ixgbevf_clean_tx_irq() local 302 total_packets += tx_buffer->gso_segs; in ixgbevf_clean_tx_irq() 363 tx_ring->stats.packets += total_packets; in ixgbevf_clean_tx_irq() 366 q_vector->tx.total_packets += total_packets; in ixgbevf_clean_tx_irq() 407 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbevf_clean_tx_irq() 1248 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq() 1412 int packets = ring_container->total_packets; in ixgbevf_update_itr() 1451 ring_container->total_packets = 0; in ixgbevf_update_itr()
|
| D | ixgbevf.h | 219 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.4/drivers/media/dvb-frontends/ |
| D | mxl5xx_defs.h | 376 u32 total_packets; /* Total packets */ member
|
| /Linux-v5.4/drivers/thunderbolt/ |
| D | tb_msgs.h | 118 u8 total_packets; member
|