Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp912739rwd; Wed, 7 Jun 2023 08:28:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Z+83Pfks4egr7dPj4w56Mf0GiimMzO7PiEHxxOJqg+ohj1G3yEH1j0pZQLZCoblwVI2qd X-Received: by 2002:a92:dc88:0:b0:33d:4b18:97ff with SMTP id c8-20020a92dc88000000b0033d4b1897ffmr8745271iln.23.1686151699595; Wed, 07 Jun 2023 08:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686151699; cv=none; d=google.com; s=arc-20160816; b=aML6XpXpMghxcYbPStXz5y0NQ1zoSGoapfkCVtXi5MVFnuSxVRd5XGwzS3c0H/7k1E u4WnDPK/PU4CujiX69JrFDoSyvJ0LHWx4JLdWwCxXXACimI3ePEapfGNqCFBehzDo2xm b6NWUtW8sGVuQDLDMasEpfAUVtyJVAV1lH8UjmbxMZSDVaWUmQTr4UfLYUbLi+BFn2K/ G8WHyysge7flwUUj4fNQUC6xvpwj00+fp3ypiNbTOuT6u+PdibEiThHPYUU5XAIHj7fq iM5UNUuzRPS/c92ar+YTXJyK4kyBpk6OIrvoxrWYvvunragWGdpnZ8nQsZOGjnsO+i6m jYog== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=skpFX1nvdUsEf5JIjZnFK8alGwuwceGPnoOmzX+YgHU=; b=C7or4K6K0O22X9MzzlZ8DMc4lHu/gf6SjpNi3SY14LePgbg32tipRs5AgFzhGReZts Diylv9OZdZ4uo6x4UO+297WrjLw4SZAZGNQ7HvZATuuIkBsclevpblMCB9vN8v6zW7wk TspmZ1M2dkTPUOQbMSzADM7+J0eZmefyiIHPu+btbroPGFefCioo8FajOEofQmQph/iC hQxfm+K/hyvkcK46xxZzmOs2x9iegFBC8zyGnNLtw6bLWbTB6wSpC3iTxnSiUiQ56OF9 UkHdsJXJdOkHNAhiUw4LfZv6lqtL2mT4n/HB9ZqMXpMMVIJi2lEZ0Wc+0S2TqVxSPQy2 VL8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cDpNvxi9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q142-20020a632a94000000b00543ae670bbesi5310311pgq.794.2023.06.07.08.28.03; Wed, 07 Jun 2023 08:28:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cDpNvxi9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241059AbjFGPZb (ORCPT + 99 others); Wed, 7 Jun 2023 11:25:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241548AbjFGPZG (ORCPT ); Wed, 7 Jun 2023 11:25:06 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 486CB2126 for ; Wed, 7 Jun 2023 08:24:39 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1b0314f057cso39049435ad.1 for ; Wed, 07 Jun 2023 08:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686151476; x=1688743476; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=skpFX1nvdUsEf5JIjZnFK8alGwuwceGPnoOmzX+YgHU=; b=cDpNvxi9FBzqVAGVY796eJbBguJemD7B5gglGpbBlKjzEMrpCL8MLun/S+UbE1FAwg 0YfaMZK6remIZFPeAF3wh2IOQ1HYY9lv4OCzQVXJoC4iGSrBnn4BWJ8kxrwxGyDJ/u0H XQi7nhIzZCeg9BiWQ04ZY3uIg5t9gvyLELfidoRbPA0vWKPeGsjZiSOmaPJkSLtttqJ+ mJu51mCuAUc/+WOI4r3nFx+nTAMYV9Y5moUC1TEel+fz+7nMm5Zplio2Z57Km3PSjFsg clvxdq4YKE92/QvDrPpQWDs4HRZvFrbJRol6Rz+0+RgZXGvqWXz+F2KLBeM+VBB+DfCC VeFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686151476; x=1688743476; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=skpFX1nvdUsEf5JIjZnFK8alGwuwceGPnoOmzX+YgHU=; b=k900MrjfE/zRbECUwJqcJNR3UU7ZPGK3DEwbKqaIV8s6MPpSkg9gxfgpAO7tYQf0fe f/p8HGD//4nDnE5A8M9m5Tzxlc7bT7/aPIh2oylC7hD1lsga65hfCUaIj32QC8ydIW+h Mn2edJ30IX9+KqNESduSL2hg5upIKjtLIvY/ru6eSUyYVn5OHGaLB7Z96SHlC8PrLIZI td26lwm429eIbHGEDFcVsDUKQDz/85caoXny3bsE15fPhPLBgQOhb5VB5v/R4Nd+ZujY H6/uqIl3j9tyZrlm3uTBj3FMGZEmZn0MLJH3J2XDhNSUP2nzuuHIRt4JdGpipq+Sdxsw UFhw== X-Gm-Message-State: AC+VfDy/egURN9qQOHbr4K/LcHSNdyEGuq+xSMuZSzVqj27HU/oCV1N/ 7GJAaswphiwRAlFdWJIxtt39USHldGm96/MrmQ== X-Received: by 2002:a17:902:db0e:b0:1ad:fc06:d7c0 with SMTP id m14-20020a170902db0e00b001adfc06d7c0mr2856601plx.1.1686151476521; Wed, 07 Jun 2023 08:24:36 -0700 (PDT) Received: from localhost.localdomain ([59.92.97.244]) by smtp.gmail.com with ESMTPSA id q5-20020a170902788500b001aaf536b1e3sm10590958pll.123.2023.06.07.08.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 08:24:36 -0700 (PDT) From: Manivannan Sadhasivam To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, Manivannan Sadhasivam Subject: [PATCH v2 0/2] Add MHI Endpoint network driver Date: Wed, 7 Jun 2023 20:54:25 +0530 Message-Id: <20230607152427.108607-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, 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. - Mani Changes in v2: * Fixed kfree(skb) with kfree_skb(skb) * Reworded the Kconfig text slightly * Dropped the MTU increase patch as it turned out only few devices support 32K MTU Manivannan Sadhasivam (2): net: Add MHI Endpoint network driver MAINTAINERS: Add entry for MHI networking drivers under MHI bus MAINTAINERS | 1 + drivers/net/Kconfig | 9 ++ drivers/net/Makefile | 1 + drivers/net/mhi_ep_net.c | 331 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 342 insertions(+) create mode 100644 drivers/net/mhi_ep_net.c base-commit: e7214663e023be5e518e8d0d8f2dca6848731652 -- 2.25.1