[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <96efebff0479a48a3a577f236fff659387f29c4e.camel@codeconstruct.com.au>
Date: Mon, 09 Dec 2024 14:16:32 +0800
From: Jeremy Kerr <jk@...econstruct.com.au>
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, Simon Horman <horms@...nel.org>,
eric.dumazet@...il.com, Matt Johnston <matt@...econstruct.com.au>, Kuniyuki
Iwashima <kuniyu@...zon.com>
Subject: Re: [PATCH net-next] mctp: no longer rely on net->dev_index_head[]
Hi Eric,
> mctp_dump_addrinfo() is one of the last users of
> net->dev_index_head[] in the control path.
>
> Switch to for_each_netdev_dump() for better scalability.
>
> Use C99 for mctp_device_rtnl_msg_handlers[] to prepare
> future RTNL removal from mctp_dump_addrinfo()
Nice one, thanks for this. All looks good testing the RTM_GETADDR dump
using the usual tools.
Acked-by: Jeremy Kerr <jk@...econstruct.com.au>
Cheers,
Jeremy
Powered by blists - more mailing lists