diff options
author | 2015-11-19 12:27:40 +0100 | |
---|---|---|
committer | 2015-11-20 11:06:03 -0500 | |
commit | b07a966c700761f86306925fe8aedf7d1060fa6e (patch) | |
tree | baa96436b09213e60e3a0f1708f38cd0f522464e /tools/perf/scripts/python/check-perf-trace.py | |
parent | mlxsw: spectrum: Unify setting of HW VLAN filters (diff) | |
download | linux-dev-b07a966c700761f86306925fe8aedf7d1060fa6e.tar.xz linux-dev-b07a966c700761f86306925fe8aedf7d1060fa6e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions