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)
commite723f8662de7dd1750c876ee94da4900ab0d0277
tree6c6d7ae0008b2f284b9fa8e73ee3389306fd62fa
parent606e6a72e29dff9e3341c4cc9b554420e4793f40
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