Re: [Linuxptp-devel] [PATCH v2 0/4] Handle unresponsive ptp4l in phc2sys

2023-11-21 Thread Richard Cochran
On Tue, Nov 14, 2023 at 01:18:58PM +0100, Miroslav Lichvar wrote:
> v2:
> - changed pmc_agent_subscribe() to accept update interval instead of
>   subscription duration to simplify the code and keep constants in one place
> - reordered and merged patches to better follow the previous change
> - improved coding style per suggestions
> 
> This series improves the automatic mode of phc2sys to handle
> unresponsive ptp4l, e.g. stopped, crashed or accidentaly removed socket.
> The first three patches prepare the code for the actual handling
> implemented in the fifth patch.

fourth ;^)

> Miroslav Lichvar (4):
>   pmc_agent: Add function to check if still subscribed.
>   pmc_agent: Make update interval configurable.
>   phc2sys: Better indicate domain with realtime clock.
>   phc2sys: Stop synchronization when ptp4l stops responding.

Series applied.

Thanks,
Richard



___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel


[Linuxptp-devel] [PATCH v2 0/4] Handle unresponsive ptp4l in phc2sys

2023-11-14 Thread Miroslav Lichvar
v2:
- changed pmc_agent_subscribe() to accept update interval instead of
  subscription duration to simplify the code and keep constants in one place
- reordered and merged patches to better follow the previous change
- improved coding style per suggestions

This series improves the automatic mode of phc2sys to handle
unresponsive ptp4l, e.g. stopped, crashed or accidentaly removed socket.
The first three patches prepare the code for the actual handling
implemented in the fifth patch.

Miroslav Lichvar (4):
  pmc_agent: Add function to check if still subscribed.
  pmc_agent: Make update interval configurable.
  phc2sys: Better indicate domain with realtime clock.
  phc2sys: Stop synchronization when ptp4l stops responding.

 phc2sys.c   | 30 ++
 pmc_agent.c | 37 -
 pmc_agent.h | 13 -
 ts2phc.c|  2 +-
 4 files changed, 63 insertions(+), 19 deletions(-)

-- 
2.41.0



___
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel