Commit 45b84188 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller

ionic: keep filters across FLR

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: default avatarShannon Nelson <shannon.nelson@amd.com>
Reviewed-by: default avatarBrett Creeley <brett.creeley@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 24f11024
...@@ -416,6 +416,8 @@ static void ionic_reset_prepare(struct pci_dev *pdev) ...@@ -416,6 +416,8 @@ static void ionic_reset_prepare(struct pci_dev *pdev)
dev_dbg(ionic->dev, "%s: device stopping\n", __func__); dev_dbg(ionic->dev, "%s: device stopping\n", __func__);
set_bit(IONIC_LIF_F_FW_RESET, lif->state);
del_timer_sync(&ionic->watchdog_timer); del_timer_sync(&ionic->watchdog_timer);
cancel_work_sync(&lif->deferred.work); cancel_work_sync(&lif->deferred.work);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment