Re: [PATCH net-next 2/3] dt-bindings: net: micrel: Configure latency values and timestamping check for LAN8814 phy

From
Richard Cochran <richardcochran@gmail.com>
Date
2022-03-13 20:03:34
Also in
linux-devicetree, lkml
Reply to
Allan W. Nielsen, 2022-03-13
On Sun, Mar 13, 2022 at 08:37:44PM +0100, Allan W. Nielsen wrote:
On Sun, Mar 13, 2022 at 04:07:24PM +0100, Andrew Lunn wrote:
quoted
On Sat, Mar 12, 2022 at 06:46:46PM -0800, Richard Cochran wrote:
quoted
On Sat, Mar 12, 2022 at 09:04:31PM +0100, Andrew Lunn wrote:
quoted
Do these get passed to the kernel so the hardware can act on them, or
are they used purely in userspace by ptp4l?
user space only.
I'm wondering if one-step will work if these correction values are not
applied to HW.
They are applied to the time stamps that are available to the
program.  So, no, they obviously won't be applied to one step Sync.
But then again, neither will the driver values.

(You could imagine a HW tstamp unit that includes a correction factor,
for example by adding the egress time stamp value to the correction
field.  But there are no APIs for that, and maybe no HW either.)

(BTW one step is overrated IMO)

Thanks,
Richard
Thread (53 messages) 53 messages, 12 authors, last reply 2022-03-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help