Re: [Linuxptp-users] Non-zero correction field with linuxptp
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2015-09-14 09:15:51
|
On Mon, Sep 14, 2015 at 02:30:19PM +0530, Harini Katakam wrote: > We are running linuxptp on both master and slave. The master and slave are > either PCs with Ubuntu OS or a Xilinx embedded system with linux. The transit > time is getting added in the TC i.e. it updates the 8 byte correction field. > Does linuxptp consider this field in delay computations? Yes. > What config needs to be enabled for the same? No configuration needed. The correction fields are automatically included in the offset calculation. See port_synchronize() in port.c > When we tried this by updating the correction field > (even if only with 1 ns), we observed a hang - there was no DelayResponse frame > observed and the sync stopped in s2 stage. If the correction field is made > zero again (dynamically in the TC), the sync resumes as expected. I find it hard to believe that ptp4l would hang like this. Just what do you mean by "hang"? Thanks, Richard |