ethtool: add a new command for getting PHC virtual clocks
authorYangbo Lu <yangbo.lu@nxp.com>
Wed, 30 Jun 2021 08:11:56 +0000 (16:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 20:08:18 +0000 (13:08 -0700)
commitc156174a67070042d51d2c866146d3c934d5468c
treecf965dceb36a44ea1b61da4c97c18d58163c9e34
parentacb288e8047b7569fbc9af6fa6e9405315345103
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>
Documentation/networking/ethtool-netlink.rst
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/Makefile
net/ethtool/common.c
net/ethtool/netlink.c
net/ethtool/netlink.h
net/ethtool/phc_vclocks.c [new file with mode: 0644]