Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c111 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/
Dfm10k_main.c568 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 …]
Dfm10k.h148 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v4.19/net/mac80211/
Drc80211_minstrel_debugfs.c129 mi->total_packets - mi->sample_packets, in minstrel_stats_open()
193 mi->total_packets - mi->sample_packets, in minstrel_stats_csv_open()
Drc80211_minstrel_ht.h84 unsigned int total_packets; member
Drc80211_minstrel.c363 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()
Drc80211_minstrel.h99 unsigned int total_packets; member
Drc80211_minstrel_ht_debugfs.c145 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()
Drc80211_minstrel_ht.c1068 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/
Di40e_txrx.c197 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()
Di40e_txrx.h419 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c787 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()
Di40e_txrx.h455 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c176 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()
Dhns3_enet.c1948 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()
Dhns3_enet.h476 u64 total_packets; /* total packets processed this group */ member
/Linux-v4.19/drivers/net/ethernet/intel/igbvf/
Dnetdev.c253 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/
Digb_main.c5502 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 …]
Digb.h242 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v4.19/drivers/net/hyperv/
Dnetvsc.c703 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/
Dixgbevf_main.c271 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()
Dixgbevf.h217 unsigned int total_packets; /* total packets processed this int */ member
/Linux-v4.19/drivers/thunderbolt/
Dtb_msgs.h120 u8 total_packets; member
/Linux-v4.19/drivers/media/dvb-frontends/
Dmxl5xx_defs.h375 u32 total_packets; /* Total packets */ member
/Linux-v4.19/drivers/net/ethernet/atheros/alx/
Dmain.c170 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()

12