Searched hist:"2209158 c9055dbc937673ec09c032505667d839e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/dsa/ |
H A D | slave.c | diff 2209158c9055dbc937673ec09c032505667d839e Sun Sep 20 19:10:29 CDT 2020 Vladimir Oltean <vladimir.oltean@nxp.com> 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>
|