Re: [RFC PATCH net-next 08/13] net: dsa: sja1105: Add support for VLAN operations

2019-03-25 Thread Florian Fainelli
On 3/23/2019 8:23 PM, Vladimir Oltean wrote: > VLAN filtering cannot be properly disabled in SJA1105. So in order to > emulate the "no VLAN awareness" behavior (not dropping traffic that is > tagged with a VID that isn't configured on the port), we need to hack > another switch feature: programm

[RFC PATCH net-next 08/13] net: dsa: sja1105: Add support for VLAN operations

2019-03-23 Thread Vladimir Oltean
VLAN filtering cannot be properly disabled in SJA1105. So in order to emulate the "no VLAN awareness" behavior (not dropping traffic that is tagged with a VID that isn't configured on the port), we need to hack another switch feature: programmable TPID (which is 0x8100 for 802.1Q). We are reprogram