]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: fw reset, add reset timeout work
authorMoshe Shemesh <moshe@nvidia.com>
Sun, 28 Sep 2025 21:02:09 +0000 (00:02 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:51:29 +0000 (18:51 -0700)
commit5cfbe7ebfa42fd3c517a701dab5bd73524da9088
treec95d7c4df913c1eda4e136e5f9cf794f7a6639ba
parent79a0e32b32ac4e4f9e4bb22be97f371c8c116c88
net/mlx5: fw reset, add reset timeout work

Add sync reset timeout to stop poll_sync_reset in case there was no
reset done or abort event within timeout. Otherwise poll sync reset will
just continue and in case of fw fatal error no health reporting will be
done.

Fixes: 38b9f903f22b ("net/mlx5: Handle sync reset request event")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Shay Drori <shayd@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c