On Sun, Sep 27, 2020 at 06:36:07PM +0000, Zuckerbrod, Daniel wrote:
> Would that be by telling it which /dev/ptpx I am using?

No, the way to do it is to have each ptp4l instance have its own Unix
Domain Socket (UDS) for local management messages.  Use the following
ptp4l configuration option for this.

       uds_address
              Specifies the address of the UNIX domain  socket  for  receiving
              local management messages. The default is /var/run/ptp4l.

Then, you should tell pmc to select the UDS address of the ptp4l
instance of interest.  For that, use the following pmc command line
options.

       -u     Select the Unix Domain Socket transport.

       -b boundary-hops
              Specify the boundary hops value in sent messages. The default is
              1.

       -d domain-number
              Specify the domain number in sent messages. The default is 0.

       -s uds-address
              Specifies  the  address of the server's UNIX domain socket.  The
              default is /var/run/ptp4l.

For example:

    ptp4l -i eth0 --uds_address /var/run/ptp4l.eth0

    pmc -u -s /var/run/ptp4l.eth0

HTH,
Richard


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

Reply via email to