* Re: [PATCH net-next] net: create a dummy net_device allocator [not found] <20240327200809.512867-1-leitao@debian.org> @ 2024-04-02 18:01 ` Leon Romanovsky 2024-04-02 18:17 ` Jakub Kicinski 0 siblings, 1 reply; 2+ messages in thread From: Leon Romanovsky @ 2024-04-02 18:01 UTC (permalink / raw) To: Breno Leitao Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, quic_jjohnson, kvalo, dennis.dalessandro, Jiri Pirko, Simon Horman, Daniel Borkmann, Lorenzo Bianconi, Coco Li, open list:NETWORKING DRIVERS, open list, Dennis Dalessandro, RDMA mailing list On Wed, Mar 27, 2024 at 01:08:04PM -0700, Breno Leitao wrote: > It is impossible to use init_dummy_netdev together with alloc_netdev() > as the 'setup' argument. <...> > Also, create a helper to allocate and initialize dummy net devices, > leveraging init_dummy_netdev_core() as the setup argument. <...> > Suggested-by: Jakub Kicinski <kuba@kernel.org> > Signed-off-by: Breno Leitao <leitao@debian.org> 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@kernel.org/ Thanks ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: create a dummy net_device allocator 2024-04-02 18:01 ` [PATCH net-next] net: create a dummy net_device allocator Leon Romanovsky @ 2024-04-02 18:17 ` Jakub Kicinski 0 siblings, 0 replies; 2+ messages in thread From: Jakub Kicinski @ 2024-04-02 18:17 UTC (permalink / raw) To: Leon Romanovsky Cc: Breno Leitao, David S. Miller, Eric Dumazet, Paolo Abeni, quic_jjohnson, kvalo, dennis.dalessandro, Jiri Pirko, Simon Horman, Daniel Borkmann, Lorenzo Bianconi, Coco Li, open list:NETWORKING DRIVERS, open list, Dennis Dalessandro, RDMA mailing list On Tue, 2 Apr 2024 21:01:55 +0300 Leon Romanovsky wrote: > > Suggested-by: Jakub Kicinski <kuba@kernel.org> > > Signed-off-by: Breno Leitao <leitao@debian.org> > > 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@kernel.org/ Still my preference, but there's only so many hours in the day to keep explaining things. I'd rather we made some progress. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-02 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240327200809.512867-1-leitao@debian.org>
2024-04-02 18:01 ` [PATCH net-next] net: create a dummy net_device allocator Leon Romanovsky
2024-04-02 18:17 ` Jakub Kicinski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).