On Thu, 2022-11-17 at 13:43 +0200, Magnus Armholt wrote:
> Add possibility to configure VLAN tags for ethernet.
> 
> We mainly use PTP in slave mode so this has been developed
> primarly for the sync request. 
> The raw_send function is used by a lot of functionality, so input 
> on what we could have missed (especially from master point of view)
> is appreciated.

The idea is nice.
I personally in favour of more options of using VLANs.

If you add an option for using VLAN out of band (instead of using Linux
VLANs interfaces), it should be complete. i.e. you should implement the
receive side.

You can filter the received packets using a kernel BPF filter, to
filter only the wanted VLAN id and PTP packets.

Erez


> 
> Mika Paulamäki (1):
>   Add configurable VLAN tags for Ethernet
> 
>  config.c |  3 +++
>  raw.c    | 47 +++++++++++++++++++++++++++++++++++++++--------
>  2 files changed, 42 insertions(+), 8 deletions(-)
> 


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

Reply via email to