aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-12-12 17:03:02 +0000
committerDavid S. Miller <davem@davemloft.net>2018-12-12 16:34:22 -0800
commit7357eb3d4b3e33e3a08fb5916d6ae0dbb389a96a (patch)
treeddd168b59495baed75615e1e1312c7460e78fb1f /tools/testing/selftests/drivers/net
parentmlxsw: spectrum_switchdev: Propagate extack on VXLAN VLAN events (diff)
downloadlinux-dev-7357eb3d4b3e33e3a08fb5916d6ae0dbb389a96a.tar.xz
linux-dev-7357eb3d4b3e33e3a08fb5916d6ae0dbb389a96a.zip
mlxsw: spectrum_switchdev: Propagate extack on port VLAN events
After switchdev_handle_port_obj_add() was extended in a preceding patch, mlxsw_sp_port_obj_add() now takes an extack argument. Propagate it further by extending a callee chain from mlxsw_sp_port_vlans_add(), via mlxsw_sp_bridge_port_vlan_add() via mlxsw_sp_port_vlan_bridge_join() via mlxsw_sp_port_vlan_fid_join() to mlxsw_sp_bridge_ops.fid_get, adding an extack argument for each of them. This code path is used when a VLAN is added to a port netdevice if there already is an unoffloadable VXLAN device with that VLAN mapped. mlxsw_sp_bridge_8021d_port_join() is updated to obey the new interfaces changed by the abovementioned code, propagating extack ultimately from NETDEV_CHANGEUPPER events. Signed-off-by: Petr Machata <petrm@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers/net')
0 files changed, 0 insertions, 0 deletions