Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3215594rdh; Mon, 27 Nov 2023 08:46:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIB0wRIg5g56PTTUsjebqb7KPYKLM/m3luNtyX4B6s89ZOl0jV3oE1m8cqdJxEaCJCrUZ2 X-Received: by 2002:a17:902:d4d1:b0:1cf:aeca:8a28 with SMTP id o17-20020a170902d4d100b001cfaeca8a28mr9764750plg.60.1701103618577; Mon, 27 Nov 2023 08:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701103618; cv=none; d=google.com; s=arc-20160816; b=gJ2hnGOAzcp5vKX3gme9zN0jK8bIFGcrdz/pVYtQxyLR7LwFvRNYiNlTYtqFkW5KOh Da+lgS4wo6LqZxhgwWHczTooWZUdMq2vTa2F+FSphHyVhdXvfNO3fGX24ZnXUAzqGbOX Mra4qztk46tw1xsn7A9/ZHxBNHdbH6U7mXQI54hY9su+pYir98oHPJ4H1MLvO5XdEBmw q3EGXqAN7/0T4jgzGlySAfslCj5nfiQ5yIILVPvYJsK1gmOr2gveXgP7Xov+DSp3N7jQ 2hy1BxYazsqrT23UAGpznjpBblaSGYmeXTwbO+DKxs4nKx39zrt+X6YkCFyeQ2pmWE25 tJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=mLe0gFKTqc2ujYOMWLzEWOwtQZ7yEtsKOX/Y3ZtEMag=; fh=4Xw5ACMzVbuHlz1LfVUpj8GrBf+UAoYqfzwfHO388fM=; b=LgBv3Kb1zm73qvsi7CXRs0HyCdvktG8fCb3rYQCp8QAjfaKJAXefMtwG6REs2Sra7/ WfjpPEialPRBEkPEmhOxECrEJ2RKxhiVgbDmXOiWRBS1Npxa9/F8FcYnK0q3tYdj28/1 ADdnNMpws0WkBzZGWqCgJYI0Nuf0mPf+/c9LtdP70s8+thk77Wmswtgko8AQ6fep8oUG 8QcC7eVkqpZwFne7f5uhSrDAhZnjxx0xn7yyYvDd0ip97QLdCT2cxdImMBMmTfsBKBFq 5JCu74Pr3L+ecR6fLbCVG6ynbimHK79nOetMDTgB/S8NipwH5noKn55syqPl8BoYQZBs uJgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Wwin34v/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u13-20020a170903124d00b001c6069b659csi10048255plh.384.2023.11.27.08.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 08:46:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Wwin34v/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4B9E2805D6E6; Mon, 27 Nov 2023 08:46:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231274AbjK0Qqf (ORCPT + 99 others); Mon, 27 Nov 2023 11:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbjK0Qqe (ORCPT ); Mon, 27 Nov 2023 11:46:34 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1942198 for ; Mon, 27 Nov 2023 08:46:40 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3125C433C8; Mon, 27 Nov 2023 16:46:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701103600; bh=mLe0gFKTqc2ujYOMWLzEWOwtQZ7yEtsKOX/Y3ZtEMag=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Wwin34v/rl5inaqew20VFCHFgxSa6Qt9c8J8qo0GJjHmEnoW5QaxK4lVbkHvWbcgz fu8MIvmt8oWoJDDn6vj0EmPXWzL3JiN3lxC1i3Ny98TsmLDOSRFujU3ArdsZcL9z2d jDYWBRglHz+hqXxgdXEAljEbc3M3GpYGSO02/sw08F1Pu/URQ699q3Z3PRa+p4U+J6 JIk8OliHVqMQ/NxgKNLxBGv2cRXM4Cj1sru2SYGXPR05xu8ZMKPzMJAgZ3/9XZGfJA DEPLk8ONqHa3OZo4aFMU7ZgPipPEZOfNynOjDQE6iQnoZcwAcTkYDXvE5pG3cQkRuw WDEhCsYD+mTjA== Date: Mon, 27 Nov 2023 08:46:39 -0800 From: Jakub Kicinski To: Manivannan Sadhasivam Cc: davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org Subject: Re: [PATCH v2 0/2] Add MHI Endpoint network driver Message-ID: <20231127084639.6be47207@kernel.org> In-Reply-To: <20231127060439.GA2505@thinkpad> References: <20230607152427.108607-1-manivannan.sadhasivam@linaro.org> <20230607094922.43106896@kernel.org> <20230607171153.GA109456@thinkpad> <20230607104350.03a51711@kernel.org> <20230608123720.GC5672@thinkpad> <20231117070602.GA10361@thinkpad> <20231117162638.7cdb3e7d@kernel.org> <20231127060439.GA2505@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 27 Nov 2023 08:46:49 -0800 (PST) On Mon, 27 Nov 2023 11:34:39 +0530 Manivannan Sadhasivam wrote: > I think you made up your mind that this driver is exposing the network interface > to the firmware on the device. I ought to clearify that the device running this > driver doesn't necessarily be a modem but a PCIe endpoint instance that uses the > netdev exposed by this driver to share data connectivity with another device. Doesn't matter how many legit use cases you can come up with. Using netdev as a device comm channel is something I am fundamentally opposed to. > This concept is not new and being supported by other protocols such as Virtio > etc... Yes. Use virtio, please.