Re: [Linuxptp-devel] [PATCH v1] pi: Fix drift history when entering SERVO_LOCKED state

2023-08-21 Thread Maciek Machnikowski
On 8/21/2023 2:04 PM, Miroslav Lichvar wrote: > On Fri, Aug 18, 2023 at 12:31:47PM +0200, Maciek Machnikowski wrote: >> Current implementation saves s->drift as an offset between current clock >> frequency and the remote clock frequency calculated on first two samples. >> >> Locked state of the

Re: [Linuxptp-devel] [PATCH v1] pi: Fix drift history when entering SERVO_LOCKED state

2023-08-21 Thread Miroslav Lichvar
On Fri, Aug 18, 2023 at 12:31:47PM +0200, Maciek Machnikowski wrote: > Current implementation saves s->drift as an offset between current clock > frequency and the remote clock frequency calculated on first two samples. > > Locked state of the PI servo assumes the s->drift holds the history > of c

[Linuxptp-devel] [PATCH 1/1] Add more counters to Port Stats

2023-08-21 Thread Luigi Mantellini
The PORTS_STATS_NP carries RX/TX counters for each Message Type. The following patch fills the spare slots in order to add the following counters: (MSG_TYPES EVENT0x0...0x3) RX_BAD_MESSAGE 0x4 RX_BAD_PROTOCOL 0x5 RX_FAIL_RECEIVE 0x6 RX_MISSING_TIME

[Linuxptp-devel] [PATCH 0/1] Add more counters to Port Stats

2023-08-21 Thread Luigi Mantellini
Dear all, please ignore the previous proposed patch to add PORT_STATS_2_NP. The PORTS_STATS_NP carries RX/TX counters for each Message Type. The following patch fills the spare slots in order to add the following counters: (MSG_TYPES EVENT0x0...0x3) RX_BAD_MESSAGE 0x4 R

Re: [Linuxptp-devel] CMLDS Patches

2023-08-21 Thread Walfred Tedeschi via Linuxptp-devel
On 11.08.23 19:13, Richard Cochran wrote: HI Richard, Thanks a lot for the prompt answer! On Fri, Aug 11, 2023 at 02:51:23PM +0200, Walfred Tedeschi via Linuxptp-devel wrote: Dear List, I kindly come to you to ask attention on the patches regarding the multi-domain implementation. I have lim