Re: [PATCH 2/5] net: dsa: lantiq: Add VLAN unaware bridge offloading

2019-05-02 Thread Hauke Mehrtens
On 5/2/19 12:34 AM, Andrew Lunn wrote: > On Wed, May 01, 2019 at 10:45:03PM +0200, Hauke Mehrtens wrote: > > Hi Hauke > > /* Add the LAN port into a bridge with the CPU port by >> + * default. This prevents automatic forwarding of >> + * packages between the LAN ports when no explicit >> + * brid

Re: [PATCH 2/5] net: dsa: lantiq: Add VLAN unaware bridge offloading

2019-05-01 Thread Andrew Lunn
On Wed, May 01, 2019 at 10:45:03PM +0200, Hauke Mehrtens wrote: Hi Hauke /* Add the LAN port into a bridge with the CPU port by > + * default. This prevents automatic forwarding of > + * packages between the LAN ports when no explicit > + * bridge is configured. > + */ > +static int gswip_add_sig

[PATCH 2/5] net: dsa: lantiq: Add VLAN unaware bridge offloading

2019-05-01 Thread Hauke Mehrtens
This allows to offload bridges with DSA to the switch hardware and do the packet forwarding in hardware. This implements generic functions to access the switch hardware tables, which are used to control many features of the switch. This patch activates the MAC learning by removing the MAC address