ethtool: add a new command for getting PHC virtual clocks
Add an interface for getting PHC (PTP Hardware Clock) virtual clocks, which are based on PHC physical clock providing hardware timestamp to network packets. Signed-off-by:Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- Documentation/networking/ethtool-netlink.rst 22 additions, 0 deletionsDocumentation/networking/ethtool-netlink.rst
- include/linux/ethtool.h 10 additions, 0 deletionsinclude/linux/ethtool.h
- include/uapi/linux/ethtool_netlink.h 15 additions, 0 deletionsinclude/uapi/linux/ethtool_netlink.h
- net/ethtool/Makefile 1 addition, 1 deletionnet/ethtool/Makefile
- net/ethtool/common.c 13 additions, 0 deletionsnet/ethtool/common.c
- net/ethtool/netlink.c 10 additions, 0 deletionsnet/ethtool/netlink.c
- net/ethtool/netlink.h 2 additions, 0 deletionsnet/ethtool/netlink.h
- net/ethtool/phc_vclocks.c 94 additions, 0 deletionsnet/ethtool/phc_vclocks.c
Please register or sign in to comment