|
@@ -70,6 +70,7 @@ struct mlx5e_sw_stats {
|
|
|
u64 tx_queue_stopped;
|
|
|
u64 tx_queue_wake;
|
|
|
u64 tx_queue_dropped;
|
|
|
+ u64 tx_xmit_more;
|
|
|
u64 rx_wqe_err;
|
|
|
u64 rx_mpwqe_filler;
|
|
|
u64 rx_mpwqe_frag;
|
|
@@ -101,6 +102,7 @@ static const struct counter_desc sw_stats_desc[] = {
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_queue_stopped) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_queue_wake) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_queue_dropped) },
|
|
|
+ { MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, tx_xmit_more) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_wqe_err) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_mpwqe_filler) },
|
|
|
{ MLX5E_DECLARE_STAT(struct mlx5e_sw_stats, rx_mpwqe_frag) },
|
|
@@ -298,6 +300,7 @@ struct mlx5e_sq_stats {
|
|
|
/* commonly accessed in data path */
|
|
|
u64 packets;
|
|
|
u64 bytes;
|
|
|
+ u64 xmit_more;
|
|
|
u64 tso_packets;
|
|
|
u64 tso_bytes;
|
|
|
u64 tso_inner_packets;
|
|
@@ -324,6 +327,7 @@ static const struct counter_desc sq_stats_desc[] = {
|
|
|
{ MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, stopped) },
|
|
|
{ MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, wake) },
|
|
|
{ MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, dropped) },
|
|
|
+ { MLX5E_DECLARE_TX_STAT(struct mlx5e_sq_stats, xmit_more) },
|
|
|
};
|
|
|
|
|
|
#define NUM_SW_COUNTERS ARRAY_SIZE(sw_stats_desc)
|