Re: [Linuxptp-devel] phc2sys, timemaster: stale/bad receive time /w ptp4l using 2 ethernet interfa
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Stefan L. <s....@ga...> - 2017-03-28 08:30:53
|
Hi Miroslav, great, the V2 patch works well with me. Thanks a lot. I also tested unplugging and plugging the involved ethernet interfaces. phc2sys correctly reconfigures after port state changes and switches to the available interface. I also successfully re-tested the regular -w and single interface options that already worked before: /usr/bin/phc2sys -l 7 -w -r -R 1.00 -m -z /var/run/timemaster/ptp4l.0.socket -t [0:eth1+eth2] -n 0 -E ntpshm -M 0 -s /dev/ptp0 and ptp4l -i eth1 -l 5 -m -p /dev/ptp0 -f /etc/ptp_default.cfg resp. ptp4l -i eth2 -l 5 -m -p /dev/ptp0 -f /etc/ptp_default.cfg with /usr/bin/phc2sys -l 7 -a -r -R 1.00 -m -z /var/run/timemaster/ptp4l.0.socket -t [0:eth1+eth2] -n 0 -E ntpshm -M 0 Any suggestions for further testing? The source code of the patch also looks good to me, however someone else with more experience than me should do a review. Best regards, Stefan |