|
@@ -84,6 +84,7 @@ static const struct counter_desc sw_stats_desc[] = {
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_cache_busy) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_cache_waive) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_congst_umr) },
|
|
|
+ { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, ch_events) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, ch_poll) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, ch_arm) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, ch_aff_change) },
|
|
@@ -154,6 +155,7 @@ void mlx5e_grp_sw_update_stats(struct mlx5e_priv *priv)
|
|
|
s->rx_cache_busy += rq_stats->cache_busy;
|
|
|
s->rx_cache_waive += rq_stats->cache_waive;
|
|
|
s->rx_congst_umr += rq_stats->congst_umr;
|
|
|
+ s->ch_events += ch_stats->events;
|
|
|
s->ch_poll += ch_stats->poll;
|
|
|
s->ch_arm += ch_stats->arm;
|
|
|
s->ch_aff_change += ch_stats->aff_change;
|
|
@@ -1162,6 +1164,7 @@ static const struct counter_desc sq_stats_desc[] = {
|
|
|
};
|
|
|
|
|
|
static const struct counter_desc ch_stats_desc[] = {
|
|
|
+ { MLX5E_DECLARE_CH_STAT(struct mlx5e_ch_stats, events) },
|
|
|
{ MLX5E_DECLARE_CH_STAT(struct mlx5e_ch_stats, poll) },
|
|
|
{ MLX5E_DECLARE_CH_STAT(struct mlx5e_ch_stats, arm) },
|
|
|
{ MLX5E_DECLARE_CH_STAT(struct mlx5e_ch_stats, aff_change) },
|