]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74668f899d84cc927c0cef2397870fa00956da7e
treeaffa186ed9e98ea67457ddbc97a08d6177bd6a5e
parent3f3c7e654b2f711a53462db514c24e091488300d
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