linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel b07a966c70 mlxsw: spectrum: Add error paths to __mlxsw_sp_port_vlans_add
The operation of adding VLANs on a port via switchdev ops can fail and
we need to be prepared for it. If we do not rollback hardware operations
following a failure, hardware and software will remain in an
inconsistent state.

Solve that by adding suitable error paths to __mlxsw_sp_port_vlans_add.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-20 11:06:03 -05:00
..
cmd.h mlxsw: cmd: Introduce FID-offset flooding tables 2015-10-16 07:15:10 -07:00
core.c mlxsw: Put constant on the right side of comparisons 2015-10-30 12:26:54 +09:00
core.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
item.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-20 06:08:27 -07:00
Kconfig mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00
Makefile mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00
pci.c mlxsw: Put braces on all arms of branch statement 2015-10-30 12:26:57 +09:00
pci.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00
port.h mlxsw: Introduce Mellanox SwitchX-2 ASIC support 2015-07-30 00:05:00 -07:00
reg.h mlxsw: reg: Avoid unnecessary line wrap for mlxsw_reg_sfd_uc_unpack 2015-10-30 12:26:50 +09:00
spectrum_buffers.c mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00
spectrum_switchdev.c mlxsw: spectrum: Add error paths to __mlxsw_sp_port_vlans_add 2015-11-20 11:06:03 -05:00
spectrum.c mlxsw: spectrum: Add support for flood control 2015-10-30 12:26:47 +09:00
spectrum.h mlxsw: spectrum: Add support for flood control 2015-10-30 12:26:47 +09:00
switchx2.c mlxsw: Put constant on the right side of comparisons 2015-10-30 12:26:54 +09:00
trap.h mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00