aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/cli.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-05-02 11:37:48 +0000
committerJakub Kicinski <[email protected]>2024-05-03 15:03:42 -0700
commit0feb396f7428b95710ea72c1dc33ae363019fae5 (patch)
tree88f3935a0535f10c5812d8012b29601efd917e6d /tools/net/ynl/cli.py
parent136c2a9a2a8760d8dae83ae7c882c50be02bdb63 (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