mbox series

[net-next,0/2] net: dsa: b53: Configure VLANs while not filtering

Message ID 20200923031155.2832348-1-f.fainelli@gmail.com
Headers show
Series net: dsa: b53: Configure VLANs while not filtering | expand

Message

Florian Fainelli Sept. 23, 2020, 3:11 a.m. UTC
Hi David, Jakub,

These two patches allow the b53 driver which always configures its CPU
port as egress tagged to behave correctly with VLANs being always
configured whenever a port is added to a bridge.

Vladimir provides a patch that aligns the bridge with vlan_filtering=0
receive path to behave the same as vlan_filtering=1. Per discussion with
Nikolay, this behavior is deemed to be too DSA specific to be done in
the bridge proper.

This is a preliminary series for Vladimir to make
configure_vlan_while_filtering the default behavior for all DSA drivers
in the future.

Thanks!

Florian Fainelli (1):
  net: dsa: b53: Configure VLANs while not filtering

Vladimir Oltean (1):
  net: dsa: untag the bridge pvid from rx skbs

 drivers/net/dsa/b53/b53_common.c | 20 ++--------
 drivers/net/dsa/b53/b53_priv.h   |  1 -
 include/net/dsa.h                |  8 ++++
 net/dsa/dsa.c                    |  9 +++++
 net/dsa/dsa_priv.h               | 66 ++++++++++++++++++++++++++++++++
 5 files changed, 86 insertions(+), 18 deletions(-)