On Wed, Mar 15, 2023 at 01:14:50PM +0200, Kamil Zaripov wrote:

> The issue is ptp4l does not support out of the box creating two
> ports on the same network interfaces with different
> network_transport configuration values. I want to discuss how
> linuxptp code can be patched so user can do such thing?

I think this can be pretty simple.  Allow interface names like:

   eth0 eth0:foo eth0:bar

Then simply drop :xyz suffix when actually calling the ioctl.

The only difficulty is sanity checking that:

- At most one UDPv4 and one UDPv6 are present.

- The inferface supports HWTSTAMP_FILTER_PTP_V2_EVENT.

Thanks,
Richard


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

Reply via email to