From: Vladimir Oltean <[email protected]>
Patches 2 and 3 address the problems raised by Tobias here:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/
The key difference compared to Tobias' patch is that his approach makes
dsa_slave_vlan_rx_add_vid accept -EOPNOTSUPP and silently transforms it
into an error code of 0, while my patch series avoids calling
dsa_slave_vlan_rx_add_vid when it is not needed.
Patch 1 is another issue I found while working on a solution.
Vladimir Oltean (3):
net: dsa: only unset VLAN filtering when last port leaves last
VLAN-aware bridge
net: dsa: don't advertise 'rx-vlan-filter' if VLAN filtering not
global
net: dsa: let drivers state that they need VLAN filtering while
standalone
drivers/net/dsa/hirschmann/hellcreek.c | 1 +
include/net/dsa.h | 3 ++
net/dsa/dsa_priv.h | 2 +
net/dsa/port.c | 37 ++++++++++++++-
net/dsa/slave.c | 62 +++++++++++++++++++++++++-
net/dsa/switch.c | 35 ++++++++++-----
6 files changed, 125 insertions(+), 15 deletions(-)
--
2.25.1