From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58FA8BA40 for ; Thu, 8 Jun 2023 12:37:26 +0000 (UTC) Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-256422ad25dso283502a91.0 for ; Thu, 08 Jun 2023 05:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686227845; x=1688819845; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=vF7BJHmnxG54wdpwiHNjVAE0LjJI9FuEL9uTFxii16I=; b=Aiihaxqbz67spa16+ZNOJjy54FXq89dppdCCz9Lcbhkd1yMhtCvLFtvwjOBywkj95T gZo1sybXE7ojr4Mpm+2zdshpW7LLYICvQXmckN7RsoPdmf+ajw2t3ShsnENqNzpyL0jc n3TUh5i2XOfPD9zSWWou5wq+rd5FQ9VRL/C5w0rT/oHrYuFtHyXO9VEqP600FaiZQNuC wvmkXmP6rYdrESm3zrPXrqjiXGjz+GD/R64YTsoi8kCuMzvm2d6lZHjPGm2UhG/xAV+Q N001B3KB1Yv8ywbvOgjN8qmr29lrg22Q+MsgF2mpA+k/RfVRIPRwxwrcWXqgvDa+MZkx FjOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686227845; x=1688819845; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vF7BJHmnxG54wdpwiHNjVAE0LjJI9FuEL9uTFxii16I=; b=Ezsxh0tQQwENz5IMR45ZFtxRkpOAMgkskelXS+kWRDw2YisKkqV6WN8BI5fGL4Af3b nW7/dNZI9G4w/6rBRluYZ/ytl6p3ZiXorN1E1yzab1uOaGJOs0ukata9SleJTYayhF+W oFi9x2auuaqSbey4nePOdPb8nWtNdUqFJdiirej6Gjlh5dWzC5BrdR90/IriwjY5bbOq x/dRsLcCrURjUfjfFUW4QeLnJY2URMhAO+4t2IjTRkf7NKFkep7Jmf52Zc01ff/TkVvY EzlFs1oWBv1dg7MBDBq+B2zHn+WepfJj6GYFTOVf+91ElmLVzn7dD5GSc4ELXSH1d60h 785Q== X-Gm-Message-State: AC+VfDzHNI68+x5wcTS+hAAnqFvyuAMAb/XdAhVaEduSxnKsIvM0fhv1 nVS2ltlGN1UoQMJAM8KzgirL X-Google-Smtp-Source: ACHHUZ6tZyhqvp7cqUQlsZZN44LfD6nkDhNPmbUYwX0UZxMiBiudwS0spmZHcsUdiFOa9lkqBcSCYg== X-Received: by 2002:a17:90a:fa42:b0:259:e35f:ab2e with SMTP id dt2-20020a17090afa4200b00259e35fab2emr1853190pjb.4.1686227845577; Thu, 08 Jun 2023 05:37:25 -0700 (PDT) Received: from thinkpad ([117.202.186.138]) by smtp.gmail.com with ESMTPSA id 22-20020a17090a19d600b0024c1ac09394sm1288861pjj.19.2023.06.08.05.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 05:37:25 -0700 (PDT) Date: Thu, 8 Jun 2023 18:07:20 +0530 From: Manivannan Sadhasivam To: Jakub Kicinski 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: <20230608123720.GC5672@thinkpad> References: <20230607152427.108607-1-manivannan.sadhasivam@linaro.org> <20230607094922.43106896@kernel.org> <20230607171153.GA109456@thinkpad> <20230607104350.03a51711@kernel.org> Precedence: bulk X-Mailing-List: mhi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230607104350.03a51711@kernel.org> On Wed, Jun 07, 2023 at 10:43:50AM -0700, Jakub Kicinski wrote: > On Wed, 7 Jun 2023 22:41:53 +0530 Manivannan Sadhasivam wrote: > > > In any case, I'm opposed to reuse of the networking stack to talk > > > to firmware. It's a local device. The networking subsystem doesn't > > > have to cater to fake networks. Please carry: > > > > > > Nacked-by: Jakub Kicinski > > > > > > if there are future submissions. > > > > Why shouldn't it be? With this kind of setup one could share the data connectivity > > available in the device with the host over IP tunneling. If the IP source in the > > device (like modem DSP) has no way to be shared with the host, then those IP > > packets could be tunneled through this interface for providing connectivity to > > the host. > > > > I believe this is a common usecase among the PCIe based wireless endpoint > > devices. > > We can handwave our way into many scenarios and terrible architectures. > I don't see any compelling reason to merge this. These kind of usecases exist in the products out there in the market. Regarding your comment on "opposed to reuse of the network stack to talk to firmware", it not the just the firmware, it is the device in general that is talking to the host over this interface. And I don't see how different it is from the host perspective. And these kind of scenarios exist with all types of interfaces like usb-gadget, virtio etc... So not sure why the rule is different for networking subsystem. - Mani -- மணிவண்ணன் சதாசிவம்