[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z1XiVUeTpNCjC4YF@shredder>
Date: Sun, 8 Dec 2024 20:15:49 +0200
From: Ido Schimmel <idosch@...sch.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, Simon Horman <horms@...nel.org>,
Roopa Prabhu <roopa@...dia.com>,
Kuniyuki Iwashima <kuniyu@...zon.com>, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 2/3] rtnetlink: switch rtnl_fdb_dump() to
for_each_netdev_dump()
On Sat, Dec 07, 2024 at 04:22:47PM +0000, Eric Dumazet wrote:
> This is the last netdev iterator still using net->dev_index_head[].
>
> Convert to modern for_each_netdev_dump() for better scalability,
> and use common patterns in our stack.
>
> Following patch in this series removes the pad field
> in struct ndo_fdb_dump_context.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Conversion looks correct AFAICT:
Reviewed-by: Ido Schimmel <idosch@...dia.com>
Powered by blists - more mailing lists