Thread (24 messages) 24 messages, 3 authors, 2023-05-22

Re: [PATCH net-next 1/9] ptp: Clarify ptp_clock_info .adjphase expects an internal servo to be used

From: Richard Cochran <richardcochran@gmail.com>
Date: 2023-05-12 00:51:52

On Thu, May 11, 2023 at 01:20:45PM -0700, Rahul Rameshbabu wrote:
If the PHC does not restore the frequency, won't the value cached in the
ptp stack in the kernel become inaccurate compared to the frequency
change induced by the '.adjphase' call?
If the HW implements a PI controller, and if it has converged, then
the current frequency will be close to the remote time server's.
This concern is why I added this
clause in the documentation. Let me know if my understanding is off with
regards to this. I think we had a similar conversation on this
previously in the mailing list.

https://lore.kernel.org/netdev/Y88L6EPtgvW4tSA+@hoboy.vegasvil.org/ (local)
I guess it depends on the HW algorithm and the situation.  But I don't
think there is a "rule" that always gets the best result.

Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help