ionic: stop watchdog when in broken state
authorShannon Nelson <snelson@pensando.io>
Fri, 19 Mar 2021 00:48:09 +0000 (17:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2021 02:16:10 +0000 (19:16 -0700)
commit9e8eaf8427b6e07e8359a565f1f43c499fce6fa7
treeaffa186ed9e98ea67457ddbc97a08d6177bd6a5e
parent8c775344c76806c75c4bf94f8ba1e6ac3c069b62
ionic: stop watchdog when in broken state

Up to now we've been ignoring any error return from the
queue starting in the link status check, so we fix that here.
If the driver had to reset and couldn't get things running
properly again, for example after a Tx Timeout and the FW is
not responding to commands, don't let the link watchdog try
to restart the queues.  At this point the user can try to DOWN
and UP the device to clear the errors.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h