diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-04-30 14:33:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 18:02:46 -0700 |
commit | 6bc977faa0af88dfdb278f16b171d49d51f43733 (patch) | |
tree | 70212e8b1786f55599baaaa99103a617ebcd459b /drivers/net | |
parent | 1d53aedcf98485d9911a524d1f66c66f4d53f4cf (diff) | |
download | linux-6bc977faa0af88dfdb278f16b171d49d51f43733.tar.bz2 |
ionic: add device reset to fw upgrade down
Doing a device reset addresses an obscure FW timing issue in
the FW upgrade process.
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_lif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c index 6fcfb634d809..d5293bfded29 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c @@ -2101,6 +2101,7 @@ static void ionic_lif_handle_fw_down(struct ionic_lif *lif) ionic_txrx_free(lif); } ionic_lifs_deinit(ionic); + ionic_reset(ionic); ionic_qcqs_free(lif); dev_info(ionic->dev, "FW Down: LIFs stopped\n"); |