Re: [PATCH net-next 7/9] net: dsa: mv88e6xxx: restore VLANTable map control

From: Kevin Smith
Date: Fri Feb 26 2016 - 17:21:31 EST


Hi Vivien, Andrew,

On 02/26/2016 03:37 PM, Vivien Didelot wrote:
> Here, 5 is the CPU port and 6 is a DSA port.
>
> After joining ports 0, 1, 2 in the same bridge, we end up with:
>
> Port 0 1 2 3 4 5 6
> 0 - * * - - * *
> 1 * - * - - * *
> 2 * * - - - * *
> 3 - - - - - * *
> 4 - - - - - * *
> 5 * * * * * - *
> 6 * * * * * * -
The case I am concerned about is if the switch connected over DSA in
this example has a WAN port on it, which can legitimately route to the
CPU on port 5 but should not route to the LAN ports 0, 1, and 2. Does
this VLAN allow direct communication between the WAN and LAN? Or is
this prevented by DSA or some other mechanism?

Thanks,
Kevin