summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pensando/ionic/ionic_lif.c
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2021-04-07 16:20:00 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-08 13:18:49 -0700
commit829600ce5e4e985a8a49c445c5e5c72ca613ce41 (patch)
treeb45514031783cbcfa24a4e23d6dbcd1bd0e47648 /drivers/net/ethernet/pensando/ionic/ionic_lif.c
parent99b5bea04f0f0dc9e6278536a269e1f4795b73e1 (diff)
ionic: add ts_config replay
Split the call into ionic_lif_hwstamp_set() to have two separate interfaces, one from the ioctl() for changing the configuration and one for replaying the current configuration after a FW RESET. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_lif.c')
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_lif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
index eae774c0a2d9..af3a5368529c 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c
+++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c
@@ -2993,7 +2993,7 @@ static void ionic_lif_handle_fw_up(struct ionic_lif *lif)
dev_info(ionic->dev, "FW Up: LIFs restarted\n");
/* restore the hardware timestamping queues */
- ionic_lif_hwstamp_set(lif, NULL);
+ ionic_lif_hwstamp_replay(lif);
return;