On 13/02/2021 22:43, Vladimir Oltean wrote:
From: Vladimir Oltean <vladimir.oltean@nxp.com>
The benefit is the ability to propagate errors from switchdev drivers
for the SWITCHDEV_ATTR_ID_BRIDGE_VLAN_FILTERING and
SWITCHDEV_ATTR_ID_BRIDGE_VLAN_PROTOCOL attributes.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
include/net/switchdev.h | 3 ++-
net/bridge/br_mrp_switchdev.c | 4 ++--
net/bridge/br_multicast.c | 6 +++---
net/bridge/br_netlink.c | 2 +-
net/bridge/br_private.h | 3 ++-
net/bridge/br_stp.c | 4 ++--
net/bridge/br_switchdev.c | 6 ++++--
net/bridge/br_vlan.c | 13 +++++++------
net/switchdev/switchdev.c | 19 ++++++++++++-------
9 files changed, 35 insertions(+), 25 deletions(-)
You have to update the !CONFIG_NET_SWITCHDEV switchdev_port_attr_set() stub as well.