[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y+UixF7fOxNaSQmS@corigine.com>
Date: Thu, 9 Feb 2023 17:43:48 +0100
From: Simon Horman <simon.horman@...igine.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, tariqt@...dia.com,
saeedm@...dia.com, jacob.e.keller@...el.com, gal@...dia.com,
kim.phillips@....com, moshe@...dia.com
Subject: Re: [patch net-next 4/7] devlink: use xa_for_each_start() helper in
devlink_nl_cmd_port_get_dump_one()
On Thu, Feb 09, 2023 at 04:43:05PM +0100, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> 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@...dia.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists