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 B851BA0544; Fri, 23 Sep 2022 11:39:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB2EA42B7B; Fri, 23 Sep 2022 11:39:23 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id C81004068E for ; Fri, 23 Sep 2022 11:39:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663925961; x=1695461961; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mGOOg0DsI++Arm+dpJcsbyUpxr1kbDlCef7SAqzSP/o=; b=G5Omst1vhdniysxAgIBiZD+g1XBFudd8JXnIsWuYCnPJ+9hui54Gwxnh rz9H4Naxt5GqEFdiNyuxyKMeoViBAwxUkx77Za5CbMeMV6esZ35KdIk0X O9duA6IxqceLbGYcwIAuSGLtVWskhEBlBSzQP7Jvppkt2QXsuiqfQoy6Q RZyDKJMKdg20M/BQvXqt3pBoCn56E0KD3Ady122jqHTWrJukDFD84izPg cGcmAARMGLma9ajZXnXllEnxmfCXDb8+QFjv+qiZb89wEiMaFhqnc5qmi yQhgAjuR6ANDDT4GxsyrWo3QxkOdmTa5MSq5/F9ML6iejENWIwlxalLM8 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10478"; a="326885859" X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="326885859" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2022 02:39:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="650891148" Received: from dpdk-jf-ntb-one.sh.intel.com ([10.67.111.104]) by orsmga008.jf.intel.com with ESMTP; 23 Sep 2022 02:39:07 -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, xueqin.lin@intel.com, junfeng.guo@intel.com Subject: [PATCH v3 0/9] introduce GVE PMD Date: Fri, 23 Sep 2022 17:38:20 +0800 Message-Id: <20220923093829.3019525-1-junfeng.guo@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220829084127.934183-11-junfeng.guo@intel.com> References: <20220829084127.934183-11-junfeng.guo@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. v3: refactor some code and fix some build error. Junfeng Guo (9): 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 MAINTAINERS | 6 + doc/guides/nics/features/gve.ini | 18 + doc/guides/nics/gve.rst | 69 ++ doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_22_11.rst | 5 + drivers/net/gve/gve.h | 58 ++ 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 | 775 +++++++++++++++++++++ drivers/net/gve/gve_ethdev.h | 300 ++++++++ drivers/net/gve/gve_logs.h | 14 + drivers/net/gve/gve_osdep.h | 159 +++++ drivers/net/gve/gve_register.h | 30 + drivers/net/gve/gve_rx.c | 366 ++++++++++ drivers/net/gve/gve_tx.c | 682 ++++++++++++++++++ drivers/net/gve/meson.build | 15 + drivers/net/gve/version.map | 3 + drivers/net/meson.build | 1 + 20 files changed, 4206 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_ethdev.h 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