[Linuxptp-users] Configure PTP4L through multiple NICs

2023-05-16 Thread Chang, Benjamin via Linuxptp-users
Hello, I am trying to have my device receive PTP from a master clock from one NIC and output it through another NIC. >From my understanding, I need to set boundary_clock_jbod high in the >/etc/ptp4l.conf file. I tried running the command "ptp4l -p /dev/ptp4 -I eno1 >-ens801f1 -m" as well as

Re: [Linuxptp-users] gPTP and PTP on the same computer

2023-05-16 Thread Richard Cochran
On Tue, May 16, 2023 at 01:54:47PM +, Eric Decker wrote: > I have a question related to the question below. If you use a > boundary clock between gPTP and PTP, does the PHC have to be shared > by both NICs? Yes. > If each NIC has an independent PHC I think phy2sys has to be used > two

Re: [Linuxptp-users] Software timestamping delay - master offset drift

2023-05-16 Thread Elder Costa
> > > Is it possible to force it to +0 like in the log of the > > > first run above, the one that synchronizes? > > phc_ctl CLOCK_REALTIME freq 0 > Hello, Miroslav, thank you very much. BR. ___ Linuxptp-users mailing list

Re: [Linuxptp-users] Software timestamping delay - master offset drift

2023-05-16 Thread Miroslav Lichvar
On Tue, May 16, 2023 at 11:04:36AM -0300, Elder Costa wrote: > > > ptp4l[484.261]: port 1 (enp3s0): new foreign master 0001c0.fffe.1a3cda-1 > > > ptp4l[488.262]: selected best master clock 0001c0.fffe.1a3cda > > > ptp4l[488.262]: foreign master not using PTP timescale > > > ptp4l[488.262]: port 1

Re: [Linuxptp-users] gPTP and PTP on the same computer

2023-05-16 Thread Eric Decker
I have a question related to the question below. If you use a boundary clock between gPTP and PTP, does the PHC have to be shared by both NICs? What I mean is the PHC is shared by both NICs while each NIC independently timestamps PTP frames using the same PTP hardware clock. If each NIC has

Re: [Linuxptp-users] gPTP and PTP on the same computer

2023-05-16 Thread Fueloep, Tamas via Linuxptp-users
Hi Richard, Thanks for the prompt reply. Yeah, maybe I am a bit insane, but I find it fun hahaha I will try what you suggested and report back if it worked. Maybe that's a useful info for others as well. Thanks, Tamas From: Richard Cochran Sent: Tuesday, May

Re: [Linuxptp-users] Software timestamping delay - master offset drift

2023-05-16 Thread Elder Costa
> > ptp4l[484.261]: port 1 (enp3s0): new foreign master 0001c0.fffe.1a3cda-1 > > ptp4l[488.262]: selected best master clock 0001c0.fffe.1a3cda > > ptp4l[488.262]: foreign master not using PTP timescale > > ptp4l[488.262]: port 1 (enp3s0): LISTENING to UNCALIBRATED on RS_SLAVE > > ptp4l[490.263]:

Re: [Linuxptp-users] gPTP and PTP on the same computer

2023-05-16 Thread Richard Cochran
On Tue, May 16, 2023 at 08:35:36AM +, Fueloep, Tamas via Linuxptp-users wrote: > Dear LinuxPTP mailing list participants, > > First of all, thank you very much for this amazing software - it > really makes life easier and it is fun to use.  "fun to use?" hahaha that is new! > I would

[Linuxptp-users] gPTP and PTP on the same computer

2023-05-16 Thread Fueloep, Tamas via Linuxptp-users
Dear LinuxPTP mailing list participants, First of all, thank you very much for this amazing software - it really makes life easier and it is fun to use.  I would have a question, because I can't get a grasp on something. I have a setup, where multiple sensors are connected to the same