Home
last modified time | relevance | path

Searched refs:percpu_priv (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c220 static void copy_stats(struct dpaa_percpu_priv *percpu_priv, int num_cpus, in copy_stats() argument
227 data[crr * num_values + crr_cpu] = percpu_priv->in_interrupt; in copy_stats()
228 data[crr++ * num_values + num_cpus] += percpu_priv->in_interrupt; in copy_stats()
230 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_packets; in copy_stats()
231 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_packets; in copy_stats()
233 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_packets; in copy_stats()
234 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_packets; in copy_stats()
236 data[crr * num_values + crr_cpu] = percpu_priv->tx_confirm; in copy_stats()
237 data[crr++ * num_values + num_cpus] += percpu_priv->tx_confirm; in copy_stats()
239 data[crr * num_values + crr_cpu] = percpu_priv->tx_frag_skbuffs; in copy_stats()
[all …]
Ddpaa_eth.c231 struct dpaa_percpu_priv *percpu_priv; in dpaa_netdev_init() local
239 percpu_priv = per_cpu_ptr(priv->percpu_priv, i); in dpaa_netdev_init()
240 percpu_priv->net_dev = net_dev; in dpaa_netdev_init()
338 struct dpaa_percpu_priv *percpu_priv; in dpaa_tx_timeout() local
342 percpu_priv = this_cpu_ptr(priv->percpu_priv); in dpaa_tx_timeout()
347 percpu_priv->stats.tx_errors++; in dpaa_tx_timeout()
358 struct dpaa_percpu_priv *percpu_priv; in dpaa_get_stats64() local
364 percpu_priv = per_cpu_ptr(priv->percpu_priv, i); in dpaa_get_stats64()
366 cpustats = (u64 *)&percpu_priv->stats; in dpaa_get_stats64()
1400 static void count_ern(struct dpaa_percpu_priv *percpu_priv, in count_ern() argument
[all …]
Ddpaa_eth.h159 struct dpaa_percpu_priv __percpu *percpu_priv; member