net: bridge: propagate extack through switchdev_port_attr_set
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 13 Feb 2021 20:43:17 +0000 (22:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 01:38:11 +0000 (17:38 -0800)
commitdcbdf1350e3312c199dbc6a76f41cf8f67e8c09c
tree2856b192afcaff113ca1285ffc078c92e5584b15
parent9e781401cbfcd83c4d766b4c6c5efce8348d4d13
net: bridge: propagate extack through switchdev_port_attr_set

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>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h
net/bridge/br_mrp_switchdev.c
net/bridge/br_multicast.c
net/bridge/br_netlink.c
net/bridge/br_private.h
net/bridge/br_stp.c
net/bridge/br_switchdev.c
net/bridge/br_vlan.c
net/switchdev/switchdev.c