Home
last modified time | relevance | path

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

/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c109 static unsigned int total_packets, total_bytes; variable
130 if (total_packets % 10 == 0) { in status_bar_update()
251 while (total_packets < NUM_PACKETS * 2) { in walk_v1_v2_rx()
271 total_packets++; in walk_v1_v2_rx()
283 if (total_packets != 2 * NUM_PACKETS) { in walk_v1_v2_rx()
285 ring->version, total_packets, NUM_PACKETS); in walk_v1_v2_rx()
387 total_packets = NUM_PACKETS; in walk_v1_v2_tx()
390 while (total_packets > 0) { in walk_v1_v2_tx()
393 total_packets > 0) { in walk_v1_v2_tx()
419 total_packets--; in walk_v1_v2_tx()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c610 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local
613 while (likely(total_packets < budget)) { in fm10k_clean_rx_irq()
661 total_packets++; in fm10k_clean_rx_irq()
668 rx_ring->stats.packets += total_packets; in fm10k_clean_rx_irq()
671 q_vector->rx.total_packets += total_packets; in fm10k_clean_rx_irq()
674 return total_packets < budget; in fm10k_clean_rx_irq()
1223 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local
1253 total_packets += tx_buffer->gso_segs; in fm10k_clean_tx_irq()
1310 tx_ring->stats.packets += total_packets; in fm10k_clean_tx_irq()
1313 q_vector->tx.total_packets += total_packets; in fm10k_clean_tx_irq()
[all …]
Dfm10k.h157 unsigned int total_packets; /* total packets processed this int */ member
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c217 unsigned int total_packets = 0; in i40e_clean_tx_irq() local
245 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
302 tx_ring->stats.packets += total_packets; in i40e_clean_tx_irq()
305 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_clean_tx_irq()
344 total_packets, total_bytes); in i40e_clean_tx_irq()
347 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
402 if (rc->total_packets == 0 || !rc->itr) in i40e_set_new_dynamic_itr()
450 rc->total_packets = 0; in i40e_set_new_dynamic_itr()
1168 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_clean_rx_irq_ps()
1282 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_clean_rx_irq_1buf()
Di40e_txrx.h280 unsigned int total_packets; /* total packets processed this int */ member
/linux-4.1.27/net/mac80211/
Drc80211_minstrel_debugfs.c131 mi->total_packets - mi->sample_packets, in minstrel_stats_open()
195 mi->total_packets - mi->sample_packets, in minstrel_stats_csv_open()
Drc80211_minstrel_ht.h87 unsigned int total_packets; member
Drc80211_minstrel.c361 mi->total_packets++; in minstrel_get_rate()
368 delta = (mi->total_packets * sampling_ratio / 100) - in minstrel_get_rate()
377 if (mi->total_packets >= 10000) { in minstrel_get_rate()
380 mi->total_packets = 0; in minstrel_get_rate()
Drc80211_minstrel.h106 unsigned int total_packets; member
Drc80211_minstrel_ht_debugfs.c147 max(0, (int) mi->total_packets - (int) mi->sample_packets), in minstrel_ht_stats_open()
247 max(0, (int) mi->total_packets - in minstrel_ht_stats_csv_dump()
Drc80211_minstrel_ht.c1034 mi->total_packets++; in minstrel_ht_get_rate()
1037 if (mi->total_packets == ~0) { in minstrel_ht_get_rate()
1038 mi->total_packets = 0; in minstrel_ht_get_rate()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c698 unsigned int total_packets = 0; in i40e_clean_tx_irq() local
726 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
783 tx_ring->stats.packets += total_packets; in i40e_clean_tx_irq()
786 tx_ring->q_vector->tx.total_packets += total_packets; in i40e_clean_tx_irq()
832 total_packets, total_bytes); in i40e_clean_tx_irq()
835 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
890 if (rc->total_packets == 0 || !rc->itr) in i40e_set_new_dynamic_itr()
938 rc->total_packets = 0; in i40e_set_new_dynamic_itr()
1700 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_clean_rx_irq_ps()
1832 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_clean_rx_irq_1buf()
Di40e_txrx.h283 unsigned int total_packets; /* total packets processed this int */ member
Di40e_fcoe.c797 rx_ring->q_vector->rx.total_packets += pkts; in i40e_fcoe_handle_offload()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c4452 packets = q_vector->rx.total_packets; in igb_update_ring_itr()
4456 packets = q_vector->tx.total_packets; in igb_update_ring_itr()
4490 q_vector->rx.total_packets = 0; in igb_update_ring_itr()
4492 q_vector->tx.total_packets = 0; in igb_update_ring_itr()
4514 unsigned int packets = ring_container->total_packets; in igb_update_itr()
4557 ring_container->total_packets = 0; in igb_update_itr()
6409 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local
6439 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq()
6493 total_packets, total_bytes); in igb_clean_tx_irq()
6498 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq()
[all …]
Digb.h227 unsigned int total_packets; /* total packets processed this int */ member
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c275 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_rx_irq() local
368 total_packets++; in igbvf_clean_rx_irq()
399 adapter->total_rx_packets += total_packets; in igbvf_clean_rx_irq()
402 adapter->net_stats.rx_packets += total_packets; in igbvf_clean_rx_irq()
797 unsigned int total_bytes = 0, total_packets = 0; in igbvf_clean_tx_irq() local
833 total_packets += segs; in igbvf_clean_tx_irq()
866 adapter->net_stats.tx_packets += total_packets; in igbvf_clean_tx_irq()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c296 unsigned int total_bytes = 0, total_packets = 0; in ixgbevf_clean_tx_irq() local
326 total_packets += tx_buffer->gso_segs; in ixgbevf_clean_tx_irq()
383 tx_ring->stats.packets += total_packets; in ixgbevf_clean_tx_irq()
386 q_vector->tx.total_packets += total_packets; in ixgbevf_clean_tx_irq()
420 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbevf_clean_tx_irq()
992 q_vector->rx.total_packets += total_rx_packets; in ixgbevf_clean_rx_irq()
1187 int packets = ring_container->total_packets; in ixgbevf_update_itr()
1223 ring_container->total_packets = 0; in ixgbevf_update_itr()
Dixgbevf.h178 unsigned int total_packets; /* total packets processed this int */ member
/linux-4.1.27/drivers/net/ethernet/atheros/alx/
Dmain.c143 unsigned int total_bytes = 0, total_packets = 0; in alx_clean_tx_irq() local
156 total_packets++; in alx_clean_tx_irq()
167 netdev_completed_queue(alx->dev, total_packets, total_bytes); in alx_clean_tx_irq()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1084 unsigned int total_bytes = 0, total_packets = 0; in ixgbe_clean_tx_irq() local
1114 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq()
1171 tx_ring->stats.packets += total_packets; in ixgbe_clean_tx_irq()
1174 q_vector->tx.total_packets += total_packets; in ixgbe_clean_tx_irq()
1207 total_packets, total_bytes); in ixgbe_clean_tx_irq()
1210 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in ixgbe_clean_tx_irq()
2097 q_vector->rx.total_packets += total_rx_packets; in ixgbe_clean_rx_irq()
2224 int packets = ring_container->total_packets; in ixgbe_update_itr()
2263 ring_container->total_packets = 0; in ixgbe_update_itr()
Dixgbe.h357 unsigned int total_packets; /* total packets processed this int */ member
/linux-4.1.27/drivers/scsi/
Dips.h586 uint8_t total_packets; member
Dips.c1690 datasize = pt->CoppCP.cmd.flashfw.total_packets * in ips_flash_copperhead()
1719 pt->CoppCP.cmd.flashfw.total_packets - 1) { in ips_flash_copperhead()
2356 scb->cmd.flashfw.total_packets = 1; in ips_get_bios_version()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dsky2.c2733 unsigned int total_packets[2] = { 0 }; in sky2_status_intr() local
2763 total_packets[port]++; in sky2_status_intr()
2823 sky2_rx_done(hw, 0, total_packets[0], total_bytes[0]); in sky2_status_intr()
2824 sky2_rx_done(hw, 1, total_packets[1], total_bytes[1]); in sky2_status_intr()