From patchwork Wed Jun 7 15:24:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 690226 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 ADBACC77B7A for ; Wed, 7 Jun 2023 15:25:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234865AbjFGPZV (ORCPT ); Wed, 7 Jun 2023 11:25:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241549AbjFGPZG (ORCPT ); Wed, 7 Jun 2023 11:25:06 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80D6C2125 for ; Wed, 7 Jun 2023 08:24:38 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-65055aa4ed7so4431712b3a.3 for ; Wed, 07 Jun 2023 08:24:38 -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=b14zSEQe+YxElI2dvUZGTetxhbpw42yYPZnP6yH+uscxldtIM0mfzWzuzrHPAgwLdB yywkholGMCb3L6yaBtleM3z65C/PJQpr/TfC2RjAyH/tDWLZ0pukT+laow4pvE+QTr0c vKEMYVqIpSAQndiBjhM3r1tDf9gN71DMKinOWP5C7DYi3H98CJ797+E8w237PQJS84yn 8hQv4/Kkfnh2UF41Qwugq0tswZEwzi+4m08zul4A+3dO5twtAGHXFKCXY8r6EQfW0+PO HORgl+lXYoolkIfzYAoxbmgqyXVIooe95h4Ux2e8HY9bzCvRwpRYs8sIuY3u5RSmBL9M PpRQ== X-Gm-Message-State: AC+VfDzaHzAElWPBTeOjLNxZ726aiCdyQSyufixPm5xOWFLWnhWXS6nO Z1hhMq2C6RDjcZtBsptWPZ57 X-Google-Smtp-Source: ACHHUZ5zf5rAv1fKEXmFsQebOWqchgQba8hRDIpdEbSVGrI6EbcLNT1CTOXSId6xmx2MKgLO+9fWMw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 Nacked-by: Jakub Kicinski