net/mlx5: print change on SW reset semaphore returns busy
authorMoshe Shemesh <moshe@nvidia.com>
Wed, 6 Sep 2023 09:18:05 +0000 (12:18 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 15 Nov 2023 19:34:29 +0000 (11:34 -0800)
commit7b2bfd4ebf796ec4c5ff86b2531b26766ab2fd61
tree7d2d895412dfc6a99390875e37ce01acb9142357
parente316dd1cf1358ff9c44b37c7be273a7dc4349986
net/mlx5: print change on SW reset semaphore returns busy

While collecting crdump as part of fw_fatal health reporter dump the PF
may fail to lock the SW reset semaphore. Change the print to indicate if
it was due to another PF locked the semaphore already and so trying to
lock the semaphore returned -EBUSY.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/diag/crdump.c