Thread (28 messages) flat view 28 messages, 6 authors, 2021-06-25

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

From: "Y.b. Lu" <yangbo.lu@nxp.com>
Date: 2021-06-22 10:10:40
Also in: linux-kselftest, lkml, mptcp

Hi Michal,
-----Original Message-----
From: Michal Kubecek <redacted>
Sent: 2021年6月16日 7:25
To: Y.b. Lu <yangbo.lu@nxp.com>
Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
linux-kselftest@vger.kernel.org; mptcp@lists.linux.dev; Richard Cochran
[off-list ref]; David S . Miller [off-list ref];
Jakub Kicinski [off-list ref]; Mat Martineau
[off-list ref]; Matthieu Baerts
[off-list ref]; Shuah Khan [off-list ref]; Florian
Fainelli [off-list ref]; Andrew Lunn [off-list ref]; Rui Sousa
[off-list ref]; Sebastien Laveze [off-list ref]
Subject: Re: [net-next, v3, 05/10] ethtool: add a new command for getting PHC
virtual clocks

On Tue, Jun 15, 2021 at 05:45:12PM +0800, Yangbo Lu wrote:
quoted
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>
---
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
++++++++++++++++++++++++++++
quoted
 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
Will update doc. Thank you.
Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help