Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > I don't like the idea of leaking frames. I don't like it neither. That's why this patch series is out there. It improves the security on PVT-capable Marvell switches by programming the tables correctly on bridging events. A next step can be to

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > I don't like the idea of leaking frames. I don't like it neither. That's why this patch series is out there. It improves the security on PVT-capable Marvell switches by programming the tables correctly on bridging events. A next step can be to warn the user

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Andrew Lunn
On Fri, Mar 31, 2017 at 12:55:03PM -0400, Vivien Didelot wrote: > Hi Andrew, > > Andrew Lunn writes: > > > On Thu, Mar 30, 2017 at 05:37:15PM -0400, Vivien Didelot wrote: > >> Implement the DSA cross-chip bridging operations by remapping the local > >> ports an external source

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Andrew Lunn
On Fri, Mar 31, 2017 at 12:55:03PM -0400, Vivien Didelot wrote: > Hi Andrew, > > Andrew Lunn writes: > > > On Thu, Mar 30, 2017 at 05:37:15PM -0400, Vivien Didelot wrote: > >> Implement the DSA cross-chip bridging operations by remapping the local > >> ports an external source port can egress

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > On Thu, Mar 30, 2017 at 05:37:15PM -0400, Vivien Didelot wrote: >> Implement the DSA cross-chip bridging operations by remapping the local >> ports an external source port can egress frames to, when this cross-chip >> port joins or leaves a

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > On Thu, Mar 30, 2017 at 05:37:15PM -0400, Vivien Didelot wrote: >> Implement the DSA cross-chip bridging operations by remapping the local >> ports an external source port can egress frames to, when this cross-chip >> port joins or leaves a bridge. >> >> The

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Andrew Lunn
On Thu, Mar 30, 2017 at 05:37:15PM -0400, Vivien Didelot wrote: > Implement the DSA cross-chip bridging operations by remapping the local > ports an external source port can egress frames to, when this cross-chip > port joins or leaves a bridge. > > The PVT is no longer configured with all ones

Re: [PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-31 Thread Andrew Lunn
On Thu, Mar 30, 2017 at 05:37:15PM -0400, Vivien Didelot wrote: > Implement the DSA cross-chip bridging operations by remapping the local > ports an external source port can egress frames to, when this cross-chip > port joins or leaves a bridge. > > The PVT is no longer configured with all ones

[PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-30 Thread Vivien Didelot
Implement the DSA cross-chip bridging operations by remapping the local ports an external source port can egress frames to, when this cross-chip port joins or leaves a bridge. The PVT is no longer configured with all ones allowing any external frame to egress any local port. Only DSA and CPU

[PATCH net-next v2 9/9] net: dsa: mv88e6xxx: add cross-chip bridging

2017-03-30 Thread Vivien Didelot
Implement the DSA cross-chip bridging operations by remapping the local ports an external source port can egress frames to, when this cross-chip port joins or leaves a bridge. The PVT is no longer configured with all ones allowing any external frame to egress any local port. Only DSA and CPU