diff options
author | Shay Agroskin <shayag@mellanox.com> | 2019-02-25 18:02:09 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-04-23 12:09:20 -0700 |
commit | 73cab880e7664702681e6d5115225e4fff1d6d98 (patch) | |
tree | 36a1ccf9ee560c4bf185086a736062a6b949e030 /drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | |
parent | net/mlx5e: XDP, Enhance RQ indication for XDP redirect flush (diff) | |
download | linux-dev-73cab880e7664702681e6d5115225e4fff1d6d98.tar.xz linux-dev-73cab880e7664702681e6d5115225e4fff1d6d98.zip |
net/mlx5e: XDP, Add TX MPWQE session counter
This counter tracks how many TX MPWQE sessions are started in XDP SQ
in XDP TX/REDIRECT flow. It counts per-channel and global stats.
Signed-off-by: Shay Agroskin <shayag@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_stats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h b/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h index 16c3b785f282..1f05ffa086b1 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_stats.h @@ -77,6 +77,7 @@ struct mlx5e_sw_stats { u64 rx_xdp_drop; u64 rx_xdp_redirect; u64 rx_xdp_tx_xmit; + u64 rx_xdp_tx_mpwqe; u64 rx_xdp_tx_full; u64 rx_xdp_tx_err; u64 rx_xdp_tx_cqe; @@ -91,6 +92,7 @@ struct mlx5e_sw_stats { u64 tx_queue_wake; u64 tx_cqe_err; u64 tx_xdp_xmit; + u64 tx_xdp_mpwqe; u64 tx_xdp_full; u64 tx_xdp_err; u64 tx_xdp_cqes; @@ -241,6 +243,7 @@ struct mlx5e_sq_stats { struct mlx5e_xdpsq_stats { u64 xmit; + u64 mpwqe; u64 full; u64 err; /* dirtied @completion */ |