On 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote: > The cpsw can filter multicast addresses only per vlan. Thus if mcast > address is set for one of them or only for real device it must be > added for every created vlan consuming ALE table w/o reason. In order to > simplify dispatching vlan filters, the IVDF recently added is resused. > > In case IVDF is disabled - mc is updated only for real device as before. > The previous method is harder to reuse and vlan filtering is limited > only for vlans directly connected to real netdev, so drop it in flavor > of IVDF decision. > > Signed-off-by: Ivan Khoronzhuk <ivan.khoronz...@linaro.org> > --- > drivers/net/ethernet/ti/Kconfig | 1 + > drivers/net/ethernet/ti/cpsw.c | 113 ++++---------------------------- > 2 files changed, 13 insertions(+), 101 deletions(-) Nice diffstat! -- Florian
- [PATCH net-next 3/6] net: 8021q: vlan_dev: add vid tag fo... Ivan Khoronzhuk
- Re: [PATCH net-next 3/6] net: 8021q: vlan_dev: add v... Florian Fainelli
- Re: [PATCH net-next 3/6] net: 8021q: vlan_dev: a... Ivan Khoronzhuk
- [PATCH net-next 1/6] net: core: dev_addr_lists: add VID t... Ivan Khoronzhuk
- Re: [PATCH net-next 1/6] net: core: dev_addr_lists: ... Florian Fainelli
- Re: [PATCH net-next 1/6] net: core: dev_addr_lis... Ivan Khoronzhuk
- [PATCH net-next 2/6] net: 8021q: vlan_dev: add vid tag to... Ivan Khoronzhuk
- Re: [PATCH net-next 2/6] net: 8021q: vlan_dev: add v... Florian Fainelli
- Re: [PATCH net-next 2/6] net: 8021q: vlan_dev: a... Ivan Khoronzhuk
- [PATCH net-next 5/6] net: ethernet: ti: cpsw: update mc f... Ivan Khoronzhuk
- Re: [PATCH net-next 5/6] net: ethernet: ti: cpsw: up... Florian Fainelli
- Re: [PATCH net-next 0/6] net: add individual virtual devi... Florian Fainelli