Re: [PATCH net-next] net: create a dummy net_device allocator
From: Jakub Kicinski
Date: Tue Apr 02 2024 - 14:18:00 EST
On Tue, 2 Apr 2024 21:01:55 +0300 Leon Romanovsky wrote:
> > Suggested-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> > Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
>
> Exciting read for people who remember this conversation:
> """
> > I prefer to see some new wrapper over plain alloc_netdev, which will
> > create this dummy netdevice. For example, alloc_dummy_netdev(...).
>
> Nope, no bona fide APIs for hacky uses.
> """
> https://lore.kernel.org/linux-rdma/20240311112532.71f1cb35@xxxxxxxxxx/
Still my preference, but there's only so many hours in the day
to keep explaining things. I'd rather we made some progress.