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

Reply via email to