net/mlx5e: Add channel events counter
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / en_stats.h
index 0cd08b9f46ffb0f5d6d785b296492badd33df83a..70a05298851e8aab899ac6ed0e98fdc8227261ab 100644 (file)
@@ -94,6 +94,8 @@ struct mlx5e_sw_stats {
        u64 rx_cache_empty;
        u64 rx_cache_busy;
        u64 rx_cache_waive;
+       u64 rx_congst_umr;
+       u64 ch_events;
        u64 ch_poll;
        u64 ch_arm;
        u64 ch_aff_change;
@@ -188,6 +190,7 @@ struct mlx5e_rq_stats {
        u64 cache_empty;
        u64 cache_busy;
        u64 cache_waive;
+       u64 congst_umr;
 };
 
 struct mlx5e_sq_stats {
@@ -220,6 +223,7 @@ struct mlx5e_sq_stats {
 };
 
 struct mlx5e_ch_stats {
+       u64 events;
        u64 poll;
        u64 arm;
        u64 aff_change;