[Linuxptp-devel] multiple phc2sys instances

2020-11-12 Thread Paul Thomas
Hello, This is more complex than I originally thought. However, I think I might be getting a handle on what I want to do. I have a lab setup where locally I want to synchronize several hosts each with two Ethernet interfaces. For eth1 I would like the PHC to be correct, but I don't want ptp traffi

Re: [Linuxptp-devel] multiple phc2sys instances

2020-11-12 Thread Richard Cochran
On Thu, Nov 12, 2020 at 10:01:57AM -0500, Paul Thomas wrote: > My first question is: does this seem like a reasonable setup? Seems okay to me. Bear in mind that routing the time signal through phc2sys (and thus the Linux system time) introduces error at each step. > My > second question is arou

Re: [Linuxptp-devel] multiple phc2sys instances

2020-11-12 Thread Hussamuddin Nasir via Linuxptp-devel
Hi Paul and Richard,   We are in a similar boat where we have multiple Mellanox Connect X5/6 cards on a Dell server that will allocated to VMs as PCI passthru. The control NIC on the host which is also a Mellanox CX5 receives PTP signals from a PTP master clock. The PCI pass thru cards have no

Re: [Linuxptp-devel] multiple phc2sys instances

2020-11-12 Thread Hussamuddin Nasir via Linuxptp-devel
Oh and just to add, we run ptp4l on the host in unicast mode since we have no more than 5 or 6 hosts that need to be synced all tied via their control NIC to the same VLAN. -- cheers, Hussam (Hussamuddin Nasir) Netlab & GENI Operations Team ---

Re: [Linuxptp-devel] multiple phc2sys instances

2020-11-12 Thread Richard Cochran
On Thu, Nov 12, 2020 at 09:49:38PM -0500, Hussamuddin Nasir via Linuxptp-devel wrote: > The logs suggested that the delay path was off by +/- 4ns which was > acceptable for us. > > Richard: Does this sound like a workable solution.. ? Yes, your use case is the reason why ptp_kvm was created in t

Re: [Linuxptp-devel] multiple phc2sys instances

2020-11-12 Thread Hussamuddin Nasir via Linuxptp-devel
One last question regarding that. When ptp4l and phc2sys(auto mode) are used on the host, the UTC-TAI offset used with whatever the default is. But when inside the KVMs , using phc2sys with ptp_kvm, i have to specify the offset manually. So should the offset there be "0" since the hosts syst