summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-02-10 11:01:28 +0100
committerDavid S. Miller <davem@davemloft.net>2023-02-13 09:49:14 +0000
commitfbcf938150ecd686c6a6195573957db25b43a182 (patch)
tree8ac880e372cadf6d9a851b956c193558c41db03d /tools/perf/scripts/python
parent94ba1c316b9c0f9b017f7cd7eac84adae693e80f (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 <jiri@nvidia.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions