]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: Add a counter for congested UMRs
authorTariq Toukan <tariqt@mellanox.com>
Sun, 4 Mar 2018 12:25:00 +0000 (14:25 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Jun 2018 21:44:18 +0000 (14:44 -0700)
commitdc983f0e2b6e2b514cdb1c687fdf7b5a007f8ea4
tree2d8420e74f146c8ecaff023986591a73ca408b59
parent2d7103c800add14d9ea3194a704130622474d54f
net/mlx5e: Add a counter for congested UMRs

Add per-ring and global ethtool counters for congested UMR requests.
These events indicate congestion in UMR handlers in HW.

Such event is concluded when there's an outstanding UMR post,
yet the SW consumed at least two additional MPWQEs in the meanwhile.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h
drivers/net/ethernet/mellanox/mlx5/core/wq.h