summaryrefslogtreecommitdiff
path: root/include/linux/dsa/8021q.h
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-09-21 03:10:29 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-20 19:01:34 -0700
commit2209158c9055dbc937673ec09c032505667d839e (patch)
tree03ffa987aef7a5ae56030561b53a5c3bb27c681a /include/linux/dsa/8021q.h
parentadb256eb1769dec74b809690f418e8e46bee62a7 (diff)
net: dsa: install VLANs into the master's RX filter too
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 VLAN table of the master, just in case (for some switches it will not make a difference), so that network I/O can work even with a VLAN filtering master. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dsa/8021q.h')
0 files changed, 0 insertions, 0 deletions