Skip to content

Commit 45b8418

Browse files
emuslndavem330
authored andcommitted
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: Shannon Nelson <[email protected]> Reviewed-by: Brett Creeley <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 24f1102 commit 45b8418

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ static void ionic_reset_prepare(struct pci_dev *pdev)
416416

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

419+
set_bit(IONIC_LIF_F_FW_RESET, lif->state);
420+
419421
del_timer_sync(&ionic->watchdog_timer);
420422
cancel_work_sync(&lif->deferred.work);
421423

0 commit comments

Comments
 (0)