Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/intel/i40e/
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()
A Di40e_txrx.c935 unsigned int total_bytes = 0, total_packets = 0; in i40e_clean_tx_irq() local
964 total_packets += tx_buf->gso_segs; in i40e_clean_tx_irq()
1024 i40e_update_tx_stats(tx_ring, total_packets, total_bytes); in i40e_clean_tx_irq()
1032 total_packets, total_bytes); in i40e_clean_tx_irq()
1035 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in i40e_clean_tx_irq()
1050 *tx_cleaned = total_packets; in i40e_clean_tx_irq()
1198 packets = rc->total_packets; in i40e_update_itr()
1350 rc->total_packets = 0; in i40e_update_itr()
2339 rx_ring->q_vector->rx.total_packets += total_rx_packets; in i40e_update_rx_stats()
A Di40e_txrx.h440 unsigned int total_packets; /* total packets processed this int */ member
/drivers/net/ethernet/intel/fm10k/
A Dfm10k_main.c569 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()
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()
1307 total_packets, total_bytes); in fm10k_clean_tx_irq()
1346 packets = ring_container->total_packets; in fm10k_update_itr()
[all …]
A Dfm10k.h148 unsigned int total_packets; /* total packets processed this int */ member
/drivers/net/ethernet/intel/igb/
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()
A Digb_main.c5844 packets = q_vector->rx.total_packets; in igb_update_ring_itr()
5848 packets = q_vector->tx.total_packets; in igb_update_ring_itr()
5882 q_vector->rx.total_packets = 0; in igb_update_ring_itr()
5884 q_vector->tx.total_packets = 0; in igb_update_ring_itr()
5949 ring_container->total_packets = 0; in igb_update_itr()
8434 total_packets, total_bytes); in igb_clean_tx_irq()
8442 q_vector->tx.total_packets += total_packets; in igb_clean_tx_irq()
8502 if (unlikely(total_packets && in igb_clean_tx_irq()
9100 total_packets++; in igb_clean_rx_irq()
9144 total_packets++; in igb_clean_rx_irq()
[all …]
/drivers/net/ethernet/intel/iavf/
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()
A Diavf_txrx.h302 unsigned int total_packets; /* total packets processed this int */ member
/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_xsk.c460 unsigned int total_packets = 0, total_bytes = 0; in ixgbe_clean_xdp_tx_irq() local
474 total_packets += tx_bi->gso_segs; in ixgbe_clean_xdp_tx_irq()
497 ixgbe_update_tx_ring_stats(tx_ring, q_vector, total_packets, in ixgbe_clean_xdp_tx_irq()
/drivers/net/ethernet/intel/igc/
A Digc_main.c2678 total_packets++; in igc_clean_rx_irq()
2720 total_packets++; in igc_clean_rx_irq()
2734 return total_packets; in igc_clean_rx_irq()
2868 total_packets++; in igc_clean_rx_irq_zc()
2891 return total_packets; in igc_clean_rx_irq_zc()
3232 total_packets, total_bytes); in igc_clean_tx_irq()
3291 if (unlikely(total_packets && in igc_clean_tx_irq()
4514 ring_container->total_packets = 0; in igc_update_itr()
4703 packets = q_vector->rx.total_packets; in igc_update_ring_itr()
4741 q_vector->rx.total_packets = 0; in igc_update_ring_itr()
[all …]
A Digc.h141 unsigned int total_packets; /* total packets processed this int */ member
/drivers/net/ethernet/intel/igbvf/
A Dnetdev.c255 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()
/drivers/net/ethernet/wangxun/libwx/
A Dwx_lib.c693 q_vector->rx.total_packets += total_rx_packets; in wx_clean_rx_irq()
714 unsigned int total_bytes = 0, total_packets = 0; in wx_clean_tx_irq() local
746 total_packets += tx_buffer->gso_segs; in wx_clean_tx_irq()
807 tx_ring->stats.packets += total_packets; in wx_clean_tx_irq()
810 q_vector->tx.total_packets += total_packets; in wx_clean_tx_irq()
813 total_packets, total_bytes); in wx_clean_tx_irq()
816 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) && in wx_clean_tx_irq()
/drivers/media/dvb-frontends/
A Dmxl692_defs.h497 u32 total_packets; member
A Dmxl5xx_defs.h372 u32 total_packets; /* Total packets */ member
/drivers/net/ethernet/meta/fbnic/
A Dfbnic_txrx.c529 u64 total_bytes = 0, total_packets = 0, ts_lost = 0; in fbnic_clean_twq0() local
573 total_packets += FBNIC_XMIT_CB(skb)->gso_segs; in fbnic_clean_twq0()
587 ring->stats.dropped += total_packets; in fbnic_clean_twq0()
591 netdev_tx_completed_queue(txq, total_packets, total_bytes); in fbnic_clean_twq0()
597 ring->stats.packets += total_packets; in fbnic_clean_twq0()
600 if (!netif_txq_completed_wake(txq, total_packets, total_bytes, in fbnic_clean_twq0()
/drivers/net/ethernet/intel/ixgbevf/
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()
A Dixgbevf.h219 unsigned int total_packets; /* total packets processed this int */ member
/drivers/net/ethernet/atheros/atl1c/
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()
/drivers/thunderbolt/
A Dtb_msgs.h129 u8 total_packets; member
/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c201 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()
A Dhns3_enet.h547 u64 total_packets; /* total packets processed this group */ member
/drivers/net/hyperv/
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()
/drivers/net/ethernet/atheros/alx/
A Dmain.c169 unsigned int total_bytes = 0, total_packets = 0; in alx_clean_tx_irq() local
185 total_packets++; in alx_clean_tx_irq()
196 netdev_tx_completed_queue(tx_queue, total_packets, total_bytes); in alx_clean_tx_irq()

Completed in 123 milliseconds

12