Discussion:
[Linuxptp-devel] Synchronization Ethernet ports for correct timestamp(RAW)
Rustam Mustafin
2013-09-25 06:44:27 UTC
Permalink
Hello

Tell me please whether synchronize the different /dev/ ptp ?
I want to synchronize to ptp port eth2 and get the correct time stamp on the ports eth3,4,5 or synchronized via eth0 and get the correct timestamp (RAW) on ports eth2,3,4,5 ( as shown in the figure)

If I run (eth0 no support ptp):

./phc2sys -s /dev/ptp2 -c /dev/ptp3 -R 100 -w &
./ptp4l -i eth3 -P -s -H -4 -p /dev/ptp2 -m

RAW time stamp on the port eth3 be true, but on the ports eth4,5,6 will be a large linear .


Rustam Mustafin.
Richard Cochran
2013-09-25 17:01:00 UTC
Permalink
Post by Rustam Mustafin
Hello
Tell me please whether synchronize the different /dev/ ptp ?
I want to synchronize to ptp port eth2 and get the correct time stamp on the ports eth3,4,5 or synchronized via eth0 and get the correct timestamp (RAW) on ports eth2,3,4,5 ( as shown in the figure)
./phc2sys -s /dev/ptp2 -c /dev/ptp3 -R 100 -w &
./ptp4l -i eth3 -P -s -H -4 -p /dev/ptp2 -m
Unfortunately, the four ports on your card are *not* sharing the same
clock. You can run a phc2sys instance for each port, if you want.
Probably you can get the ports to within a few microseconds of each
other that way.

Sorry,
Richard

Loading...