Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c97 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/drivers/net/ethernet/intel/i40e/
H 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()
H A Di40e_txrx.c935 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
961 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
1021 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq()
1029 total_packets, total_bytes); in i40e_clean_tx_irq()
1032 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
1047 *tx_cleaned = total_packets; in i40e_clean_tx_irq()
1195 packets = rc->total_packets; in i40e_update_itr()
1347 rc->total_packets = 0; in i40e_update_itr()
2335 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
H A Di40e_txrx.h440 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/intel/igb/
H A Digb_xsk.c345 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_rx_irq_zc() local
357 while (likely(total_packets < budget)) { in igb_clean_rx_irq_zc()
405 total_packets++; in igb_clean_rx_irq_zc()
439 total_packets++; in igb_clean_rx_irq_zc()
447 igb_update_rx_stats(q_vector, total_packets, total_bytes); in igb_clean_rx_irq_zc()
460 return (int)total_packets; in igb_clean_rx_irq_zc()
462 return failure ? budget : (int)total_packets; in igb_clean_rx_irq_zc()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c239 unsigned int total_bytes = 0, total_packets = 0; in iavf_clean_tx_irq() local
267 total_packets += tx_buf->gso_segs; in iavf_clean_tx_irq()
326 tx_ring->stats.packets += total_packets; in iavf_clean_tx_irq()
329 tx_ring->q_vector->tx.total_packets += total_packets; in iavf_clean_tx_irq()
348 total_packets, total_bytes); in iavf_clean_tx_irq()
351 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in iavf_clean_tx_irq()
508 packets = rc->total_packets; in iavf_update_itr()
661 rc->total_packets = 0; in iavf_update_itr()
1483 rx_ring->q_vector->rx.total_packets += total_rx_packets; in iavf_clean_rx_irq()
H A Diavf_txrx.h302 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c462 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
476 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
499 ixgbe_update_tx_ring_stats(tx_ring, q_vector, total_packets, in ixgbe_clean_xdp_tx_irq()
H A Dixgbe.h485 unsigned int total_packets; /* total packets processed this int */ member
/linux/net/mac80211/
H A Drc80211_minstrel_ht.h177 unsigned int total_packets; member
H 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/media/dvb-frontends/
H A Dmxl692_defs.h497 u32 total_packets; member
H A Dmxl5xx_defs.h372 u32 total_packets; /* Total packets */ member
H A Dmxl692.c1189 atsc_errors->total_packets); in mxl692_read_ber_ucb()
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c274 unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; in ixgbevf_clean_tx_irq() local
304 total_packets += tx_buffer->gso_segs; in ixgbevf_clean_tx_irq()
365 tx_ring->stats.packets += total_packets; in ixgbevf_clean_tx_irq()
368 q_vector->tx.total_packets += total_packets; in ixgbevf_clean_tx_irq()
409 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbevf_clean_tx_irq()
1257 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq()
1421 int packets = ring_container->total_packets; in ixgbevf_update_itr()
1460 ring_container->total_packets = 0; in ixgbevf_update_itr()
H A Dixgbevf.h219 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/atheros/atl1c/
H 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/thunderbolt/
H A Dtb_msgs.h129 u8 total_packets; member
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h148 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/hyperv/
H A Dnetvsc.c791 tx_stats->packets += packet->total_packets; in netvsc_send_tx_complete()
1309 packet->total_packets += msdp->pkt->total_packets; in netvsc_send()
H A Dhyperv_net.h164 u16 total_packets; member
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h547 u64 total_packets; /* total packets processed this group */ member
/linux/drivers/net/ethernet/intel/igc/
H A Digc.h141 unsigned int total_packets; /* total packets processed this int */ member
/linux/drivers/net/ethernet/marvell/
H A Dsky2.c2708 unsigned int total_packets[2] = { 0 }; in sky2_status_intr() local
2738 total_packets[port]++; in sky2_status_intr()
2798 sky2_rx_done(hw, 0, total_packets[0], total_bytes[0]); in sky2_status_intr()
2799 sky2_rx_done(hw, 1, total_packets[1], total_bytes[1]); in sky2_status_intr()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_type.h1057 unsigned int total_packets; /* total packets processed this int */ member

12