Re: [Linuxptp-devel] [PATCH v3 4/6] Add a push notification for the CMLDS TLV.

2023-12-06 Thread Erez
On Tue, 5 Dec 2023 at 08:59, Miroslav Lichvar wrote: > On Mon, Dec 04, 2023 at 11:25:00PM +0100, Andrew Zaborowski wrote: > > On Sun, 3 Dec 2023 at 00:39, Richard Cochran > wrote: > > > @@ -306,13 +307,15 @@ static void do_set_action(struct pmc *pmc, int > action, int index, char *str) > > >

Re: [Linuxptp-devel] [PATCH v3 4/6] Add a push notification for the CMLDS TLV.

2023-12-05 Thread Richard Cochran
On Tue, Dec 05, 2023 at 08:57:36AM +0100, Miroslav Lichvar wrote: > On Mon, Dec 04, 2023 at 11:25:00PM +0100, Andrew Zaborowski wrote: > > Doing cnt != 4 && cnt != 5 should just work as sscanf() should stop > > parsing when it doesn't find NOTIFY_CMLDS and leave onoff_cmlds as > > "off". Obviousl

Re: [Linuxptp-devel] [PATCH v3 4/6] Add a push notification for the CMLDS TLV.

2023-12-05 Thread Miroslav Lichvar
On Mon, Dec 04, 2023 at 11:25:00PM +0100, Andrew Zaborowski wrote: > On Sun, 3 Dec 2023 at 00:39, Richard Cochran wrote: > > @@ -306,13 +307,15 @@ static void do_set_action(struct pmc *pmc, int > > action, int index, char *str) > > "duration %hu " > >

Re: [Linuxptp-devel] [PATCH v3 4/6] Add a push notification for the CMLDS TLV.

2023-12-04 Thread Andrew Zaborowski
On Sun, 3 Dec 2023 at 00:39, Richard Cochran wrote: > @@ -306,13 +307,15 @@ static void do_set_action(struct pmc *pmc, int action, > int index, char *str) > "duration %hu " > "NOTIFY_PORT_STATE %3s " >

[Linuxptp-devel] [PATCH v3 4/6] Add a push notification for the CMLDS TLV.

2023-12-02 Thread Richard Cochran
Signed-off-by: Richard Cochran --- notification.h | 1 + pmc.c | 6 -- pmc_common.c | 14 ++ port.c | 7 +++ 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/notification.h b/notification.h index c1a6395..7a8f641 100644 --- a/notification.h