diff options
author | Eric Dumazet <edumazet@google.com> | 2024-05-02 14:37:48 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-04 01:03:42 +0300 |
commit | 0feb396f7428b95710ea72c1dc33ae363019fae5 (patch) | |
tree | 88f3935a0535f10c5812d8012b29601efd917e6d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 136c2a9a2a8760d8dae83ae7c882c50be02bdb63 (diff) | |
download | linux-0feb396f7428b95710ea72c1dc33ae363019fae5.tar.xz |
rtnetlink: use for_each_netdev_dump() in rtnl_stats_dump()
Switch rtnl_stats_dump() to use for_each_netdev_dump()
instead of net->dev_index_head[] hash table.
This makes the code much easier to read, and fixes
scalability issues.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240502113748.1622637-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions