/Linux-v4.19/tools/testing/selftests/net/ |
D | psock_tpacket.c | 111 static unsigned int total_packets, total_bytes; variable 132 if (total_packets % 10 == 0) { in status_bar_update() 252 while (total_packets < NUM_PACKETS * 2) { in walk_v1_v2_rx() 272 total_packets++; in walk_v1_v2_rx() 284 if (total_packets != 2 * NUM_PACKETS) { in walk_v1_v2_rx() 286 ring->version, total_packets, NUM_PACKETS); in walk_v1_v2_rx() 429 total_packets = NUM_PACKETS; in walk_tx() 432 while (total_packets > 0) { in walk_tx() 436 total_packets > 0) { in walk_tx() 475 total_packets--; in walk_tx() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 568 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local 571 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq() 619 total_packets++; in fm10k_clean_rx_irq() 626 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq() 629 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq() 632 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-v4.19/net/mac80211/ |
D | rc80211_minstrel_debugfs.c | 129 mi->total_packets - mi->sample_packets, in minstrel_stats_open() 193 mi->total_packets - mi->sample_packets, in minstrel_stats_csv_open()
|
D | rc80211_minstrel_ht.h | 84 unsigned int total_packets; member
|
D | rc80211_minstrel.c | 363 mi->total_packets++; in minstrel_get_rate() 375 delta = (mi->total_packets * sampling_ratio / 100) - in minstrel_get_rate() 384 if (mi->total_packets >= 10000) { in minstrel_get_rate() 387 mi->total_packets = 0; in minstrel_get_rate()
|
D | rc80211_minstrel.h | 99 unsigned int total_packets; member
|
D | rc80211_minstrel_ht_debugfs.c | 145 max(0, (int) mi->total_packets - (int) mi->sample_packets), in minstrel_ht_stats_open() 245 max(0, (int) mi->total_packets - in minstrel_ht_stats_csv_dump()
|
D | rc80211_minstrel_ht.c | 1068 mi->total_packets++; in minstrel_ht_get_rate() 1071 if (mi->total_packets == ~0) { in minstrel_ht_get_rate() 1072 mi->total_packets = 0; in minstrel_ht_get_rate()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 197 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local 225 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq() 284 tx_ring->stats.packets += total_packets; in i40e_clean_tx_irq() 287 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_clean_tx_irq() 306 total_packets, total_bytes); in i40e_clean_tx_irq() 309 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq() 454 packets = rc->total_packets; in i40e_update_itr() 606 rc->total_packets = 0; in i40e_update_itr() 1574 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_clean_rx_irq()
|
D | i40e_txrx.h | 419 unsigned int total_packets; /* total packets processed this int */ member
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 787 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local 816 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq() 878 tx_ring->stats.packets += total_packets; in i40e_clean_tx_irq() 881 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_clean_tx_irq() 903 total_packets, total_bytes); in i40e_clean_tx_irq() 906 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq() 1068 packets = rc->total_packets; in i40e_update_itr() 1220 rc->total_packets = 0; in i40e_update_itr() 2451 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_clean_rx_irq()
|
D | i40e_txrx.h | 455 unsigned int total_packets; /* total packets processed this int */ member
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 176 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data() 197 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring() 203 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring() 204 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
|
D | hns3_enet.c | 1948 ring->tqp_vector->tx_group.total_packets += pkts; in hns3_clean_tx_ring() 2381 if (ring_group->total_packets == 0) { in hns3_get_new_int_gl() 2401 do_div(ring_group->total_packets, time_passed_ms); in hns3_get_new_int_gl() 2402 packets_per_msecs = ring_group->total_packets; in hns3_get_new_int_gl() 2453 ring_group->total_packets = 0; in hns3_get_new_int_gl() 2522 tqp_vector->rx_group.total_packets += rx_pkt_total; in hns3_nic_common_poll() 2665 tqp_vector->rx_group.total_packets = 0; in hns3_nic_init_vector_data() 2667 tqp_vector->tx_group.total_packets = 0; in hns3_nic_init_vector_data()
|
D | hns3_enet.h | 476 u64 total_packets; /* total packets processed this group */ member
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5502 packets = q_vector->rx.total_packets; in igb_update_ring_itr() 5506 packets = q_vector->tx.total_packets; in igb_update_ring_itr() 5540 q_vector->rx.total_packets = 0; in igb_update_ring_itr() 5542 q_vector->tx.total_packets = 0; in igb_update_ring_itr() 5564 unsigned int packets = ring_container->total_packets; in igb_update_itr() 5607 ring_container->total_packets = 0; in igb_update_itr() 7776 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local 7806 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq() 7859 total_packets, total_bytes); in igb_clean_tx_irq() 7864 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq() [all …]
|
D | igb.h | 242 unsigned int total_packets; /* total packets processed this int */ member
|
/Linux-v4.19/drivers/net/hyperv/ |
D | netvsc.c | 703 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete() 984 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 271 unsigned int total_bytes = 0, total_packets = 0; in ixgbevf_clean_tx_irq() local 301 total_packets += tx_buffer->gso_segs; in ixgbevf_clean_tx_irq() 360 tx_ring->stats.packets += total_packets; in ixgbevf_clean_tx_irq() 363 q_vector->tx.total_packets += total_packets; in ixgbevf_clean_tx_irq() 403 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbevf_clean_tx_irq() 1240 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq() 1400 int packets = ring_container->total_packets; in ixgbevf_update_itr() 1436 ring_container->total_packets = 0; in ixgbevf_update_itr()
|
D | ixgbevf.h | 217 unsigned int total_packets; /* total packets processed this int */ member
|
/Linux-v4.19/drivers/thunderbolt/ |
D | tb_msgs.h | 120 u8 total_packets; member
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | mxl5xx_defs.h | 375 u32 total_packets; /* Total packets */ member
|
/Linux-v4.19/drivers/net/ethernet/atheros/alx/ |
D | main.c | 170 unsigned int total_bytes = 0, total_packets = 0; in alx_clean_tx_irq() local 186 total_packets++; in alx_clean_tx_irq() 197 netdev_tx_completed_queue(tx_queue, total_packets, total_bytes); in alx_clean_tx_irq()
|