Searched refs:percpu_priv (Results 1 – 3 of 3) sorted by relevance
136 static void copy_stats(struct dpaa_percpu_priv *percpu_priv, int num_cpus, in copy_stats() argument143 data[crr * num_values + crr_cpu] = percpu_priv->in_interrupt; in copy_stats()144 data[crr++ * num_values + num_cpus] += percpu_priv->in_interrupt; in copy_stats()146 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_packets; in copy_stats()147 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_packets; in copy_stats()149 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_packets; in copy_stats()150 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_packets; in copy_stats()152 data[crr * num_values + crr_cpu] = percpu_priv->tx_confirm; in copy_stats()153 data[crr++ * num_values + num_cpus] += percpu_priv->tx_confirm; in copy_stats()155 data[crr * num_values + crr_cpu] = percpu_priv->tx_frag_skbuffs; in copy_stats()[all …]
210 struct dpaa_percpu_priv *percpu_priv; in dpaa_netdev_init() local218 percpu_priv = per_cpu_ptr(priv->percpu_priv, i); in dpaa_netdev_init()219 percpu_priv->net_dev = net_dev; in dpaa_netdev_init()335 struct dpaa_percpu_priv *percpu_priv; in dpaa_tx_timeout() local339 percpu_priv = this_cpu_ptr(priv->percpu_priv); in dpaa_tx_timeout()344 percpu_priv->stats.tx_errors++; in dpaa_tx_timeout()355 struct dpaa_percpu_priv *percpu_priv; in dpaa_get_stats64() local361 percpu_priv = per_cpu_ptr(priv->percpu_priv, i); in dpaa_get_stats64()363 cpustats = (u64 *)&percpu_priv->stats; in dpaa_get_stats64()1417 static void count_ern(struct dpaa_percpu_priv *percpu_priv, in count_ern() argument[all …]
131 struct dpaa_percpu_priv __percpu *percpu_priv; member