Re: [RFC PATCH 7/9] net: dsa: install VLANs into the master's RX filter too

2020-09-19 Thread Florian Fainelli
On 9/19/2020 6:47 PM, Vladimir Oltean wrote: Most DSA switch tags shift the EtherType to the right, causing the master to not parse the VLAN as VLAN. However, not all switches do that (example: tail tags, tag_8021q etc), and if the DSA master has "rx-vlan-filter: on" in ethtool -k, then we hav

[RFC PATCH 7/9] net: dsa: install VLANs into the master's RX filter too

2020-09-19 Thread Vladimir Oltean
Most DSA switch tags shift the EtherType to the right, causing the master to not parse the VLAN as VLAN. However, not all switches do that (example: tail tags, tag_8021q etc), and if the DSA master has "rx-vlan-filter: on" in ethtool -k, then we have a problem. Therefore, we could populate the VLA