]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-dsa-b53-Configure-VLANs-while-not-filtering'
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2020 01:13:45 +0000 (18:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2020 01:13:45 +0000 (18:13 -0700)
commit5902e7aaa3fd0c8d46ab59139e9d6cc992c7de43
tree74bceb42b315affb090e4c53e27a5ea9a171bd32
parent21686700e67c6771fd0cee7671696855b53e2109
parent60a9fb3d3316b351475f977713479f1c128cd910
Merge branch 'net-dsa-b53-Configure-VLANs-while-not-filtering'

Florian Fainelli says:

====================
net: dsa: b53: Configure VLANs while not filtering

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!

Changes in v3:

- added Vladimir's Acked-by tag to patch #2
- removed unnecessary if_vlan.h inclusion in patch #2
- reworded commit message to be accurate with the code changes

Changes in v2:

- moved the call to dsa_untag_bridge_pvid() into net/dsa/tag_brcm.c
  since we have a single user for now
====================

Signed-off-by: David S. Miller <davem@davemloft.net>