mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b07a966c70
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> |
||
---|---|---|
.. | ||
cmd.h | ||
core.c | ||
core.h | ||
emad.h | ||
item.h | ||
Kconfig | ||
Makefile | ||
pci.c | ||
pci.h | ||
port.h | ||
reg.h | ||
spectrum_buffers.c | ||
spectrum_switchdev.c | ||
spectrum.c | ||
spectrum.h | ||
switchx2.c | ||
trap.h | ||
txheader.h |