Re: [Linuxptp-devel] [PATCH v3] phc2sys: Add support for free-running mode

2022-07-25 Thread Maciek Machnikowski
On Sun, Jul 24, 2022 at 05:46:56PM -0700, Richard Cochran wrote: > On Tue, Jun 21, 2022 at 12:16:40PM +0200, Maciek Machnikowski wrote: > > > @@ -544,6 +546,9 @@ static void update_clock(struct phc2sys_private *priv, > > struct clock *clock, > > > > offset += get_sync_offset(priv, clock);

Re: [Linuxptp-devel] [PATCH v3] phc2sys: Add support for free-running mode

2022-07-24 Thread Richard Cochran
On Tue, Jun 21, 2022 at 12:16:40PM +0200, Maciek Machnikowski wrote: > @@ -544,6 +546,9 @@ static void update_clock(struct phc2sys_private *priv, > struct clock *clock, > > offset += get_sync_offset(priv, clock); > > + if (priv->free_running) > + goto report; I think

[Linuxptp-devel] [PATCH v3] phc2sys: Add support for free-running mode

2022-06-21 Thread Maciek Machnikowski
Add support for the free-running mode that will not adjust the sink clock when enabled. V2: changed implementation to instantiate NTPSHM servo that serves as the nochange servo V3: revert to original implementation and remove unused global Signed-off-by: Maciek Machnikowski --- phc2sys.8 |