Re: [PATCH net 2/2] net/mlx5: Start health poll after enable hca

From: Kalesh Anakkur Purayil
Date: Wed Mar 19 2025 - 07:38:45 EST


On Wed, Mar 19, 2025 at 2:22 AM Tariq Toukan <tariqt@xxxxxxxxxx> wrote:
>
> From: Moshe Shemesh <moshe@xxxxxxxxxx>
>
> The health poll mechanism performs periodic checks to detect firmware
> errors. One of the checks verifies the function is still enabled on
> firmware side, but the function is enabled only after enable_hca command
> completed. Start health poll after enable_hca command to avoid a race
> between function enabled and first health polling.
>
> Fixes: 9b98d395b85d ("net/mlx5: Start health poll at earlier stage of driver load")
> Signed-off-by: Moshe Shemesh <moshe@xxxxxxxxxx>
> Reviewed-by: Shay Drori <shayd@xxxxxxxxxx>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@xxxxxxxxxxxx>
--
Regards,
Kalesh AP

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature