diff options
| author | Petr Machata <petrm@nvidia.com> | 2021-01-28 15:49:23 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-29 07:49:53 +0300 |
| commit | e948217d258f35b248578f7b400d6df23ac562da (patch) | |
| tree | ec23e963b85d1b2ee3d0cc3caf830cd899821428 /tools/perf/scripts/python/netdev-times.py | |
| parent | cbee18071e72b68d63b055655ac96ae97126776e (diff) | |
| download | linux-e948217d258f35b248578f7b400d6df23ac562da.tar.xz | |
nexthop: Add a callback parameter to rtm_dump_walk_nexthops()
In order to allow different handling for next-hop tree dumper and for
bucket dumper, parameterize the next-hop tree walker with a callback. Add
rtm_dump_nexthop_cb() with just the bits relevant for next-hop tree
dumping.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
