[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210320225928.2481575-1-olteanv@gmail.com>
Date: Sun, 21 Mar 2021 00:59:25 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org
Cc: Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Kurt Kanzenbach <kurt@...utronix.de>,
Tobias Waldekranz <tobias@...dekranz.com>,
Vladimir Oltean <vladimir.oltean@....com>
Subject: [PATCH v2 net 0/3] Clear rx-vlan-filter feature in DSA when necessary
From: Vladimir Oltean <vladimir.oltean@....com>
Patches 2 and 3 address the problems raised by Tobias here:
https://patchwork.kernel.org/project/netdevbpf/cover/20210308150405.3694678-1-tobias@waldekranz.com/
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
Powered by blists - more mailing lists