On Mon, Apr 23, 2018 at 05:06:34PM +0000, Keller, Jacob E wrote:

> Do we already get this implementation for free? It seems weird to
> see that we can set the config option, but I don't see how we
> actually implement it in this patch? We set the tc_spanning_tree
> port variable? Is it actually implemented in the patches to add the
> two TC implementations?

I am not sure what you are asking.

The variable was added in patch #2.  It is used in the generic TC code
to help decide whether to forward a frame or not.  If enabled, the
states of the ingress and egress ports are considered.

The BMCA logic which forms the spanning tree is "for free" in the
sense that we can re-use the existing logic.  The p2p and e2e TC
modules use the duplicated messages to run the BMCA state machine.

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to