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)
commit924cc4633f048b4fb4af3d1f9a51d10867625339
treee96137387c4c41fa6eb3e1285bc644b3d410953e
parent76091b0fb60970f610b7ba2d886cd7fb95c5eb2e
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: 5a1023deeed0 ("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