Re: [PATCH net-next 5/9] net: dsa: mv88e6xxx: rework in-chip bridging

2017-03-30 Thread Andrew Lunn
On Wed, Mar 29, 2017 at 04:30:16PM -0400, Vivien Didelot wrote: > All ports -- internal and external, for chips featuring a PVT -- have a > mask restricting to which internal ports a frame is allowed to egress. > > Now that DSA exposes the number of ports and their bridge devices, it is > possible

[PATCH net-next 5/9] net: dsa: mv88e6xxx: rework in-chip bridging

2017-03-29 Thread Vivien Didelot
All ports -- internal and external, for chips featuring a PVT -- have a mask restricting to which internal ports a frame is allowed to egress. Now that DSA exposes the number of ports and their bridge devices, it is possible to extract the code generating the VLAN map and make it generic so that i