On Wed, May 17, 2017 at 03:58:40PM +0200, Petr Kulhavy wrote: > This patch enables setting the domainNumber via the pmc command in runtime.
> --- a/clock.c > +++ b/clock.c > @@ -538,6 +538,12 @@ static int clock_management_set(struct clock *c, struct > port *p, > *changed = 1; > respond = 1; > break; > + case TLV_DOMAIN: > + mtd = (struct management_tlv_datum *) tlv->data; > + c->dds.domainNumber = mtd->val; > + *changed = 1; > + respond = 1; > + break; Shouldn't this also reset the state of the clock? -- Miroslav Lichvar ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel