From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE9E4C7EE23 for ; Wed, 7 Jun 2023 17:12:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230495AbjFGRMF (ORCPT ); Wed, 7 Jun 2023 13:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjFGRME (ORCPT ); Wed, 7 Jun 2023 13:12:04 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CAF91BC2 for ; Wed, 7 Jun 2023 10:11:59 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-662b85f4640so295867b3a.0 for ; Wed, 07 Jun 2023 10:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686157919; x=1688749919; 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=rWtY5he6E2U22BGtj3uJgNRgjOP3X6c6EEgHAfVceAA=; b=mXect4J9DJmCaxC7euotMiP2tk7blJ93LE1V553qNvnTmgH2GBDVmDFCW6KtS+vMN7 Axb0cX1wJcgTaXm1IdIPtXfvXLDZpE07394pEVTrE2EVF/IZvAIl+cI3LEK+6Ds1SLKT Zts25GUsIdKWoR6Z11646M2mmeheA6oHVWYMwDBK4U5ejNAAmW/uoJI7wnNntiAmwrMC rM4DXU3ImtDRebjK9ONq1qEODm7k4Sw2nHN2ZzXetQcjOZrL0sV2of4OqDDo4SAkdanR FHSjjp2mkYKC7sGhMCpwfoQWDwYad8UwSext4uZZOPzYyjNv2RvxaCkNvhztbXyh7PzX bMpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686157919; x=1688749919; 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=rWtY5he6E2U22BGtj3uJgNRgjOP3X6c6EEgHAfVceAA=; b=SnJzRpsOU3wJwoCWVEB84a7ISKrX15ag3XuZ6DfDIW/O8d8E6wfjSQmK96178JIw/C nFXhMV4g+T3G3oj90hjwKm4+yho1KoDBPWrV1u/nLTWdHec8VNT4nvCEP+tvSZRD8cWJ eksat4/bNm0jJabRMpXcnHOSgX5qJUODfSxIVHhzz2GBHC6r5nj8APfDbAFlcz1+4JMc k3RwyTN1bqGtfkywqClSdvEoH6qiTXbTsURg9u7K4G0yIFv6C3VzlWEc4jDkxkjSsWMk SAv8t5ADZ7TIavX3XeCk/OGnM3e0cDpJNyfoissL7bapjfV9n8beo8162U3suUvMuSkX o5iQ== X-Gm-Message-State: AC+VfDzX9SBcR2NQ8pwh93p2pUQmqNir9IA2O1MBdD1ZOWDeMmUFvMdf MQuNYei/8TE9SsBCgMiBh+CM X-Google-Smtp-Source: ACHHUZ5QgjgWoC5EH7Xt7czYHcPm4hEGhW8TrMZglVc/Jysfh+b6M9//znCzHXVkkqT037ZWx2uYdQ== X-Received: by 2002:a05:6a20:4425:b0:10e:e218:d3f0 with SMTP id ce37-20020a056a20442500b0010ee218d3f0mr1743242pzb.54.1686157918848; Wed, 07 Jun 2023 10:11:58 -0700 (PDT) Received: from thinkpad ([59.92.97.244]) by smtp.gmail.com with ESMTPSA id 21-20020a630c55000000b0051b71e8f633sm9228268pgm.92.2023.06.07.10.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 10:11:58 -0700 (PDT) Date: Wed, 7 Jun 2023 22:41:53 +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: <20230607171153.GA109456@thinkpad> References: <20230607152427.108607-1-manivannan.sadhasivam@linaro.org> <20230607094922.43106896@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230607094922.43106896@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Wed, Jun 07, 2023 at 09:49:22AM -0700, Jakub Kicinski wrote: > On Wed, 7 Jun 2023 20:54:25 +0530 Manivannan Sadhasivam wrote: > > This series adds a network driver for the Modem Host Interface (MHI) endpoint > > devices that provides network interfaces to the PCIe based Qualcomm endpoint > > devices supporting MHI bus (like Modems). This driver allows the MHI endpoint > > devices to establish IP communication with the host machines (x86, ARM64) over > > MHI bus. > > > > On the host side, the existing mhi_net driver provides the network connectivity > > to the host. > > Why are you posting the next version before the discussion on the > previous one concluded? :| > Previous discussion doesn't sound any controversial to me, so I thought of respinning. Maybe I should've waited... > 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. - Mani -- மணிவண்ணன் சதாசிவம்