| /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 | 935 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 D | i40e_txrx.h | 440 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/igb/ |
| H A D | igb_xsk.c | 345 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()
|
| H A D | igb_main.c | 5840 packets = q_vector->rx.total_packets; in igb_update_ring_itr() 5844 packets = q_vector->tx.total_packets; in igb_update_ring_itr() 5878 q_vector->rx.total_packets = 0; in igb_update_ring_itr() 5880 q_vector->tx.total_packets = 0; in igb_update_ring_itr() 5902 unsigned int packets = ring_container->total_packets; in igb_update_itr() 5945 ring_container->total_packets = 0; in igb_update_itr() 8330 unsigned int total_bytes = 0, total_packets = 0; in igb_clean_tx_irq() local 8369 total_packets += tx_buffer->gso_segs; in igb_clean_tx_irq() 8430 total_packets, total_bytes); in igb_clean_tx_irq() 8435 tx_ring->tx_stats.packets += total_packets; in igb_clean_tx_irq() [all …]
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_txrx.c | 239 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 D | iavf_txrx.h | 302 unsigned int total_packets; /* total packets processed this int */ member
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_xsk.c | 462 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()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_main.c | 2597 q_vector->rx.total_packets += packets; in igc_update_rx_stats() 2603 unsigned int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq() local 2611 while (likely(total_packets < budget)) { in igc_clean_rx_irq() 2678 total_packets++; in igc_clean_rx_irq() 2720 total_packets++; in igc_clean_rx_irq() 2729 igc_update_rx_stats(q_vector, total_packets, total_bytes); in igc_clean_rx_irq() 2734 return total_packets; in igc_clean_rx_irq() 2802 int total_bytes = 0, total_packets = 0; in igc_clean_rx_irq_zc() local 2812 while (likely(total_packets < budget)) { in igc_clean_rx_irq_zc() 2868 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/meta/fbnic/ |
| H A D | fbnic_txrx.c | 548 u64 total_bytes = 0, total_packets = 0, ts_lost = 0; in fbnic_clean_twq0() local 596 total_packets += FBNIC_XMIT_CB(skb)->gso_segs; in fbnic_clean_twq0() 610 ring->stats.dropped += total_packets; in fbnic_clean_twq0() 614 netdev_tx_completed_queue(txq, total_packets, total_bytes); in fbnic_clean_twq0() 620 ring->stats.packets += total_packets; in fbnic_clean_twq0() 623 if (!netif_txq_completed_wake(txq, total_packets, total_bytes, in fbnic_clean_twq0() 636 u64 total_bytes = 0, total_packets = 0; in fbnic_clean_twq1() local 652 total_packets += FIELD_GET(FBNIC_TWD_TYPE_MASK, twd) - in fbnic_clean_twq1() 670 ring->stats.dropped += total_packets; in fbnic_clean_twq1() 677 ring->stats.packets += total_packets; in fbnic_clean_twq1()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_lib.c | 734 q_vector->rx.total_packets += total_rx_packets; in wx_clean_rx_irq() 755 unsigned int total_bytes = 0, total_packets = 0; in wx_clean_tx_irq() local 800 total_packets += tx_buffer->gso_segs; in wx_clean_tx_irq() 861 tx_ring->stats.packets += total_packets; in wx_clean_tx_irq() 864 q_vector->tx.total_packets += total_packets; in wx_clean_tx_irq() 867 total_packets, total_bytes); in wx_clean_tx_irq() 870 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in wx_clean_tx_irq() 894 q_vector->rx.total_packets, in wx_update_rx_dim_sample() 906 q_vector->tx.total_packets, in wx_update_tx_dim_sample()
|
| /linux/drivers/net/ethernet/intel/igbvf/ |
| H A D | netdev.c | 255 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/ |
| H A D | mxl692_defs.h | 497 u32 total_packets; member
|
| H A D | mxl5xx_defs.h | 372 u32 total_packets; /* Total packets */ member
|
| /linux/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 274 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 D | ixgbevf.h | 219 unsigned int total_packets; /* total packets processed this int */ member
|
| /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/intel/ice/ |
| H A D | ice_txrx.c | 1089 u64 total_packets = 0, total_bytes = 0, pkts, bytes; in __ice_update_sample() local 1100 total_packets += pkts; in __ice_update_sample() 1112 total_packets += pkts; in __ice_update_sample() 1118 total_packets, total_bytes, sample); in __ice_update_sample()
|
| /linux/drivers/thunderbolt/ |
| H A D | tb_msgs.h | 129 u8 total_packets; member
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 201 tqp_vector->rx_group.total_packets++; in hns3_lb_check_skb_data() 222 pre_rx_pkt = rx_group->total_packets; in hns3_lb_check_rx_ring() 228 rcv_good_pkt_total += (rx_group->total_packets - pre_rx_pkt); in hns3_lb_check_rx_ring() 229 rx_group->total_packets = pre_rx_pkt; in hns3_lb_check_rx_ring()
|