ionic: fire watchdog again after fw_down
authorShannon Nelson <snelson@pensando.io>
Fri, 27 Aug 2021 18:55:07 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2021 10:23:09 +0000 (11:23 +0100)
commitd3e2dcdb6853ee263283121360f5facb73627cfd
tree171314e085f535b5e9abd1f44daddf57ce58d497
parent4af874f40ebb4c906eb632d8756673648c5724e6
ionic: fire watchdog again after fw_down

In some cases of fw_down it was called because there was a
fw_generation change, and the firmware is already back up.
In order to keep the down time to a minimum, don't wait for
the next watchdog polling cycle, fire another watchdog off
as soon as we can - an out-of-cycle check won't hurt, and
may well speed up the recovery.

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