Re: [PATCH v2 net-next 0/4] net: ethernet: ti: cpsw: fix vlan mcast

From: David Miller
Date: Thu Nov 08 2018 - 23:33:04 EST


From: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
Date: Thu, 8 Nov 2018 22:27:53 +0200

> The cpsw holds separate mcast entires for vlan entries. At this moment
> driver adds only not vlan mcast addresses, omitting vlan/mcast entries.
> As result mcast for vlans doesn't work. It can be fixed by adding same
> mcast entries for every created vlan, but this patchseries uses more
> sophisticated way and allows to create mcast entries only for vlans
> that really require it. Generic functions from this series can be
> reused for fixing vlan and macvlan unicast.
>
> Simple example of ALE table before and after this series, having same
> mcast entries as for vlan 100 as for real device (reserved vlan 2),
> and one mcast address only for vlan 100 - 01:1b:19:00:00:00.
...
> Based on net-next/master
>
> v2..v1:
> net: ethernet: ti: cpsw: fix vlan mcast
> - removed limit for legacy switch cpsw mode

Series applied.