[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <40af8207-c02a-481f-8e1a-9ac2b7d21277@kernel.org>
Date: Thu, 2 May 2024 10:02:29 -0600
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
Ido Schimmel <idosch@...dia.com>, Jiri Pirko <jiri@...dia.com>
Subject: Re: [PATCH net-next 2/2] rtnetlink: use for_each_netdev_dump() in
rtnl_stats_dump()
On 5/2/24 5:37 AM, Eric Dumazet wrote:
> 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 <edumazet@...gle.com>
> ---
> net/core/rtnetlink.c | 59 +++++++++++++++++---------------------------
> 1 file changed, 22 insertions(+), 37 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists