net/mlx5: Add last command failure syndrome to debugfs
authorMoshe Shemesh <moshe@nvidia.com>
Fri, 13 May 2022 03:19:31 +0000 (06:19 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:41:44 +0000 (23:41 -0700)
commit1d2c717bc7f7fd3c9cf38d4a0d5d7ede06adf05b
tree265445ee9e8a4a1c0feff3b17955fee2c94f893a
parent4c7c8a6d87a83d5e7ffb9bc166ebf865b9360040
net/mlx5: Add last command failure syndrome to debugfs

Add syndrome of last command failure per command type to debugfs to ease
debugging of such failure.
last_failed_syndrome - last command failed syndrome returned by FW.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c
include/linux/mlx5/driver.h