am335x: no multicast reception over VLAN

I have an am335x based board using CPSW in Dual EMAC mode. Without
VLAN IDs I can receive and send multicast packets [[1]](http://marc.info/?l=linux-omap&m=145814077319996&w=2#1). When I create
VLAN ID:

ip link add link eth1 name eth1.100 type vlan id 100
ip addr add 192.168.100.2/24 brd 192.168.100.255 dev eth1.100
route add -net 224.0.0.0 netmask 224.0.0.0 eth1.100

I can successfully send multicast packets, but not receive them. On
the other side of the Ethernet cable I've used Pandaboard. Pandaboard
could both receive and send multicast packets via VLAN.

This setup was tested with both 3.18.21 and 4.5 kernels.

If someone is also experiencing this issue, please add your report to either [2] or [3]

Thanks.

[[1]](http://marc.info/?l=linux-omap&m=145814077319996&w=2#-1) [https://pymotw.com/2/socket/multicast.html](https://pymotw.com/2/socket/multicast.html)
[2] http://marc.info/?l=linux-omap&m=145814077319996&w=2
[3] e2e.ti.com/support/arm/sitara_arm/f/791/p/497652/1800066

Regards,
Yegor