Re: [Linuxptp-devel] [PATCH 5/5] phc2sys: Stop synchronization when ptp4l stops responding.

2023-11-14 Thread Miroslav Lichvar
On Thu, Nov 09, 2023 at 10:54:31PM -0800, Richard Cochran wrote: > On Thu, Oct 26, 2023 at 02:40:11PM +0200, Miroslav Lichvar wrote: > > > @@ -942,8 +957,8 @@ static int auto_init_ports(struct domain *domain) > > } > > > > err = pmc_agent_subscribe(domain->agent, 1000, > > -

Re: [Linuxptp-devel] [PATCH 5/5] phc2sys: Stop synchronization when ptp4l stops responding.

2023-11-10 Thread Erez
On Fri, 10 Nov 2023 at 07:55, Richard Cochran wrote: > On Thu, Oct 26, 2023 at 02:40:11PM +0200, Miroslav Lichvar wrote: > > > @@ -942,8 +957,8 @@ static int auto_init_ports(struct domain *domain) > > } > > > > err = pmc_agent_subscribe(domain->agent, 1000, > > -

Re: [Linuxptp-devel] [PATCH 5/5] phc2sys: Stop synchronization when ptp4l stops responding.

2023-11-09 Thread Richard Cochran
On Thu, Oct 26, 2023 at 02:40:11PM +0200, Miroslav Lichvar wrote: > @@ -942,8 +957,8 @@ static int auto_init_ports(struct domain *domain) > } > > err = pmc_agent_subscribe(domain->agent, 1000, > - (60 > domain->phc_interval ? > -

[Linuxptp-devel] [PATCH 5/5] phc2sys: Stop synchronization when ptp4l stops responding.

2023-10-26 Thread Miroslav Lichvar
phc2sys in the automatic mode waits for ptp4l on start, but doesn't care if it stopped providing state notifications and responding to UTC offset requests, e.g. if it stopped, crashed, freezed, or its socket was removed by a misconfigured ptp4l instance. To better handle broken communication with