diff options
author | Eric Dumazet <[email protected]> | 2024-05-02 11:37:48 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-03 15:03:42 -0700 |
commit | 0feb396f7428b95710ea72c1dc33ae363019fae5 (patch) | |
tree | 88f3935a0535f10c5812d8012b29601efd917e6d /tools/net/ynl/cli.py | |
parent | 136c2a9a2a8760d8dae83ae7c882c50be02bdb63 (diff) |
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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions