|
@@ -84,6 +84,7 @@ struct mlx5e_sw_stats {
|
|
|
u64 rx_cache_full;
|
|
|
u64 rx_cache_empty;
|
|
|
u64 rx_cache_busy;
|
|
|
+ u64 rx_cache_waive;
|
|
|
|
|
|
/* Special handling counters */
|
|
|
u64 link_down_events_phy;
|
|
@@ -123,6 +124,7 @@ static const struct counter_desc sw_stats_desc[] = {
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_cache_full) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_cache_empty) },
|
|
|
{ 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, link_down_events_phy) },
|
|
|
};
|
|
|
|
|
@@ -354,6 +356,7 @@ struct mlx5e_rq_stats {
|
|
|
u64 cache_full;
|
|
|
u64 cache_empty;
|
|
|
u64 cache_busy;
|
|
|
+ u64 cache_waive;
|
|
|
};
|
|
|
|
|
|
static const struct counter_desc rq_stats_desc[] = {
|
|
@@ -377,6 +380,7 @@ static const struct counter_desc rq_stats_desc[] = {
|
|
|
{ MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, cache_full) },
|
|
|
{ MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, cache_empty) },
|
|
|
{ MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, cache_busy) },
|
|
|
+ { MLX5E_DECLARE_RX_STAT(struct mlx5e_rq_stats, cache_waive) },
|
|
|
};
|
|
|
|
|
|
struct mlx5e_sq_stats {
|