Re: [net-next, v3, 05/10] ethtool: add a new command for getting PHC virtual clocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 15, 2021 at 05:45:12PM +0800, Yangbo Lu wrote:
> 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@xxxxxxx>
> ---
> Changes for v3:
> 	- Added this patch.
> ---
>  include/linux/ethtool.h              |  2 +
>  include/uapi/linux/ethtool.h         | 14 +++++
>  include/uapi/linux/ethtool_netlink.h | 15 +++++
>  net/ethtool/Makefile                 |  2 +-
>  net/ethtool/common.c                 | 23 ++++++++
>  net/ethtool/common.h                 |  2 +
>  net/ethtool/ioctl.c                  | 27 +++++++++
>  net/ethtool/netlink.c                | 10 ++++
>  net/ethtool/netlink.h                |  2 +
>  net/ethtool/phc_vclocks.c            | 86 ++++++++++++++++++++++++++++
>  10 files changed, 182 insertions(+), 1 deletion(-)
>  create mode 100644 net/ethtool/phc_vclocks.c

When updating the ethtool netlink API, please update also its
documentation in Documentation/networking/ethtool-netlink.rst

Michal



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux