]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: debugfs, Add num of in-use FW command interface slots
authorTariq Toukan <tariqt@nvidia.com>
Wed, 8 Jun 2022 04:52:31 +0000 (07:52 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 13 Jul 2022 22:56:46 +0000 (15:56 -0700)
commitfea20a67a015e3085b7f9730b5083ad28da8a9c0
tree6c6d7ae0008b2f284b9fa8e73ee3389306fd62fa
parente42e97a010dfaf0a443a91fba92bb4191f852648
net/mlx5: debugfs, Add num of in-use FW command interface slots

Expose the number of busy / in-use slots in the FW command interface via
a read-only debugfs entry. This improves observability and helps in the
performance bottleneck analysis.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c