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

12

/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx_common.h43 * @total_packets: total packets sent
47 unsigned int total_packets,
52 tx_ring->stats.packets += total_packets;
55 tx_ring->q_vector->tx.total_packets += total_packets;
46 i40e_update_tx_stats(struct i40e_ring *tx_ring, unsigned int total_packets, unsigned int total_bytes) argument
H A Di40e_txrx.h439 unsigned int total_packets; /* total packets processed this int */ member in struct:i40e_ring_container
H A Di40e_txrx.c931 unsigned int total_bytes = 0, total_packets = 0; local
960 total_packets += tx_buf->gso_segs;
1020 i40e_update_tx_stats(tx_ring, total_packets, total_bytes);
1028 total_packets, total_bytes);
1031 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) &&
1046 *tx_cleaned = total_packets;
1194 packets = rc->total_packets;
1346 rc->total_packets = 0;
2376 rx_ring->q_vector->rx.total_packets += total_rx_packets;
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c97 static unsigned int total_packets, total_bytes; variable
118 if (total_packets % 10 == 0) {
238 while (total_packets < NUM_PACKETS * 2) {
258 total_packets++;
270 if (total_packets != 2 * NUM_PACKETS) {
272 ring->version, total_packets, NUM_PACKETS);
415 total_packets = NUM_PACKETS;
418 while (total_packets > 0) {
422 total_packets > 0) {
461 total_packets
[all...]
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c567 unsigned int total_bytes = 0, total_packets = 0; local
570 while (likely(total_packets < budget)) {
618 total_packets++;
625 rx_ring->stats.packets += total_packets;
628 q_vector->rx.total_packets += total_packets;
631 return total_packets;
1185 unsigned int total_bytes = 0, total_packets = 0; local
1215 total_packets += tx_buffer->gso_segs;
1272 tx_ring->stats.packets += total_packets;
1308 total_packets, total_bytes); local
[all...]
H A Dfm10k.h148 unsigned int total_packets; /* total packets processed this int */ member in struct:fm10k_ring_container
/linux-master/net/mac80211/
H A Drc80211_minstrel_ht.h177 unsigned int total_packets; member in struct:minstrel_ht_sta
H A Drc80211_minstrel_ht_debugfs.c173 max(0, (int) mi->total_packets - (int) mi->sample_packets),
283 max(0, (int) mi->total_packets -
H A Drc80211_minstrel_ht.c1310 if (mi->total_packets >= ~0 - info->status.ampdu_len) {
1311 mi->total_packets = 0;
1315 mi->total_packets += info->status.ampdu_len;
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c218 unsigned int total_bytes = 0, total_packets = 0; local
246 total_packets += tx_buf->gso_segs;
305 tx_ring->stats.packets += total_packets;
308 tx_ring->q_vector->tx.total_packets += total_packets;
327 total_packets, total_bytes); local
330 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) &&
487 packets = rc->total_packets;
640 rc->total_packets = 0;
1609 rx_ring->q_vector->rx.total_packets
[all...]
H A Diavf_txrx.h421 unsigned int total_packets; /* total packets processed this int */ member in struct:iavf_ring_container
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c461 unsigned int total_packets = 0, total_bytes = 0; local
475 total_packets += tx_bi->gso_segs;
498 ixgbe_update_tx_ring_stats(tx_ring, q_vector, total_packets,
/linux-master/drivers/media/dvb-frontends/
H A Dmxl692_defs.h497 u32 total_packets; member in struct:MXL_EAGLE_ATSC_DEMOD_ERROR_COUNTERS_T
H A Dmxl5xx_defs.h372 u32 total_packets; /* Total packets */ member in struct:MXL_HYDRA_DEMOD_STATUS_DVBS2_T
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c2574 q_vector->rx.total_packets += packets;
2580 unsigned int total_bytes = 0, total_packets = 0; local
2587 while (likely(total_packets < budget)) {
2648 total_packets++;
2689 total_packets++;
2698 igc_update_rx_stats(q_vector, total_packets, total_bytes);
2703 return total_packets;
2769 int total_bytes = 0, total_packets = 0; local
2779 while (likely(total_packets < budget)) {
2834 total_packets
2949 unsigned int total_bytes = 0, total_packets = 0; local
3036 total_packets, total_bytes); local
[all...]
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c688 q_vector->rx.total_packets += total_rx_packets;
709 unsigned int total_bytes = 0, total_packets = 0; local
740 total_packets += tx_buffer->gso_segs;
796 tx_ring->stats.packets += total_packets;
799 q_vector->tx.total_packets += total_packets;
802 total_packets, total_bytes); local
805 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) &&
/linux-master/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c255 unsigned int total_bytes = 0, total_packets = 0; local
348 total_packets++;
379 adapter->total_rx_packets += total_packets;
382 netdev->stats.rx_packets += total_packets;
779 unsigned int total_bytes = 0, total_packets = 0; local
815 total_packets += segs;
848 netdev->stats.tx_packets += total_packets;
/linux-master/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c1599 unsigned int total_bytes = 0, total_packets = 0; local
1609 total_packets++;
1617 netdev_tx_completed_queue(txq, total_packets, total_bytes);
1622 if (total_packets < budget) {
1623 napi_complete_done(napi, total_packets);
1628 return total_packets;
/linux-master/drivers/thunderbolt/
H A Dtb_msgs.h134 u8 total_packets; member in struct:icm_pkg_header
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h219 unsigned int total_packets; /* total packets processed this int */ member in struct:ixgbevf_ring_container
H A Dixgbevf_main.c270 unsigned int total_bytes = 0, total_packets = 0, total_ipsec = 0; local
300 total_packets += tx_buffer->gso_segs;
361 tx_ring->stats.packets += total_packets;
364 q_vector->tx.total_packets += total_packets;
405 if (unlikely(total_packets && netif_carrier_ok(tx_ring->netdev) &&
1256 q_vector->rx.total_packets += total_rx_packets;
1420 int packets = ring_container->total_packets;
1459 ring_container->total_packets = 0;
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c5773 packets = q_vector->rx.total_packets;
5777 packets = q_vector->tx.total_packets;
5811 q_vector->rx.total_packets = 0;
5813 q_vector->tx.total_packets = 0;
5835 unsigned int packets = ring_container->total_packets;
5878 ring_container->total_packets = 0;
8248 unsigned int total_bytes = 0, total_packets = 0; local
8278 total_packets += tx_buffer->gso_segs;
8334 total_packets, total_bytes); local
8339 tx_ring->tx_stats.packets += total_packets;
8884 unsigned int total_bytes = 0, total_packets = 0; local
[all...]
H A Digb.h309 unsigned int total_packets; /* total packets processed this int */ member in struct:igb_ring_container
/linux-master/drivers/net/hyperv/
H A Dnetvsc.c786 tx_stats->packets += packet->total_packets;
1264 packet->total_packets += msdp->pkt->total_packets;
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h545 u64 total_packets; /* total packets processed this group */ member in struct:hns3_enet_ring_group

Completed in 348 milliseconds

12