| /Linux-v5.10/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.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_txrx_common.h | 44 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()
|
| D | i40e_txrx.c | 782 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() 2283 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
|
| D | i40e_txrx.h | 429 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.10/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_main.c | 564 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local 567 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq() 615 total_packets++; in fm10k_clean_rx_irq() 622 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq() 625 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq() 628 return total_packets; in fm10k_clean_rx_irq() 1182 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local 1212 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq() 1269 tx_ring->stats.packets += total_packets; in fm10k_clean_tx_irq() 1272 q_vector->tx.total_packets += total_packets; in fm10k_clean_tx_irq() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_xsk.c | 345 q_vector->rx.total_packets += total_rx_packets; in ixgbe_clean_rx_irq_zc() 442 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local 456 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq() 482 tx_ring->stats.packets += total_packets; in ixgbe_clean_xdp_tx_irq() 485 q_vector->tx.total_packets += total_packets; in ixgbe_clean_xdp_tx_irq()
|
| /Linux-v5.10/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 | 351 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()
|
| D | rc80211_minstrel_ht.h | 83 unsigned int total_packets; member
|
| D | rc80211_minstrel.h | 127 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 | 683 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()
|
| /Linux-v5.10/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() 1585 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.10/drivers/net/ethernet/intel/igc/ |
| D | igc_main.c | 1900 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local 1905 while (likely(total_packets < budget)) { in igc_clean_rx_irq() 1970 total_packets++; in igc_clean_rx_irq() 1977 rx_ring->rx_stats.packets += total_packets; in igc_clean_rx_irq() 1980 q_vector->rx.total_packets += total_packets; in igc_clean_rx_irq() 1986 return total_packets; in igc_clean_rx_irq() 1999 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_tx_irq() local 2032 total_packets += tx_buffer->gso_segs; in igc_clean_tx_irq() 2085 total_packets, total_bytes); in igc_clean_tx_irq() 2091 tx_ring->tx_stats.packets += total_packets; in igc_clean_tx_irq() [all …]
|
| D | igc.h | 66 unsigned int total_packets; /* total packets processed this int */ member
|
| /Linux-v5.10/drivers/net/ethernet/intel/ice/ |
| D | ice_xsk.c | 735 int total_packets = 0, total_bytes = 0; in ice_clean_tx_irq_zc() local 752 total_packets++; in ice_clean_tx_irq_zc() 785 ice_update_tx_ring_stats(xdp_ring, total_packets, total_bytes); in ice_clean_tx_irq_zc()
|
| /Linux-v5.10/drivers/net/ethernet/intel/igbvf/ |
| D | netdev.c | 255 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-v5.10/drivers/net/ethernet/intel/igb/ |
| D | igb_main.c | 5659 packets = q_vector->rx.total_packets; in igb_update_ring_itr() 5663 packets = q_vector->tx.total_packets; in igb_update_ring_itr() 5697 q_vector->rx.total_packets = 0; in igb_update_ring_itr() 5699 q_vector->tx.total_packets = 0; in igb_update_ring_itr() 5721 unsigned int packets = ring_container->total_packets; in igb_update_itr() 5764 ring_container->total_packets = 0; in igb_update_itr() 8040 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local 8070 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq() 8126 total_packets, total_bytes); in igb_clean_tx_irq() 8131 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/ |
| D | hns3_ethtool.c | 195 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data() 216 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring() 222 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring() 223 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
|
| /Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/ |
| D | ixgbevf_main.c | 270 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() 1261 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq() 1425 int packets = ring_container->total_packets; in ixgbevf_update_itr() 1464 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.10/drivers/media/dvb-frontends/ |
| D | mxl5xx_defs.h | 376 u32 total_packets; /* Total packets */ member
|
| /Linux-v5.10/drivers/net/hyperv/ |
| D | netvsc.c | 717 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete() 1041 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
|
| /Linux-v5.10/drivers/thunderbolt/ |
| D | tb_msgs.h | 123 u8 total_packets; member
|