Hi all!

In "Automotive Ethernet AVB Functional and Interoperability Specification" 
https://avnu.org/wp-content/uploads/2014/05/Auto-Ethernet-AVB-Func-Interop-Spec_v1.6.pdf
 there is requirement "6.2.2 Persistent gPTP values". I  would like to 
implement the persistent neighborPropDelay which can speed up initial 
synchronization time.


Checking filtered neighborPropDelay is quite easy:


    pmc -u -t1 -b 0 "get PORT_DATA_SET" | grep peerMeanPathDelay


The hard part is passing the stored value to ptp4l on startup. Well, it turned 
out that this is hard, because initially I found --initial_delay parameter 
which should just do the trick. Unfortunately, it doesn't work in automotive 
profile.


In ptp4l source I found that the only code path the parameter is used is 
related to BCMA algorithm which is disabled in automotive profile.


Did I just found a bug? Or there is other way to pass the initial path delay to 
ptp4?


I know, that I could have speed up initial synchronization time by forcing 
faster PDelayReq sending --logMinPdelayReqInterval=-3 but unfortunately this is 
not allowed by automotive specification -- see 6.2.6 Required Values for gPTP.


Best Regards,

Marcin Miklas
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to