Re: [PATCH 3/3] net: dsa: Add Vitesse VSC73xx DSA router driver
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2019-03-04 14:10:22
On Mon, 4 Mar 2019 at 15:53, Andrew Lunn [off-list ref] wrote:
quoted
I do see that neither vitesse-vsc73xx nor rtl8366 do implement the bridge membership callbacks, and as I don't happen to know nearly enough about DSA, I wonder at what moment in time does forwarding get activated between ports.If those callbacks are not implement, it means the software bridge does the forwarding. The hardware is not used. The DSA model allows you to start simple and just implement something like a port multiplexor. All frames get passed to the host, and the host then decides what to do with them. You can then add more callbacks and make more use of the hardware, e.g. get the hardware to bridge between ports. If the hardware is not capable of supporting vlan filtering, but you can support simpler modes, you should implement what you can, and return an error when asked to do something which it cannot support. Andrew
Hi Andrew, Thank you for the explanation, it does make sense. Would you mind sharing a thought about the feasability of DSA_TAG_PROTO_8021Q in light of the required handling that was discussed in the previous emails? Regards, -Vladimir