/linux/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 97 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 D | i40e_txrx_common.h | 47 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 D | i40e_txrx.c | 934 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()
|
H A D | i40e_txrx.h | 439 unsigned int total_packets; /* total packets processed this int */ member
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 566 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_rx_irq() local 569 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() 1184 unsigned int total_bytes = 0, total_packets = 0; in fm10k_clean_tx_irq() local 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() [all …]
|
H A D | fm10k.h | 148 unsigned int total_packets; /* total packets processed this int */ member
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.c | 219 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()
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 2572 q_vector->rx.total_packets += packets; in igc_update_rx_stats() 2578 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local 2586 while (likely(total_packets < budget)) { in igc_clean_rx_irq() 2645 total_packets++; in igc_clean_rx_irq() 2687 total_packets++; in igc_clean_rx_irq() 2696 igc_update_rx_stats(q_vector, total_packets, total_bytes); in igc_clean_rx_irq() 2701 return total_packets; in igc_clean_rx_irq() 2769 int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq_zc() local 2779 while (likely(total_packets < budget)) { in igc_clean_rx_irq_zc() 2835 total_packets++; in igc_clean_rx_irq_zc() [all …]
|
/linux/net/mac80211/ |
H A D | rc80211_minstrel_ht_debugfs.c | 173 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()
|
H A D | rc80211_minstrel_ht.h | 177 unsigned int total_packets; member
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 686 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()
|
H A D | wx_type.h | 907 unsigned int total_packets; /* total packets processed this int */ member
|
/linux/drivers/media/dvb-frontends/ |
H A D | mxl692_defs.h | 497 u32 total_packets; member
|
H A D | mxl5xx_defs.h | 372 u32 total_packets; /* Total packets */ member
|
H A D | mxl692.c | 1189 atsc_errors->total_packets); in mxl692_read_ber_ucb()
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 5793 packets = q_vector->rx.total_packets; in igb_update_ring_itr() 5797 packets = q_vector->tx.total_packets; in igb_update_ring_itr() 5831 q_vector->rx.total_packets = 0; in igb_update_ring_itr() 5833 q_vector->tx.total_packets = 0; in igb_update_ring_itr() 5855 unsigned int packets = ring_container->total_packets; in igb_update_itr() 5898 ring_container->total_packets = 0; in igb_update_itr() 8283 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local 8322 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq() 8383 total_packets, total_bytes); in igb_clean_tx_irq() 8388 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq() [all …]
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 1599 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/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.h | 547 u64 total_packets; /* total packets processed this group */ member
|
H A D | hns3_enet.c | 3642 ring->tqp_vector->tx_group.total_packets += pkts; in hns3_clean_tx_ring() 4448 dim_update_sample(tqp_vector->event_cnt, rx_group->total_packets, in hns3_update_rx_int_coalesce() 4461 dim_update_sample(tqp_vector->event_cnt, tx_group->total_packets, in hns3_update_tx_int_coalesce() 4501 tqp_vector->rx_group.total_packets += rx_pkt_total; in hns3_nic_common_poll() 4709 tqp_vector->rx_group.total_packets = 0; in hns3_nic_init_vector_data() 4711 tqp_vector->tx_group.total_packets = 0; in hns3_nic_init_vector_data()
|
/linux/drivers/scsi/ |
H A D | ips.h | 569 uint8_t total_packets; member
|
H A D | ips.c | 1664 datasize = pt->CoppCP.cmd.flashfw.total_packets * in ips_flash_copperhead() 1692 pt->CoppCP.cmd.flashfw.total_packets - 1) { in ips_flash_copperhead() 2326 scb->cmd.flashfw.total_packets = 1; in ips_get_bios_version()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 1138 q_vector->tx.total_packets += pkts; in ixgbe_update_tx_ring_stats() 1157 q_vector->rx.total_packets += pkts; in ixgbe_update_rx_ring_stats() 1172 unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; in ixgbe_clean_tx_irq() local 1203 total_packets += tx_buffer->gso_segs; in ixgbe_clean_tx_irq() 1262 ixgbe_update_tx_ring_stats(tx_ring, q_vector, total_packets, in ixgbe_clean_tx_irq() 1304 if (!__netif_txq_completed_wake(txq, total_packets, total_bytes, in ixgbe_clean_tx_irq() 2582 packets = ring_container->total_packets; in ixgbe_update_itr() 2732 ring_container->total_packets = 0; in ixgbe_update_itr()
|
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 2708 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/hyperv/ |
H A D | netvsc_drv.c | 536 packet->total_packets = 1; in netvsc_xmit()
|