From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2D532A0542; Mon, 29 Aug 2022 10:41:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA1914069D; Mon, 29 Aug 2022 10:41:54 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 3389C40694 for ; Mon, 29 Aug 2022 10:41:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661762513; x=1693298513; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fHOpiTdwJ+QHWCw5Gh4TtIltRTF8YlyqzC++Q5L1Zvk=; b=lGnTtZ2MDpIYEwDPlm1XGKg4y4JB+Flk3dO3JZ1JuRwylav4L8A5dNaP AKsTIZRpB77thRwXdx+J+C5710h/yxL+82pi4JS8V6bFkfRwU08GI2+pa Jt4VbVR7RLPR1sG0+yRN8zjUMBmFQaYN5VMGC2zvxqQ5+gGskj09rcBjE PW8IJwUoGrk1zkN88hSCbCZltNfCszqQs0xIkNy2n17uFB+YH0+bQ/psS WBatgwi9s7vlNGNcnZbOMTKGDdpTh/c41qPG1CPes0HlVJDAa+r0P+U9H eQuos+YQQL7nHAq4GfoaGCGPXIqturpUMYd3jq8Gy6WQSf2j2VwMc7mOc g==; X-IronPort-AV: E=McAfee;i="6500,9779,10453"; a="356559793" X-IronPort-AV: E=Sophos;i="5.93,272,1654585200"; d="scan'208";a="356559793" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2022 01:41:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,272,1654585200"; d="scan'208";a="640856821" Received: from dpdk-jf-ntb-one.sh.intel.com ([10.67.111.104]) by orsmga008.jf.intel.com with ESMTP; 29 Aug 2022 01:41:50 -0700 From: Junfeng Guo To: qi.z.zhang@intel.com, jingjing.wu@intel.com Cc: ferruh.yigit@xilinx.com, dev@dpdk.org, xiaoyun.li@intel.com, awogbemila@google.com, bruce.richardson@intel.com, junfeng.guo@intel.com Subject: [PATCH v2 00/10] introduce GVE PMD Date: Mon, 29 Aug 2022 16:41:17 +0800 Message-Id: <20220829084127.934183-1-junfeng.guo@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220729193042.2764633-2-xiaoyun.li@intel.com> References: <20220729193042.2764633-2-xiaoyun.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Introduce a new PMD for Google Virtual Ethernet (GVE). This patch set requires an exception for MIT license for GVE base code. And the base code includes the following files: - gve_adminq.c - gve_adminq.h - gve_desc.h - gve_desc_dqo.h - gve_register.h It's based on GVE kernel driver v1.3.0 and the original code is in https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/tree/v1.3.0 v2: fix some CI check error. Junfeng Guo (10): net/gve: introduce GVE PMD base code net/gve: add logs and OS specific implementation net/gve: support device initialization net/gve: add link update support net/gve: add MTU set support net/gve: add queue operations net/gve: add Rx/Tx support net/gve: add support to get dev info and configure dev net/gve: add stats support doc: update documentation MAINTAINERS | 6 + doc/guides/nics/features/gve.ini | 18 + doc/guides/nics/gve.rst | 65 ++ doc/guides/rel_notes/release_22_11.rst | 4 + drivers/net/gve/gve.h | 331 +++++++++ drivers/net/gve/gve_adminq.c | 926 +++++++++++++++++++++++++ drivers/net/gve/gve_adminq.h | 383 ++++++++++ drivers/net/gve/gve_desc.h | 139 ++++ drivers/net/gve/gve_desc_dqo.h | 256 +++++++ drivers/net/gve/gve_ethdev.c | 772 +++++++++++++++++++++ drivers/net/gve/gve_logs.h | 22 + drivers/net/gve/gve_osdep.h | 149 ++++ drivers/net/gve/gve_register.h | 30 + drivers/net/gve/gve_rx.c | 366 ++++++++++ drivers/net/gve/gve_tx.c | 678 ++++++++++++++++++ drivers/net/gve/meson.build | 15 + drivers/net/gve/version.map | 3 + drivers/net/meson.build | 1 + 18 files changed, 4164 insertions(+) create mode 100644 doc/guides/nics/features/gve.ini create mode 100644 doc/guides/nics/gve.rst create mode 100644 drivers/net/gve/gve.h create mode 100644 drivers/net/gve/gve_adminq.c create mode 100644 drivers/net/gve/gve_adminq.h create mode 100644 drivers/net/gve/gve_desc.h create mode 100644 drivers/net/gve/gve_desc_dqo.h create mode 100644 drivers/net/gve/gve_ethdev.c create mode 100644 drivers/net/gve/gve_logs.h create mode 100644 drivers/net/gve/gve_osdep.h create mode 100644 drivers/net/gve/gve_register.h create mode 100644 drivers/net/gve/gve_rx.c create mode 100644 drivers/net/gve/gve_tx.c create mode 100644 drivers/net/gve/meson.build create mode 100644 drivers/net/gve/version.map -- 2.34.1