On Wed, Dec 02, 2020 at 06:56:10PM +0100, Christian Eggers wrote:
> The main question is whether Richard would agree to an interface for writing
> the measured peer delays (measured by ptp4l) to the device driver.

You would need two things:

1. A new kernel interface.  Not sure where the best place for
   this would be, but it surely it can be done.

2. A small program (not ptp4l) that queries PORT_DATA_SET.peerMeanPathDelay 
   and writes the values via the new interface.  This program could
   even be a shell script that calls the pmc utility.

   Of course, you would run ptp4l with --slaveOnly=1 and --free_running=1
   in order to generate the peer delay measurements.

Thanks,
Richard



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to