Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c120 struct mlx5e_ch_stats *ch_stats = c->stats; in mlx5e_napi_poll() local
135 ch_stats->poll++; in mlx5e_napi_poll()
178 ch_stats->aff_change++; in mlx5e_napi_poll()
187 ch_stats->arm++; in mlx5e_napi_poll()
209 ch_stats->force_irq++; in mlx5e_napi_poll()
Den_stats.c266 struct mlx5e_ch_stats *ch_stats = &channel_stats->ch; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
318 s->ch_events += ch_stats->events; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
319 s->ch_poll += ch_stats->poll; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
320 s->ch_arm += ch_stats->arm; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
321 s->ch_aff_change += ch_stats->aff_change; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
322 s->ch_force_irq += ch_stats->force_irq; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
323 s->ch_eq_rearm += ch_stats->eq_rearm; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
/Linux-v5.10/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.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c238 struct dpaa2_eth_ch_stats *ch_stats; in dpaa2_eth_get_ethtool_stats() local
280 ch_stats = &priv->channel[k]->stats; in dpaa2_eth_get_ethtool_stats()
281 for (j = 0; j < sizeof(*ch_stats) / sizeof(__u64) - 1; j++) in dpaa2_eth_get_ethtool_stats()
282 *((__u64 *)data + i + j) += *((__u64 *)ch_stats + j); in dpaa2_eth_get_ethtool_stats()