Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/net/
A Dpsock_tpacket.c118 if (total_packets % 10 == 0) { in status_bar_update()
258 total_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()
471 bug_on(total_packets != 0); in walk_tx()
486 total_packets++; in walk_tx()
565 total_packets++; in __v3_walk_block()
615 total_packets, NUM_PACKETS); in walk_v3_rx()
[all …]
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_txrx_common.h47 unsigned int total_packets, in i40e_update_tx_stats() argument
52 tx_ring->stats.packets += total_packets; in i40e_update_tx_stats()
55 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_update_tx_stats()
A Di40e_txrx.c934 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
963 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
1023 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq()
1031 total_packets, total_bytes); in i40e_clean_tx_irq()
1034 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
1049 *tx_cleaned = total_packets; in i40e_clean_tx_irq()
1197 packets = rc->total_packets; in i40e_update_itr()
1349 rc->total_packets = 0; in i40e_update_itr()
2338 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
A Di40e_txrx.h439 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/intel/fm10k/
A Dfm10k_main.c569 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq()
617 total_packets++; in fm10k_clean_rx_irq()
624 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq()
627 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq()
630 return total_packets; in fm10k_clean_rx_irq()
1214 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq()
1271 tx_ring->stats.packets += total_packets; in fm10k_clean_tx_irq()
1274 q_vector->tx.total_packets += total_packets; in fm10k_clean_tx_irq()
1307 total_packets, total_bytes); in fm10k_clean_tx_irq()
1346 packets = ring_container->total_packets; in fm10k_update_itr()
[all …]
A Dfm10k.h148 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_txrx.c219 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
247 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq()
306 tx_ring->stats.packets += total_packets; in iavf_clean_tx_irq()
309 tx_ring->q_vector->tx.total_packets += total_packets; in iavf_clean_tx_irq()
328 total_packets, total_bytes); in iavf_clean_tx_irq()
331 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in iavf_clean_tx_irq()
488 packets = rc->total_packets; in iavf_update_itr()
641 rc->total_packets = 0; in iavf_update_itr()
1250 rx_ring->q_vector->rx.total_packets += total_rx_packets; in iavf_clean_rx_irq()
A Diavf_txrx.h312 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c460 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
474 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
497 ixgbe_update_tx_ring_stats(tx_ring, q_vector, total_packets, in ixgbe_clean_xdp_tx_irq()
/linux/net/mac80211/
A Drc80211_minstrel_ht.h177 unsigned int total_packets; member
A Drc80211_minstrel_ht_debugfs.c173 max(0, (int) mi->total_packets - (int) mi->sample_packets), in minstrel_ht_stats_open()
282 max(0, (int) mi->total_packets - in minstrel_ht_stats_csv_dump()
/linux/drivers/net/ethernet/intel/igc/
A Digc_main.c2650 total_packets++; in igc_clean_rx_irq()
2692 total_packets++; in igc_clean_rx_irq()
2706 return total_packets; in igc_clean_rx_irq()
2837 total_packets++; in igc_clean_rx_irq_zc()
2860 return total_packets; in igc_clean_rx_irq_zc()
3139 total_packets, total_bytes); in igc_clean_tx_irq()
3198 if (unlikely(total_packets && in igc_clean_tx_irq()
4375 ring_container->total_packets = 0; in igc_update_itr()
4564 packets = q_vector->rx.total_packets; in igc_update_ring_itr()
4602 q_vector->rx.total_packets = 0; in igc_update_ring_itr()
[all …]
/linux/drivers/net/ethernet/meta/fbnic/
A Dfbnic_txrx.c319 u64 total_bytes = 0, total_packets = 0; in fbnic_clean_twq0() local
356 total_packets += 1; in fbnic_clean_twq0()
370 ring->stats.dropped += total_packets; in fbnic_clean_twq0()
373 netdev_tx_completed_queue(txq, total_packets, total_bytes); in fbnic_clean_twq0()
379 ring->stats.packets += total_packets; in fbnic_clean_twq0()
382 netif_txq_completed_wake(txq, total_packets, total_bytes, in fbnic_clean_twq0()
/linux/drivers/net/ethernet/wangxun/libwx/
A Dwx_lib.c686 q_vector->rx.total_packets += total_rx_packets; in wx_clean_rx_irq()
707 unsigned int total_bytes = 0, total_packets = 0; in wx_clean_tx_irq() local
738 total_packets += tx_buffer->gso_segs; in wx_clean_tx_irq()
794 tx_ring->stats.packets += total_packets; in wx_clean_tx_irq()
797 q_vector->tx.total_packets += total_packets; in wx_clean_tx_irq()
800 total_packets, total_bytes); in wx_clean_tx_irq()
803 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in wx_clean_tx_irq()
/linux/drivers/net/ethernet/intel/igbvf/
A Dnetdev.c255 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local
348 total_packets++; in igbvf_clean_rx_irq()
379 adapter->total_rx_packets += total_packets; in igbvf_clean_rx_irq()
382 netdev->stats.rx_packets += total_packets; in igbvf_clean_rx_irq()
779 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local
815 total_packets += segs; in igbvf_clean_tx_irq()
848 netdev->stats.tx_packets += total_packets; in igbvf_clean_tx_irq()
/linux/drivers/media/dvb-frontends/
A Dmxl692_defs.h497 u32 total_packets; member
A Dmxl5xx_defs.h372 u32 total_packets; /* Total packets */ member
/linux/drivers/net/ethernet/intel/igb/
A Digb_main.c5753 packets = q_vector->rx.total_packets; in igb_update_ring_itr()
5791 q_vector->rx.total_packets = 0; in igb_update_ring_itr()
5793 q_vector->tx.total_packets = 0; in igb_update_ring_itr()
5858 ring_container->total_packets = 0; in igb_update_itr()
8324 total_packets, total_bytes); in igb_clean_tx_irq()
8332 q_vector->tx.total_packets += total_packets; in igb_clean_tx_irq()
8377 if (unlikely(total_packets && in igb_clean_tx_irq()
8951 total_packets++; in igb_clean_rx_irq()
8994 total_packets++; in igb_clean_rx_irq()
9016 q_vector->rx.total_packets += total_packets; in igb_clean_rx_irq()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
A Dixgbevf_main.c269 unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; in ixgbevf_clean_tx_irq() local
299 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()
404 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbevf_clean_tx_irq()
1255 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq()
1419 int packets = ring_container->total_packets; in ixgbevf_update_itr()
1458 ring_container->total_packets = 0; in ixgbevf_update_itr()
A Dixgbevf.h219 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/atheros/atl1c/
A Datl1c_main.c1599 unsigned int total_bytes = 0, total_packets = 0; in atl1c_clean_tx() local
1609 total_packets++; in atl1c_clean_tx()
1617 netdev_tx_completed_queue(txq, total_packets, total_bytes); in atl1c_clean_tx()
1622 if (total_packets < budget) { in atl1c_clean_tx()
1623 napi_complete_done(napi, total_packets); in atl1c_clean_tx()
1628 return total_packets; in atl1c_clean_tx()
/linux/drivers/net/hyperv/
A Dnetvsc.c786 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete()
1264 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
/linux/drivers/thunderbolt/
A Dtb_msgs.h128 u8 total_packets; member
/linux/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c200 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data()
221 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring()
227 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring()
228 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
A Dhns3_enet.h547 u64 total_packets; /* total packets processed this group */ member

Completed in 122 milliseconds

12