/linux-4.4.14/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 109 static unsigned int total_packets, total_bytes; variable 130 if (total_packets % 10 == 0) { status_bar_update() 251 while (total_packets < NUM_PACKETS * 2) { walk_v1_v2_rx() 271 total_packets++; walk_v1_v2_rx() 283 if (total_packets != 2 * NUM_PACKETS) { walk_v1_v2_rx() 285 ring->version, total_packets, NUM_PACKETS); walk_v1_v2_rx() 387 total_packets = NUM_PACKETS; walk_v1_v2_tx() 390 while (total_packets > 0) { walk_v1_v2_tx() 393 total_packets > 0) { walk_v1_v2_tx() 419 total_packets--; walk_v1_v2_tx() 429 bug_on(total_packets != 0); walk_v1_v2_tx() 439 total_packets < NUM_PACKETS) { walk_v1_v2_tx() 444 total_packets++; walk_v1_v2_tx() 449 if (total_packets != NUM_PACKETS) { walk_v1_v2_tx() 451 ring->version, total_packets, NUM_PACKETS); walk_v1_v2_tx() 523 total_packets++; __v3_walk_block() 558 while (total_packets < NUM_PACKETS * 2) { walk_v3_rx() 572 if (total_packets != 2 * NUM_PACKETS) { walk_v3_rx() 574 total_packets, NUM_PACKETS); walk_v3_rx() 662 total_packets = 0; setup_ring()
|
/linux-4.4.14/net/mac80211/ |
H A D | rc80211_minstrel_ht.h | 87 unsigned int total_packets; member in struct:minstrel_ht_sta
|
H A D | rc80211_minstrel_debugfs.c | 129 mi->total_packets - mi->sample_packets, minstrel_stats_open() 193 mi->total_packets - mi->sample_packets, minstrel_stats_csv_open()
|
H A D | rc80211_minstrel_ht_debugfs.c | 145 max(0, (int) mi->total_packets - (int) mi->sample_packets), minstrel_ht_stats_open() 245 max(0, (int) mi->total_packets - minstrel_ht_stats_csv_dump()
|
H A D | rc80211_minstrel.c | 361 mi->total_packets++; minstrel_get_rate() 368 delta = (mi->total_packets * sampling_ratio / 100) - minstrel_get_rate() 377 if (mi->total_packets >= 10000) { minstrel_get_rate() 380 mi->total_packets = 0; minstrel_get_rate()
|
H A D | rc80211_minstrel.h | 106 unsigned int total_packets; member in struct:minstrel_sta_info
|
H A D | rc80211_minstrel_ht.c | 1040 mi->total_packets++; minstrel_ht_get_rate() 1043 if (mi->total_packets == ~0) { minstrel_ht_get_rate() 1044 mi->total_packets = 0; minstrel_ht_get_rate()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 601 unsigned int total_bytes = 0, total_packets = 0; fm10k_clean_rx_irq() local 604 while (likely(total_packets < budget)) { fm10k_clean_rx_irq() 652 total_packets++; fm10k_clean_rx_irq() 659 rx_ring->stats.packets += total_packets; fm10k_clean_rx_irq() 662 q_vector->rx.total_packets += total_packets; fm10k_clean_rx_irq() 665 return total_packets; fm10k_clean_rx_irq() 1210 unsigned int total_bytes = 0, total_packets = 0; fm10k_clean_tx_irq() local 1240 total_packets += tx_buffer->gso_segs; fm10k_clean_tx_irq() 1297 tx_ring->stats.packets += total_packets; fm10k_clean_tx_irq() 1300 q_vector->tx.total_packets += total_packets; fm10k_clean_tx_irq() 1333 total_packets, total_bytes); fm10k_clean_tx_irq() local 1336 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && fm10k_clean_tx_irq() 1372 packets = ring_container->total_packets; fm10k_update_itr() 1396 ring_container->total_packets = 0; fm10k_update_itr()
|
H A D | fm10k.h | 164 unsigned int total_packets; /* total packets processed this int */ member in struct:fm10k_ring_container
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_txrx.c | 158 unsigned int total_packets = 0; i40e_clean_tx_irq() local 186 total_packets += tx_buf->gso_segs; i40e_clean_tx_irq() 243 tx_ring->stats.packets += total_packets; i40e_clean_tx_irq() 246 tx_ring->q_vector->tx.total_packets += total_packets; i40e_clean_tx_irq() 260 total_packets, total_bytes); i40e_clean_tx_irq() 263 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && i40e_clean_tx_irq() 339 if (rc->total_packets == 0 || !rc->itr) i40e_set_new_dynamic_itr() 383 if ((((rc->total_packets * 1000000) / usecs) > RX_ULTRA_PACKET_RATE) && i40e_set_new_dynamic_itr() 407 rc->total_packets = 0; i40e_set_new_dynamic_itr() 1104 rx_ring->q_vector->rx.total_packets += total_rx_packets; i40e_clean_rx_irq_ps() 1214 rx_ring->q_vector->rx.total_packets += total_rx_packets; i40e_clean_rx_irq_1buf()
|
H A D | i40e_txrx.h | 303 unsigned int total_packets; /* total packets processed this int */ member in struct:i40e_ring_container
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 640 unsigned int total_packets = 0; i40e_clean_tx_irq() local 668 total_packets += tx_buf->gso_segs; i40e_clean_tx_irq() 725 tx_ring->stats.packets += total_packets; i40e_clean_tx_irq() 728 tx_ring->q_vector->tx.total_packets += total_packets; i40e_clean_tx_irq() 749 total_packets, total_bytes); i40e_clean_tx_irq() 752 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && i40e_clean_tx_irq() 836 if (rc->total_packets == 0 || !rc->itr) i40e_set_new_dynamic_itr() 880 if ((((rc->total_packets * 1000000) / usecs) > RX_ULTRA_PACKET_RATE) && i40e_set_new_dynamic_itr() 904 rc->total_packets = 0; i40e_set_new_dynamic_itr() 1646 rx_ring->q_vector->rx.total_packets += total_rx_packets; i40e_clean_rx_irq_ps() 1774 rx_ring->q_vector->rx.total_packets += total_rx_packets; i40e_clean_rx_irq_1buf()
|
H A D | i40e_txrx.h | 308 unsigned int total_packets; /* total packets processed this int */ member in struct:i40e_ring_container
|
H A D | i40e_fcoe.c | 797 rx_ring->q_vector->rx.total_packets += pkts; i40e_fcoe_handle_offload()
|
/linux-4.4.14/drivers/net/ethernet/atheros/alx/ |
H A D | main.c | 143 unsigned int total_bytes = 0, total_packets = 0; alx_clean_tx_irq() local 156 total_packets++; alx_clean_tx_irq() 167 netdev_completed_queue(alx->dev, total_packets, total_bytes); alx_clean_tx_irq()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 4448 packets = q_vector->rx.total_packets; igb_update_ring_itr() 4452 packets = q_vector->tx.total_packets; igb_update_ring_itr() 4486 q_vector->rx.total_packets = 0; igb_update_ring_itr() 4488 q_vector->tx.total_packets = 0; igb_update_ring_itr() 4510 unsigned int packets = ring_container->total_packets; igb_update_itr() 4553 ring_container->total_packets = 0; igb_update_itr() 6406 unsigned int total_bytes = 0, total_packets = 0; igb_clean_tx_irq() local 6436 total_packets += tx_buffer->gso_segs; igb_clean_tx_irq() 6490 total_packets, total_bytes); igb_clean_tx_irq() local 6495 tx_ring->tx_stats.packets += total_packets; igb_clean_tx_irq() 6498 q_vector->tx.total_packets += total_packets; igb_clean_tx_irq() 6543 if (unlikely(total_packets && igb_clean_tx_irq() 6916 unsigned int total_bytes = 0, total_packets = 0; igb_clean_rx_irq() local 6919 while (likely(total_packets < budget)) { igb_clean_rx_irq() 6970 total_packets++; igb_clean_rx_irq() 6977 rx_ring->rx_stats.packets += total_packets; igb_clean_rx_irq() 6980 q_vector->rx.total_packets += total_packets; igb_clean_rx_irq() 6986 return total_packets; igb_clean_rx_irq()
|
H A D | igb.h | 227 unsigned int total_packets; /* total packets processed this int */ member in struct:igb_ring_container
|
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 275 unsigned int total_bytes = 0, total_packets = 0; igbvf_clean_rx_irq() local 369 total_packets++; igbvf_clean_rx_irq() 400 adapter->total_rx_packets += total_packets; igbvf_clean_rx_irq() 403 adapter->net_stats.rx_packets += total_packets; igbvf_clean_rx_irq() 798 unsigned int total_bytes = 0, total_packets = 0; igbvf_clean_tx_irq() local 834 total_packets += segs; igbvf_clean_tx_irq() 867 adapter->net_stats.tx_packets += total_packets; igbvf_clean_tx_irq()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 180 unsigned int total_packets; /* total packets processed this int */ member in struct:ixgbevf_ring_container
|
H A D | ixgbevf_main.c | 296 unsigned int total_bytes = 0, total_packets = 0; ixgbevf_clean_tx_irq() local 326 total_packets += tx_buffer->gso_segs; ixgbevf_clean_tx_irq() 383 tx_ring->stats.packets += total_packets; ixgbevf_clean_tx_irq() 386 q_vector->tx.total_packets += total_packets; ixgbevf_clean_tx_irq() 420 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && ixgbevf_clean_tx_irq() 991 q_vector->rx.total_packets += total_rx_packets; ixgbevf_clean_rx_irq() 1188 int packets = ring_container->total_packets; ixgbevf_update_itr() 1224 ring_container->total_packets = 0; ixgbevf_update_itr()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 1098 unsigned int total_bytes = 0, total_packets = 0; ixgbe_clean_tx_irq() local 1128 total_packets += tx_buffer->gso_segs; ixgbe_clean_tx_irq() 1185 tx_ring->stats.packets += total_packets; ixgbe_clean_tx_irq() 1188 q_vector->tx.total_packets += total_packets; ixgbe_clean_tx_irq() 1221 total_packets, total_bytes); ixgbe_clean_tx_irq() local 1224 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && ixgbe_clean_tx_irq() 2137 q_vector->rx.total_packets += total_rx_packets; ixgbe_clean_rx_irq() 2264 int packets = ring_container->total_packets; ixgbe_update_itr() 2303 ring_container->total_packets = 0; ixgbe_update_itr()
|
H A D | ixgbe.h | 365 unsigned int total_packets; /* total packets processed this int */ member in struct:ixgbe_ring_container
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 1555 unsigned int total_bytes = 0, total_packets = 0; atl1c_clean_tx_irq() local 1565 total_packets++; atl1c_clean_tx_irq() 1573 netdev_completed_queue(adapter->netdev, total_packets, total_bytes); atl1c_clean_tx_irq()
|
/linux-4.4.14/drivers/scsi/ |
H A D | ips.h | 586 uint8_t total_packets; member in struct:__anon9537
|
H A D | ips.c | 1686 datasize = pt->CoppCP.cmd.flashfw.total_packets * ips_flash_copperhead() 1715 pt->CoppCP.cmd.flashfw.total_packets - 1) { ips_flash_copperhead() 2352 scb->cmd.flashfw.total_packets = 1; ips_get_bios_version()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 2733 unsigned int total_packets[2] = { 0 }; sky2_status_intr() local 2763 total_packets[port]++; sky2_status_intr() 2823 sky2_rx_done(hw, 0, total_packets[0], total_bytes[0]); sky2_status_intr() 2824 sky2_rx_done(hw, 1, total_packets[1], total_bytes[1]); sky2_status_intr()
|