net/mlx5: Start health poll at earlier stage of driver load
Start health poll at earlier stage, so if fw fatal issue occurred before or during initialization commands such as init_hca or set_hca_cap the poll health can detect and indicate that the driver is already in error state. Signed-off-by:Moshe Shemesh <moshe@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/health.c 8 additions, 3 deletionsdrivers/net/ethernet/mellanox/mlx5/core/health.c
- drivers/net/ethernet/mellanox/mlx5/core/main.c 10 additions, 7 deletionsdrivers/net/ethernet/mellanox/mlx5/core/main.c
- include/linux/mlx5/driver.h 1 addition, 0 deletionsinclude/linux/mlx5/driver.h
Please register or sign in to comment