Skip to content

Commit

Permalink
ionic: keep filters across FLR
Browse files Browse the repository at this point in the history
Make sure we keep and replay the filters and RSS config across
an FLR by using our FW_RESET flag.  This gets checked on the
way down and on the way back up to help determine how much LIF
state to keep and restore across a reset action.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Shannon Nelson authored and David S. Miller committed Dec 13, 2023
1 parent 24f1102 commit 45b8418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ static void ionic_reset_prepare(struct pci_dev *pdev)

dev_dbg(ionic->dev, "%s: device stopping\n", __func__);

set_bit(IONIC_LIF_F_FW_RESET, lif->state);

del_timer_sync(&ionic->watchdog_timer);
cancel_work_sync(&lif->deferred.work);

Expand Down

0 comments on commit 45b8418

Please sign in to comment.