]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix too early queueing of log timestamp work
authorGal Pressman <gal@nvidia.com>
Sat, 6 Nov 2021 18:19:09 +0000 (20:19 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 1 Dec 2021 06:35:05 +0000 (22:35 -0800)
commitfbabe07c9bc80f1f98c738e18ade894c882b58fa
treee96137387c4c41fa6eb3e1285bc644b3d410953e
parente24da7ea688ee67cf735a4235d9454d1c72ff2c7
net/mlx5: Fix too early queueing of log timestamp work

The log timestamp work should not be queued before the command interface
is initialized, move it to a later stage in the init flow.

Fixes: 87b4196fc425 ("net/mlx5: Add periodic update of host time to firmware")
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c