[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d2dddb6-483f-4a25-bfd8-7f010e369e8c@intel.com>
Date: Mon, 13 Jan 2025 13:14:14 +0100
From: Alexander Lobakin <aleksander.lobakin@...el.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: <davem@...emloft.net>, <netdev@...r.kernel.org>, <edumazet@...gle.com>,
<pabeni@...hat.com>, <andrew+netdev@...n.ch>, <horms@...nel.org>,
<matttbe@...nel.org>, <martineau@...nel.org>, <geliang@...nel.org>,
<steffen.klassert@...unet.com>, <herbert@...dor.apana.org.au>,
<mptcp@...ts.linux.dev>
Subject: Re: [PATCH net-next v2 1/2] net: remove init_dummy_netdev()
From: Jakub Kicinski <kuba@...nel.org>
Date: Sun, 12 Jan 2025 16:34:55 -0800
> init_dummy_netdev() can initialize statically declared or embedded
> net_devices. Such netdevs did not come from alloc_netdev_mqs().
> After recent work by Breno, there are the only two cases where
> we have do that.
>
> Switch those cases to alloc_netdev_mqs() and delete init_dummy_netdev().
> Dealing with static netdevs is not worth the maintenance burden.
Series:
Reviewed-by: Alexander Lobakin <aleksander.lobakin@...el.com>
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> v2: change of plan, delete init_dummy_netdev() completely
> v1: https://lore.kernel.org/20250111065955.3698801-1-kuba@kernel.org
Thanks,
Olek
Powered by blists - more mailing lists