Home
last modified time | relevance | path

Searched refs:percpu_stats (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c286 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_xdp_tx_flush() local
290 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_tx_flush()
296 percpu_stats->tx_packets += enqueued; in dpaa2_eth_xdp_tx_flush()
299 percpu_stats->tx_bytes += dpaa2_fd_get_len(&fds[i]); in dpaa2_eth_xdp_tx_flush()
304 percpu_stats->tx_errors++; in dpaa2_eth_xdp_tx_flush()
457 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_rx() local
477 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx()
483 percpu_stats->rx_packets++; in dpaa2_eth_rx()
484 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_eth_rx()
534 percpu_stats->rx_packets++; in dpaa2_eth_rx()
[all …]
Ddpaa2-eth-debugfs.c27 stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_dbg_cpu_show()
Ddpaa2-eth.h531 struct rtnl_link_stats64 __percpu *percpu_stats; member
/Linux-v5.15/mm/
Dpercpu-internal.h120 struct percpu_stats { struct
131 extern struct percpu_stats pcpu_stats; argument
Dpercpu-stats.c22 struct percpu_stats pcpu_stats;
225 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2072 struct rtnl_link_stats64 *percpu_stats, in dpaa_xmit() argument
2093 percpu_stats->tx_fifo_errors++; in dpaa_xmit()
2097 percpu_stats->tx_packets++; in dpaa_xmit()
2098 percpu_stats->tx_bytes += qm_fd_get_length(fd); in dpaa_xmit()
2265 struct rtnl_link_stats64 *percpu_stats; in dpaa_start_xmit() local
2275 percpu_stats = &percpu_priv->stats; in dpaa_start_xmit()
2335 if (likely(dpaa_xmit(priv, percpu_stats, queue_mapping, &fd) == 0)) in dpaa_start_xmit()
2341 percpu_stats->tx_errors++; in dpaa_start_xmit()
2482 struct rtnl_link_stats64 *percpu_stats; in dpaa_xdp_xmit_frame() local
2492 percpu_stats = &percpu_priv->stats; in dpaa_xdp_xmit_frame()
[all …]
/Linux-v5.15/net/openvswitch/
Ddatapath.c702 const struct dp_stats_percpu *percpu_stats; in get_dp_stats() local
706 percpu_stats = per_cpu_ptr(dp->stats_percpu, i); in get_dp_stats()
709 start = u64_stats_fetch_begin_irq(&percpu_stats->syncp); in get_dp_stats()
710 local_stats = *percpu_stats; in get_dp_stats()
711 } while (u64_stats_fetch_retry_irq(&percpu_stats->syncp, start)); in get_dp_stats()