On 1/11/23 9:28, Miroslav Lichvar wrote:
On Wed, Nov 01, 2023 at 09:04:12AM +0100, Andre Puschmann wrote:
/opt/linuxptp/ptp4l -2 -i enp1s0f1 -i enp1s0f0 -f /opt/ptp4l_cfg/bc.cfg -m
-l 6
ptp4l[851.735]: selected /dev/ptp1 as PTP clock
ptp4l[851.735]: port 1 (enp1s0f1): PHC device mismatch
ptp4l[851.735]: port 1 (enp1s0f1): /dev/ptp1 requested, ptp0 attached
ptp4l[851.735]: failed to open port enp1s0f1
failed to create a clock
I am not sure where this is coming from but indeed the first interface seems
PHC 1 assigned and the second PHC 0. Not sure if this is an issue.
It is an issue. The two ports of the NIC don't share the same PHC, so
there needs to be something keeping them in sync (phc2sys -a) and
ptp4l needs to be told to not verify the PHC index numbers. That's the
boundary_clock_jbod option. Don't expect best accuracy in this setup.
Thanks Miroslav. I'll give this a try tomorrow. Is there any other NIC
that you can recommend and/or know that has a shared PHC among it's ports?
Thanks
Andre
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users