]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Start health poll at earlier stage of driver load
authorMoshe Shemesh <moshe@nvidia.com>
Sun, 2 Oct 2022 04:56:28 +0000 (21:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 3 Oct 2022 23:55:29 +0000 (16:55 -0700)
commit23a1f9c6d693f761181932f41a68fae2068ee5f7
tree3db284535fa18d2085e7b85fbd6b92586cd59f97
parentd072d67196a07e13d462fffd58d686086f1537f6
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>
drivers/net/ethernet/mellanox/mlx5/core/health.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h