Re: [Linuxptp-devel] [PATCH] phc2sys: Notify kernel if clock is not in sync

2020-02-17 Thread Miroslav Lichvar
On Fri, Feb 14, 2020 at 01:23:44PM +0200, Ville Heikkinen wrote: > In case there is no connection to the server, notify the kernel > that the clock is currently unsynchronized. Is the idea to use the flag for monitoring phc2sys? I'm not sure if that's how the UNSYNC flag is supposed to be used.

Re: [Linuxptp-devel] [PATCH] phc2sys: Notify kernel if clock is not in sync

2020-02-17 Thread Heikkinen, Ville (Nokia - FI/Espoo)
On 2/17/20 11:06 AM, Miroslav Lichvar wrote: On Fri, Feb 14, 2020 at 01:23:44PM +0200, Ville Heikkinen wrote: In case there is no connection to the server, notify the kernel that the clock is currently unsynchronized. Is the idea to use the flag for monitoring phc2sys? The idea is to

Re: [Linuxptp-devel] [PATCH] phc2sys: Notify kernel if clock is not in sync

2020-02-17 Thread Miroslav Lichvar
On Mon, Feb 17, 2020 at 02:34:14PM +0200, Heikkinen, Ville (Nokia - FI/Espoo) wrote: > (https://www.eecis.udel.edu/~mills/database/reports/kern/kernb.pdf). In > there, it's specified that "STA_UNSYNC set/cleared by the caller to indicate > clock unsynchronized (e.g., when no peers are