Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure
From: Richard Cochran
Date: Fri Jan 20 2017 - 15:27:38 EST
On Fri, Jan 20, 2017 at 10:20:29AM -0200, Marcelo Tosatti wrote:
> Emulate PTP_SYS_OFFSET by using an arithmetic mean of the
> realtime samples from ->getcrosststamp callback.
This change log is not very informative.
Yes, I can see that the new code calculates a mean.
But WHY is this needed?
And why is this kvm case so special, that it requires its own new flag
within the generic PHC subsystem?
Thanks,
Richard