On Thu, Feb 25, 2021 at 09:29:21PM +0100, Tobias Waldekranz wrote: > This is not strictly true for mv88e6xxx. The connection between the tree > and the CPU may use Ethertyped DSA tags, while inter-switch links use > regular DSA tags. > > However, I think it is better to keep this definition short, as it is > "true enough" :)
What is the use case for this? Build a DSA tree out of old switches which support only DSA, plus new switches which support both DSA and EDSA, and have the host CPU see only EDSA, with the cascaded switches playing the role of DSA->EDSA adapters for the leaf switches? Is there any point in doing this? If it ever becomes necessary to support this, can't we just say that you should configure your entire DSA tree to use either DSA or EDSA, whichever happens to be supported across all devices? We already have support for changing the tag protocol, mv88e6xxx should implement it, then we could add some logic somewhere to scan for the DSA tree at probe time and figure out a common denominator.