Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c281 struct rtnl_link_stats64 *percpu_stats; in run_xdp() local
287 percpu_stats = this_cpu_ptr(priv->percpu_stats); in run_xdp()
314 percpu_stats->tx_errors++; in run_xdp()
317 percpu_stats->tx_packets++; in run_xdp()
318 percpu_stats->tx_bytes += dpaa2_fd_get_len(fd); in run_xdp()
361 struct rtnl_link_stats64 *percpu_stats; in dpaa2_eth_rx() local
381 percpu_stats = this_cpu_ptr(priv->percpu_stats); in dpaa2_eth_rx()
387 percpu_stats->rx_packets++; in dpaa2_eth_rx()
388 percpu_stats->rx_bytes += dpaa2_fd_get_len(fd); in dpaa2_eth_rx()
435 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.h390 struct rtnl_link_stats64 __percpu *percpu_stats; member
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2021 struct rtnl_link_stats64 *percpu_stats, in dpaa_xmit() argument
2042 percpu_stats->tx_fifo_errors++; in dpaa_xmit()
2046 percpu_stats->tx_packets++; in dpaa_xmit()
2047 percpu_stats->tx_bytes += qm_fd_get_length(fd); in dpaa_xmit()
2057 struct rtnl_link_stats64 *percpu_stats; in dpaa_start_xmit() local
2067 percpu_stats = &percpu_priv->stats; in dpaa_start_xmit()
2119 if (likely(dpaa_xmit(priv, percpu_stats, queue_mapping, &fd) == 0)) in dpaa_start_xmit()
2125 percpu_stats->tx_errors++; in dpaa_start_xmit()
2260 struct rtnl_link_stats64 *percpu_stats; in rx_default_dqrr() local
2287 percpu_stats = &percpu_priv->stats; in rx_default_dqrr()
[all …]