Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c356 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_xdp_tx_flush() local
360 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_tx_flush()
366 percpu_stats->tx_packets += enqueued; in dpaa2_eth_xdp_tx_flush()
369 percpu_stats->tx_bytes += dpaa2_fd_get_len(&fds[i]); in dpaa2_eth_xdp_tx_flush()
374 percpu_stats->tx_errors++; in dpaa2_eth_xdp_tx_flush()
527 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_rx() local
547 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx()
553 percpu_stats->rx_packets++; in dpaa2_eth_rx()
554 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_eth_rx()
604 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.h554 struct rtnl_link_stats64 __percpu *percpu_stats; member
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbloom_filter_bench.c50 } __attribute__((__aligned__(256))) percpu_stats[256]; variable
67 percpu_stats[cpu & 255].stats[key]++; in log_result()
/linux-6.1.9/mm/
Dpercpu-internal.h138 struct percpu_stats { struct
149 extern struct percpu_stats pcpu_stats; argument
Dpercpu-stats.c22 struct percpu_stats pcpu_stats;
225 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2077 struct rtnl_link_stats64 *percpu_stats, in dpaa_xmit() argument
2098 percpu_stats->tx_fifo_errors++; in dpaa_xmit()
2102 percpu_stats->tx_packets++; in dpaa_xmit()
2103 percpu_stats->tx_bytes += qm_fd_get_length(fd); in dpaa_xmit()
2270 struct rtnl_link_stats64 *percpu_stats; in dpaa_start_xmit() local
2280 percpu_stats = &percpu_priv->stats; in dpaa_start_xmit()
2340 if (likely(dpaa_xmit(priv, percpu_stats, queue_mapping, &fd) == 0)) in dpaa_start_xmit()
2346 percpu_stats->tx_errors++; in dpaa_start_xmit()
2487 struct rtnl_link_stats64 *percpu_stats; in dpaa_xdp_xmit_frame() local
2497 percpu_stats = &percpu_priv->stats; in dpaa_xdp_xmit_frame()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_bloom_filter_map.c408 struct stat *s = (void *)&ctx.skel->bss->percpu_stats[i]; in measure()
/linux-6.1.9/net/openvswitch/
Ddatapath.c712 const struct dp_stats_percpu *percpu_stats; in get_dp_stats() local
716 percpu_stats = per_cpu_ptr(dp->stats_percpu, i); in get_dp_stats()
719 start = u64_stats_fetch_begin_irq(&percpu_stats->syncp); in get_dp_stats()
720 local_stats = *percpu_stats; in get_dp_stats()
721 } while (u64_stats_fetch_retry_irq(&percpu_stats->syncp, start)); in get_dp_stats()