Commit 51117874 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller
Browse files

ionic: re-start ptp after queues up



When returning after a firmware reset, re-start the
PTP after we've restarted the general queues.

Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd7856bc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2987,14 +2987,14 @@ static void ionic_lif_handle_fw_up(struct ionic_lif *lif)
			goto err_txrx_free;
	}

	/* restore the hardware timestamping queues */
	ionic_lif_hwstamp_set(lif, NULL);

	clear_bit(IONIC_LIF_F_FW_RESET, lif->state);
	ionic_link_status_check_request(lif, CAN_SLEEP);
	netif_device_attach(lif->netdev);
	dev_info(ionic->dev, "FW Up: LIFs restarted\n");

	/* restore the hardware timestamping queues */
	ionic_lif_hwstamp_set(lif, NULL);

	return;

err_txrx_free: