]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 09:56:39 +0000 (11:56 +0200)
commit4c5f10d61e7aaac9139ded6c4de7eeb6d56696a1
treeb3f364d03a21c11c1deee0148b5aff87f46a2631
parent84b84b0896e8329ec439db0fed1cfcb3305f22b7
net/mlx5: fw reset, add reset timeout work

[ Upstream commit 5cfbe7ebfa42fd3c517a701dab5bd73524da9088 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c