summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pensando/ionic/ionic_main.c
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2022-08-24 09:50:49 -0700
committerJakub Kicinski <kuba@kernel.org>2022-08-25 12:39:54 -0700
commit9cb9dadb8f45c67e4310e002c2f221b70312b293 (patch)
treeac2b09128506a1729dabfdf223d72effce90695b /drivers/net/ethernet/pensando/ionic/ionic_main.c
parentb0f571ecd7943423c25947439045f0d352ca3dbf (diff)
ionic: clear broken state on generation change
There is a case found in heavy testing where a link flap happens just before a firmware Recovery event and the driver gets stuck in the BROKEN state. This comes from the driver getting interrupted by a FW generation change when coming back up from the link flap, and the call to ionic_start_queues() in ionic_link_status_check() fails. This can be addressed by having the fw_up code clear the BROKEN bit if seen, rather than waiting for a user to manually force the interface down and then back up. Fixes: 9e8eaf8427b6 ("ionic: stop watchdog when in broken state") Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_main.c')
0 files changed, 0 insertions, 0 deletions