net/mlx5: Stop polling for command response if interface goes down
Stop polling on firmware response to command in polling mode if the command interface got down. This situation can occur, for example, if a firmware fatal error is detected during polling. This change halts the polling process when the command interface goes down, preventing unnecessary waits. Fixes: b898ce7b ("net/mlx5: cmdif, Avoid skipping reclaim pages if FW is not accessible") 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>
Loading
Please sign in to comment