Lines Matching refs:percpu_priv

136 static void copy_stats(struct dpaa_percpu_priv *percpu_priv, int num_cpus,  in copy_stats()  argument
143 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()
156 data[crr++ * num_values + num_cpus] += percpu_priv->tx_frag_skbuffs; in copy_stats()
158 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_errors; in copy_stats()
159 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_errors; in copy_stats()
161 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_errors; in copy_stats()
162 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_errors; in copy_stats()
164 data[crr * num_values + crr_cpu] = percpu_priv->stats.rx_dropped; in copy_stats()
165 data[crr++ * num_values + num_cpus] += percpu_priv->stats.rx_dropped; in copy_stats()
167 data[crr * num_values + crr_cpu] = percpu_priv->stats.tx_dropped; in copy_stats()
168 data[crr++ * num_values + num_cpus] += percpu_priv->stats.tx_dropped; in copy_stats()
177 struct dpaa_percpu_priv *percpu_priv; in dpaa_get_ethtool_stats() local
197 percpu_priv = per_cpu_ptr(priv->percpu_priv, i); in dpaa_get_ethtool_stats()
202 rx_errors.dme += percpu_priv->rx_errors.dme; in dpaa_get_ethtool_stats()
203 rx_errors.fpe += percpu_priv->rx_errors.fpe; in dpaa_get_ethtool_stats()
204 rx_errors.fse += percpu_priv->rx_errors.fse; in dpaa_get_ethtool_stats()
205 rx_errors.phe += percpu_priv->rx_errors.phe; in dpaa_get_ethtool_stats()
207 ern_cnt.cg_tdrop += percpu_priv->ern_cnt.cg_tdrop; in dpaa_get_ethtool_stats()
208 ern_cnt.wred += percpu_priv->ern_cnt.wred; in dpaa_get_ethtool_stats()
209 ern_cnt.err_cond += percpu_priv->ern_cnt.err_cond; in dpaa_get_ethtool_stats()
210 ern_cnt.early_window += percpu_priv->ern_cnt.early_window; in dpaa_get_ethtool_stats()
211 ern_cnt.late_window += percpu_priv->ern_cnt.late_window; in dpaa_get_ethtool_stats()
212 ern_cnt.fq_tdrop += percpu_priv->ern_cnt.fq_tdrop; in dpaa_get_ethtool_stats()
213 ern_cnt.fq_retired += percpu_priv->ern_cnt.fq_retired; in dpaa_get_ethtool_stats()
214 ern_cnt.orp_zero += percpu_priv->ern_cnt.orp_zero; in dpaa_get_ethtool_stats()
216 copy_stats(percpu_priv, num_cpus, i, bp_count, data); in dpaa_get_ethtool_stats()