0

On my system, i have two CPUs - CPU1 and CPU2 connected with each other using ethernet (phy-less). Each of these cpus have their own PHC (PTP hardware clock). Both of these ptp hardware clock are fed using same external clock. Thus there is no frequency offset between PHC1 and PHC2. CPU1 is connected to gps and hence can get ToD (time of day). The goal is to sync-up the ToD (time of day) in both PHCs. For this, i am running ptp4l with CPU1 as master and CPU2 as slave.

Since i do not need frequency correction, how can I tell ptp4l to do only offset correction and no frequency correction?

Regards Vakul

PS: I have used ptp4l in the above-mentioned setup and noticed that adjfine is still getting called by ptp4l process. This was confirmed by attaching strace with ptp4l process. As both the PHCs are being fed with the same clock source, ideally, there should not be any frequency offset between them. But I still see non-zero frequency offset in ptp4l logs and hence adjfine is getting called.

Vakul Garg
  • 13
  • 8

1 Answers1

0

Ultimately at the PHC level the adjustment is done in time/phase by writing the correction value to time increment. There is no frequency adjustment done to the oscillator. This is as far as Intel NICs are considered