diff options
author | 2022-03-02 18:31:26 +0200 | |
---|---|---|
committer | 2022-03-03 10:37:23 +0000 | |
commit | c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9 (patch) | |
tree | ddcb598f688591c0948dcaa594ff92c559b55b74 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: spectrum_router: Drop mlxsw_sp arg from counter alloc/free functions (diff) | |
download | linux-dev-c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9.tar.xz linux-dev-c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9.zip |
mlxsw: Extract classification of router-related events to a helper
Several more events are coming in the following patches, and extending the
if statement is getting awkward. Instead, convert it to a switch.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions