diff options
| author | Ido Schimmel <[email protected]> | 2015-11-19 12:27:40 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-11-20 11:06:03 -0500 |
| commit | b07a966c700761f86306925fe8aedf7d1060fa6e (patch) | |
| tree | baa96436b09213e60e3a0f1708f38cd0f522464e /tools/perf/scripts/python/sctop.py | |
| parent | 3b7ad5ece49fe72498b50d28253fd39daead1e14 (diff) | |
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 <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions