Searched refs:percpu_stats (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-xsk.c | 110 struct rtnl_link_stats64 *percpu_stats; in dpaa2_xsk_rx() local 119 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_xsk_rx() 129 percpu_stats->rx_packets++; in dpaa2_xsk_rx() 130 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_xsk_rx() 143 dpaa2_eth_receive_skb(priv, ch, fd, vaddr, fq, percpu_stats, skb); in dpaa2_xsk_rx() 150 percpu_stats->rx_dropped++; in dpaa2_xsk_rx() 395 struct rtnl_link_stats64 *percpu_stats; in dpaa2_xsk_tx() local 403 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_xsk_tx() 443 percpu_stats->tx_packets += total_enqueued; in dpaa2_xsk_tx() 445 percpu_stats->tx_bytes += dpaa2_fd_get_len(&fds[i]); in dpaa2_xsk_tx() [all …]
|
H A D | dpaa2-eth.c | 371 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_tx_flush() 385 percpu_stats->tx_errors++; in dpaa2_eth_xdp_tx_flush() 570 percpu_stats->rx_packets++; in dpaa2_eth_receive_skb() 604 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx() 699 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx_err() 700 percpu_stats->rx_errors++; in dpaa2_eth_rx_err() 1413 percpu_stats = this_cpu_ptr(priv->percpu_stats); in __dpaa2_eth_tx() 1608 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_tx_conf() 2376 percpu_stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_eth_get_stats() 2875 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_xdp_xmit() [all …]
|
H A D | dpaa2-eth-debugfs.c | 27 stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_dbg_cpu_show()
|
H A D | dpaa2-eth.h | 590 struct rtnl_link_stats64 __percpu *percpu_stats; member 824 struct rtnl_link_stats64 *percpu_stats,
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bloom_filter_bench.c | 50 } __attribute__((__aligned__(256))) percpu_stats[256]; variable 67 percpu_stats[cpu & 255].stats[key]++; in log_result()
|
/openbmc/linux/mm/ |
H A D | percpu-internal.h | 147 struct percpu_stats { struct 158 extern struct percpu_stats pcpu_stats; argument
|
H A D | percpu-stats.c | 22 struct percpu_stats pcpu_stats; 225 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 2117 percpu_stats->tx_fifo_errors++; in dpaa_xmit() 2121 percpu_stats->tx_packets++; in dpaa_xmit() 2299 percpu_stats = &percpu_priv->stats; in dpaa_start_xmit() 2372 percpu_stats->tx_errors++; in dpaa_start_xmit() 2523 percpu_stats = &percpu_priv->stats; in dpaa_xdp_xmit_frame() 2578 percpu_stats->tx_errors++; in dpaa_xdp_xmit_frame() 2732 percpu_stats->rx_errors++; in rx_default_dqrr() 2774 percpu_stats->rx_packets++; in rx_default_dqrr() 2820 percpu_stats->rx_dropped++; in rx_default_dqrr() 2824 percpu_stats->rx_packets++; in rx_default_dqrr() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bloom_filter_map.c | 408 struct stat *s = (void *)&ctx.skel->bss->percpu_stats[i]; in measure()
|
/openbmc/linux/net/openvswitch/ |
H A D | datapath.c | 736 const struct dp_stats_percpu *percpu_stats; in get_dp_stats() local 740 percpu_stats = per_cpu_ptr(dp->stats_percpu, i); in get_dp_stats() 743 start = u64_stats_fetch_begin(&percpu_stats->syncp); in get_dp_stats() 744 local_stats = *percpu_stats; in get_dp_stats() 745 } while (u64_stats_fetch_retry(&percpu_stats->syncp, start)); in get_dp_stats()
|