diff options
author | Ido Schimmel <[email protected]> | 2021-05-19 15:08:19 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-19 12:47:47 -0700 |
commit | 7725c1c8f73260de2ef0d01ca23b64260fc66ffd (patch) | |
tree | 9ea0e8991f30e44dc411c641768c2e6eed4d3afe /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | eb0e4d59b6edbe678ecfc5d5b77608b634057f08 (diff) |
mlxsw: spectrum_router: Replace if statement with a switch statement
The code was written when only two multipath hash policies were present,
so the if statement was sufficient. The next patch and future patches
are going to add support for more policies, so move to a switch
statement.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions