nvethernet: Export an API to get PTP-TSC time pair

Requirement to expose kernel API to fetch PTP-TSC
pair

Bug 3430408

Change-Id: Iba12216b334bca68a87e3f0cc92eff7c32895f45
Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2637365
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Sanath Kumar Gampa
2021-12-06 18:14:44 +05:30
committed by Revanth Kumar Uppala
parent f87b6efd44
commit 0bc5754577
2 changed files with 58 additions and 19 deletions

View File

@@ -2824,7 +2824,7 @@ static int ether_close(struct net_device *ndev)
#endif
/* Unregister broadcasting MAC timestamp to clients */
tegra_unregister_hwtime_source();
tegra_unregister_hwtime_source(ndev);
/* Stop workqueue to get further scheduled */
ether_stats_work_queue_stop(pdata);