ionic: start watchdog after all is setup
authorShannon Nelson <snelson@pensando.io>
Mon, 24 Jan 2022 18:52:58 +0000 (10:52 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:25 +0000 (14:23 +0200)
commit4f69a923a3880f0a396d62f8a0cc2b0584407d03
treeb0641c5d5d0bd8d8c7e37e57deb403709ce398bd
parent76624b5a61c7e9d5fe9afc82f8b7e5f2ae1aaba9
ionic: start watchdog after all is setup

[ Upstream commit 9ad2939a1525962a79a2fd974ec7e3a71455b964 ]

The watchdog expects the lif to fully exist when it goes off,
so lets not start the watchdog until all is ready in case there
is some quirky time dialation that makes probe take multiple
seconds.

Fixes: 089406bc5ad6 ("ionic: add a watchdog timer to monitor heartbeat")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_dev.c