On Fri, Mar 10, 2023 at 01:00:51PM +0200, Zaripov Kamil wrote:
> This patch allows to set interface name in 'iface:bind' format where:
> - 'iface' is network interface that supports PTP
> - 'bind' is network interface to bind socket
> This feature can be useful if you have one physical network interface that
> serves two or more logical local networks separated with VLAN tags. If you
> have to serve PTP clients on both of this local networks you need to bind
> to different interfaces representing different VLANs.
> 
> Most part of this patch just adjusting code where we read configuration
> for interface so we can set different settings for 'eth0:vlan1' and
> 'eth0:vlan2', for example.

Um, unless I'm mistaken, this is unneeded, because you can specify a
VLAN interface just like a normal interface.  In the kernel, the VLAN
interface stacks on top of the physical one and passes the time
stamping APIs through.

Thanks,
Richard


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

Reply via email to