mbox series

[net,0/3] Fixes for sja1105 best-effort VLAN filtering

Message ID 20210407201452.1703261-1-olteanv@gmail.com
Headers show
Series Fixes for sja1105 best-effort VLAN filtering | expand

Message

Vladimir Oltean April 7, 2021, 8:14 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series addresses some user complaints regarding best-effort VLAN
filtering support on sja1105:
- switch not pushing VLAN tag on egress when it should
- switch not dropping traffic with unknown VLAN when it should
- switch not overwriting VLAN flags when it should

Those bugs are not the reason why it's called best-effort, so we should
fix them :)

Vladimir Oltean (3):
  net: dsa: sja1105: use the bridge pvid in best_effort_vlan_filtering
    mode
  net: dsa: sja1105: use 4095 as the private VLAN for untagged traffic
  net: dsa: sja1105: update existing VLANs from the bridge VLAN list

 drivers/net/dsa/sja1105/sja1105.h      |  1 +
 drivers/net/dsa/sja1105/sja1105_main.c | 61 ++++++++++++++++++--------
 2 files changed, 43 insertions(+), 19 deletions(-)