mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet: IOCTL and broadcasting MAC timestamp support
1) Register broadcasting MAC timestamp to clients so that client can make use of the ptp callback for getting the timestamp 2) Add private ioctl to read Timestamp information of both HW PTP time and kernel time Bug 200512422 Change-Id: I03509cc02f28571108a1061c739840c86f960af4 Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2161172 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
ffde058071
commit
da8bbea503
@@ -1962,6 +1962,10 @@ static int ether_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
|
||||
ret = ether_handle_priv_ioctl(dev, rq);
|
||||
break;
|
||||
|
||||
case ETHER_PRV_TS_IOCTL:
|
||||
ret = ether_handle_priv_ts_ioctl(pdata, rq);
|
||||
break;
|
||||
|
||||
case SIOCSHWTSTAMP:
|
||||
ret = ether_handle_hwtstamp_ioctl(pdata, rq);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user