Searched refs:percpu_stats (Results 1 – 7 of 7) sorted by relevance
286 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_xdp_tx_flush() local290 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()435 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_rx() local455 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx()461 percpu_stats->rx_packets++; in dpaa2_eth_rx()462 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_eth_rx()509 percpu_stats->rx_packets++; in dpaa2_eth_rx()[all …]
27 stats = per_cpu_ptr(priv->percpu_stats, i); in dpaa2_dbg_cpu_show()
527 struct rtnl_link_stats64 __percpu *percpu_stats; member
166 struct percpu_stats { struct177 extern struct percpu_stats pcpu_stats; argument
22 struct percpu_stats pcpu_stats;239 DEFINE_SHOW_ATTRIBUTE(percpu_stats);
2038 struct rtnl_link_stats64 *percpu_stats, in dpaa_xmit() argument2059 percpu_stats->tx_fifo_errors++; in dpaa_xmit()2063 percpu_stats->tx_packets++; in dpaa_xmit()2064 percpu_stats->tx_bytes += qm_fd_get_length(fd); in dpaa_xmit()2151 struct rtnl_link_stats64 *percpu_stats; in dpaa_start_xmit() local2161 percpu_stats = &percpu_priv->stats; in dpaa_start_xmit()2221 if (likely(dpaa_xmit(priv, percpu_stats, queue_mapping, &fd) == 0)) in dpaa_start_xmit()2227 percpu_stats->tx_errors++; in dpaa_start_xmit()2362 struct rtnl_link_stats64 *percpu_stats; in rx_default_dqrr() local2389 percpu_stats = &percpu_priv->stats; in rx_default_dqrr()[all …]
697 const struct dp_stats_percpu *percpu_stats; in get_dp_stats() local701 percpu_stats = per_cpu_ptr(dp->stats_percpu, i); in get_dp_stats()704 start = u64_stats_fetch_begin_irq(&percpu_stats->syncp); in get_dp_stats()705 local_stats = *percpu_stats; in get_dp_stats()706 } while (u64_stats_fetch_retry_irq(&percpu_stats->syncp, start)); in get_dp_stats()