Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4249120rba; Tue, 2 Apr 2024 11:17:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4AWVpHZ69VwdcLVuymfN6sxLB/zDeD2OHyZekYKRp7PpQF//HmQ/fayHdtbw2Fr3ku5w3+u3NNzgALlErQ56H4FvOeFWAObFAs2ekwQ== X-Google-Smtp-Source: AGHT+IGm1ab5cLJ4KP/MJvME9+eMeThskHR4Ia3oHFGeK0bGTN8ZbX5T7w2FYsV++XSA1ck1TaHT X-Received: by 2002:a17:903:2b0e:b0:1e2:7c72:767 with SMTP id mc14-20020a1709032b0e00b001e27c720767mr1848155plb.30.1712081850139; Tue, 02 Apr 2024 11:17:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712081850; cv=pass; d=google.com; s=arc-20160816; b=j3PvMk7qGmk0hN/KMjWP/hL9a1PgJKe9P2+g56lidK8uUJs4NPkh09hFeI12GNlhZz nED17q8Fu8obawLUAu9VSz+D9F7ABuQHTsbjpUhav8inOz76xZtk0T7IJVpaxvellpCr xwT0/IDtzWalkexF1vddXiiOp/6dzB9fs72wctjc8NEyTwy11qtYdIVwHoTSZ2eY+C1U DlfS21sqwRi2b+UiFXEg3tc8zvmLbrtVul35OD+W2zHqStTEF1i5P3EzZyKX4gfy3O1c g5WMjShMWPo/f/nLvebabdRjFnzor6wBbabC0Lb94hyEXpMpQ64xsRlZz+M3+KWJGK3B 83fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=6mg45ZtFXe5AGOfdtCbE2IbyyjniTWeHmX2yNk1mI0c=; fh=LiblrfwK08LRJ02sMGjMtG0R1rWcfgmO2pHuxHD96Js=; b=BNagOewzGsAggqfXlw+4EuGFRrfMmTzhDE6UPjHzZK+UapT7m7O7kTT46I0vjLOZhJ SbEn7rwVuHCha3GbH2f7imEJ31gahZ/Mjbx7CUIZsOo5vwO6oFq4Tf6idz9JxLYeYk6f KboPzoDrm618Hghkot9hVwYf5AMXwXfcZQFUTzENZ+r5grpI24cgp71Md07HYA0Vq8CY fvxCjPoBphKMLevN9rkeNVg2GkwTNqIamSB0aNPRRTn5Z3KcEuDF36gZ3K9M5zKpIRCb z7DYwYUF2dgi/6pwcLkYXs4+MbexbIixrYcZLOHwp0sjtw6rLWvThZf5XWfXDOyW2Em9 OMhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j+yjw4zb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128492-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i9-20020a170902cf0900b001e0e85b71b9si11970211plg.566.2024.04.02.11.17.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 11:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j+yjw4zb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128492-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D421D2829DB for ; Tue, 2 Apr 2024 18:17:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76EFE15B0EA; Tue, 2 Apr 2024 18:17:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j+yjw4zb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7985915AD93; Tue, 2 Apr 2024 18:17:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712081831; cv=none; b=qDW2INzw0z1uaHJtOoF3RDfj1eWoOPRfaykjSgWBNm1b4G0Xs/E6gjA1etdQ5KeUo4Pr7WGhckbv37/Xw1TRMmYSzAzMj27vywnA7xBJNCbGLiSGRqlMHCpadzo4rXwwguVKNXY53R2au8D5jEy7MHiu+ljqC5xXNw+GG9/dMrI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712081831; c=relaxed/simple; bh=0ARxQ9cttIE0P2km3rZwYbhh6JliaUfiHYwzzaExkGE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=nl7tryfoaBhtwZg0zYm85HH5uHtvPW2p3xeSIZgChNn1dWNwioTxOokKirEwA+uJVQ1lhYPSXN+LwhBoXKz5ynJFZLUnp3Kh5GwUO6v2HYVCDIgrPaj6wTtHcww0fjDoPOCoDFilWFNmo00KdtwKIsEc5fn6Qge6894vj3MTC+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j+yjw4zb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81759C43390; Tue, 2 Apr 2024 18:17:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712081831; bh=0ARxQ9cttIE0P2km3rZwYbhh6JliaUfiHYwzzaExkGE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=j+yjw4zbZrlaNcUDJqfUE1ixZtxbFznrXU41+a50ZKjM18TdEcXy7iCKOK1++lPZC l56y++MenbvUEkO+T8DPS7RkQQTktGT31vMpgMvsDF/TquT2gp6WMPiv9fhhM685A1 QWEW/yo54O55Hvv+3X/XoCgOxGGTZrRDzn3HRIi9LYU47NwkPyNor16r7gEFiCaEhK /2PVXeM1GJKFzq44zMrRda/Y1oNWRCm7FVvPshqW+P6tyilCpXVaMbvs7Skvorzf+R iU4CizFo8Y3jtTcCT9gRupQ9keLHAXkwj2zPJ7q3xEiWc3j5WulFe+Ffohs6F28Gc8 MDboiPygc/dAQ== Date: Tue, 2 Apr 2024 11:17:09 -0700 From: Jakub Kicinski To: Leon Romanovsky Cc: Breno Leitao , "David S. Miller" , Eric Dumazet , Paolo Abeni , quic_jjohnson@quicinc.com, kvalo@kernel.org, dennis.dalessandro@cornelisnetworks.com, Jiri Pirko , Simon Horman , Daniel Borkmann , Lorenzo Bianconi , Coco Li , "open list:NETWORKING DRIVERS" , open list , Dennis Dalessandro , RDMA mailing list Subject: Re: [PATCH net-next] net: create a dummy net_device allocator Message-ID: <20240402111709.1551dbca@kernel.org> In-Reply-To: <20240402180155.GM11187@unreal> References: <20240327200809.512867-1-leitao@debian.org> <20240402180155.GM11187@unreal> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 2 Apr 2024 21:01:55 +0300 Leon Romanovsky wrote: > > Suggested-by: Jakub Kicinski > > Signed-off-by: Breno Leitao > > 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.