Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c112 struct mlx5e_ch_stats *ch_stats = c->stats; in mlx5e_napi_poll() local
123 ch_stats->poll++; in mlx5e_napi_poll()
157 ch_stats->aff_change++; in mlx5e_napi_poll()
166 ch_stats->arm++; in mlx5e_napi_poll()
188 ch_stats->force_irq++; in mlx5e_napi_poll()
Den_stats.c187 struct mlx5e_ch_stats *ch_stats = &channel_stats->ch; in mlx5e_grp_sw_update_stats() local
226 s->ch_events += ch_stats->events; in mlx5e_grp_sw_update_stats()
227 s->ch_poll += ch_stats->poll; in mlx5e_grp_sw_update_stats()
228 s->ch_arm += ch_stats->arm; in mlx5e_grp_sw_update_stats()
229 s->ch_aff_change += ch_stats->aff_change; in mlx5e_grp_sw_update_stats()
230 s->ch_force_irq += ch_stats->force_irq; in mlx5e_grp_sw_update_stats()
231 s->ch_eq_rearm += ch_stats->eq_rearm; in mlx5e_grp_sw_update_stats()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_ethtool.c276 struct cpdma_chan_stats ch_stats; in cpsw_get_ethtool_stats() local
285 cpdma_chan_get_stats(cpsw->rxv[ch].ch, &ch_stats); in cpsw_get_ethtool_stats()
287 p = (u8 *)&ch_stats + in cpsw_get_ethtool_stats()
294 cpdma_chan_get_stats(cpsw->txv[ch].ch, &ch_stats); in cpsw_get_ethtool_stats()
296 p = (u8 *)&ch_stats + in cpsw_get_ethtool_stats()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c195 struct dpaa2_eth_ch_stats *ch_stats; in dpaa2_eth_get_ethtool_stats() local
237 ch_stats = &priv->channel[k]->stats; in dpaa2_eth_get_ethtool_stats()
238 for (j = 0; j < sizeof(*ch_stats) / sizeof(__u64); j++) in dpaa2_eth_get_ethtool_stats()
239 *((__u64 *)data + i + j) += *((__u64 *)ch_stats + j); in dpaa2_eth_get_ethtool_stats()