On Thu, Apr 16, 2020 at 09:22:59AM -0700, Ahmad Byagowi wrote:

> Oh I see. What does it take to add unicast to the TC code? Would you
> be interested?  I would love help with the implementation. Perhaps
> the first question is, do you see a major roadblock to do that?

The main issue is the IPv4/6 layer headers.  The code uses regular UDP
sockets.  So, if the TC were to forward a unicast message, the source
address of the IP packet would be that of the egress port on the TC.

I think there are other issues as well, so you would have to study the
standard on the one hand and consider the implementation using the
Linux networking stack on the other.  Maybe you see a way forward.

What I *don't* want is a new TC that takes raw Ethernet frames and
groks the IPv4/6 UDP headers.  That would be whole different stack.

To be honest, the easiest thing for your setup is to have a BC and not
a TC.  Unless you have long chains of BCs, the synchronization
performance will be similar.

The other issue that you did not address is synchronizing the two MAC
clocks on your 2-port bridge device to each other.

Thanks,
Richard



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

Reply via email to