On Wed, Nov 14, 2018 at 02:10:13PM -0800, Vedang Patel wrote: > @@ -1221,6 +1221,10 @@ static int port_pdelay_request(struct port *p) > struct ptp_message *msg; > int err; > > + if (p->inhibit_pdelay_req) { > + return 0; > + }
Move this test to prevent the delay timer arming in the first place. > @@ -749,6 +749,12 @@ sync message intervals and pdelay request intervals can > be indicated by > operLogSyncInterval and operLogPdelayReqInterval respectively. This mechanism > is currently only supported when BMCA == 'noop'. The default > value of offset_threshold is 0 (disabled). > +.TP > +.B inhibit_pdelay_req > +Don't send delay requests for P2P delay mechanisms. This will need the > +asCapable config option to be set to 'true'. This is useful when running as a > +designated master who does not need to calculate offset from slave. The > default > +is 0 (disabled). Please generalize this option to inhibit any kind of delay requests. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel