On Sun, 3 Dec 2023 at 00:39, Richard Cochran <richardcoch...@gmail.com> wrote:
> +# Common Mean Link Delay Service (CMLDS) example configuration for a
> +# CMLDS Link Port, containing those attributes which differ from the

While there's only one Link Port here I wouldn't mention this because
the CMLDS config basically has to cover all of the ports.

> +# defaults.  See the file, default.cfg, for the complete list of
> +# available options.
> +#
> +[global]
> +clientOnly                     1
> +clockIdentity                  C37D50.0000.000000
> +free_running                   1
> +ignore_transport_specific      1

I assume ignore_transport_specific can be dropped in this version.

> +transportSpecific              2
> +uds_address                    /var/run/cmlds_server
> +
> +[eth1]
> +delay_mechanism        P2P

This line has to be the same for all interfaces in use by the CMLDS so
I'd move this to [global] to avoid repetition.

This way you basically have nothing port-specific to configure and can
pass the interface names on the command line instead of listing here.
On the client side cmlds.client_address will not allow this because I
believe the source address has to be different for each port's socket.
I thought (even before this came up) it would be nice for uds_address
to default to something that includes the domainNumber, and now for
cmlds.client_address to include the domainNumber and port number.

I'm going to try test this patchset in an 802.1AS configuration and report back.

Best regards


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

Reply via email to