diff options
author | Jiri Pirko <[email protected]> | 2023-02-10 11:01:28 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-02-13 09:49:14 +0000 |
commit | fbcf938150ecd686c6a6195573957db25b43a182 (patch) | |
tree | 8ac880e372cadf6d9a851b956c193558c41db03d /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 94ba1c316b9c0f9b017f7cd7eac84adae693e80f (diff) |
devlink: use xa_for_each_start() helper in devlink_nl_cmd_port_get_dump_one()
As xarray has an iterator helper that allows to start from specified
index, use this directly and avoid repeated iteration from 0.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions