From patchwork Fri Dec 23 01:55:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Liu, Mingxia" X-Patchwork-Id: 121312 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67BA8A0093; Fri, 23 Dec 2022 03:51:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 519B440697; Fri, 23 Dec 2022 03:51:41 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5C20E40685 for ; Fri, 23 Dec 2022 03:51:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671763899; x=1703299899; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=K0G3A2mp9i0+6DudMcSTCdxku5Hy6JpXyHCLXuUUkpc=; b=cyPXevdQSmFV7MpoItOZLF1i3VilfOoBkAAlIOibutnXwaKlHX/7MV7Q 6AB8dMnypEWPYYr9LZIDr3V7mS2nlrJxzS3nK/GH9hr+KR0wuM1JOimox G4qR0e90rOWwdb6hFcU5JTRrK1vN7XvPeOx5q7Pf8iqvitvYREHIZXrNa SsbD/jyhgvLAs5cDfwrMdJdatx/5cf4RFaHp2qJSKeLbbfymCtB1LSyjv Xtzh/xABu6jAtmXqiCmOvEhkgOkqs0OaL9bNBBRrKbUihRhndtuba6cKb yihZj+uNCBTc963TzUKmJTuMJKzyuiLgX/s3u1kAZwWpquoUwvEhOWz9N g==; X-IronPort-AV: E=McAfee;i="6500,9779,10569"; a="321467053" X-IronPort-AV: E=Sophos;i="5.96,267,1665471600"; d="scan'208";a="321467053" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2022 18:51:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10569"; a="629707119" X-IronPort-AV: E=Sophos;i="5.96,267,1665471600"; d="scan'208";a="629707119" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.112]) by orsmga006.jf.intel.com with ESMTP; 22 Dec 2022 18:51:36 -0800 From: Mingxia Liu To: dev@dpdk.org Cc: jingjing.wu@intel.com, beilei.xing@intel.com, qi.z.zhang@intel.com, Mingxia Liu Subject: [PATCH 00/21] add support for cpfl PMD in DPDK Date: Fri, 23 Dec 2022 01:55:37 +0000 Message-Id: <20221223015558.3143279-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 The patchset introduced the cpfl (Control Plane Function Library) PMD for Intel® IPU E2100’s Configure Physical Function (Device ID: 0x1453) The cpfl PMD inherits all the features from idpf PMD which will follow an ongoing standard data plan function spec https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=idpf Besides, it will also support more device specific hardware offloading features from DPDK’s control path (e.g.: hairpin, rte_flow …) This patchset mainly focuses on idpf PMD’s equivalent features. To avoid duplicated code, the patchset depends on below patchsets which move the common part from net/idpf into common/idpf as a shared library. This patchset is based on the idpf PMD code: http://patches.dpdk.org/project/dpdk/list/?submitter=410&q=&delegate=&archive=&series=&state=* http://patches.dpdk.org/project/dpdk/list/?submitter=2083&q=&delegate=&archive=&series=&state=* http://patches.dpdk.org/project/dpdk/list/?submitter=2514&q=&delegate=&archive=&series=&state= Mingxia Liu (21): net/cpfl: support device initialization net/cpfl: add Tx queue setup net/cpfl: add Rx queue setup net/cpfl: support device start and stop net/cpfl: support queue start net/cpfl: support queue stop net/cpfl: support queue release net/cpfl: support MTU configuration net/cpfl: support basic Rx data path net/cpfl: support basic Tx data path net/cpfl: support write back based on ITR expire net/cpfl: support RSS net/cpfl: support Rx offloading net/cpfl: support Tx offloading net/cpfl: add AVX512 data path for single queue model net/cpfl: support timestamp offload net/cpfl: add AVX512 data path for split queue model net/cpfl: add hw statistics net/cpfl: add RSS set/get ops net/cpfl: support single q scatter RX datapath net/cpfl: add xstats ops MAINTAINERS | 9 + doc/guides/nics/cpfl.rst | 88 ++ doc/guides/nics/features/cpfl.ini | 17 + doc/guides/rel_notes/release_23_03.rst | 5 + drivers/net/cpfl/cpfl_ethdev.c | 1481 +++++++++++++++++++++++ drivers/net/cpfl/cpfl_ethdev.h | 94 ++ drivers/net/cpfl/cpfl_logs.h | 32 + drivers/net/cpfl/cpfl_rxtx.c | 900 ++++++++++++++ drivers/net/cpfl/cpfl_rxtx.h | 44 + drivers/net/cpfl/cpfl_rxtx_vec_common.h | 111 ++ drivers/net/cpfl/meson.build | 38 + drivers/net/meson.build | 1 + 12 files changed, 2820 insertions(+) create mode 100644 doc/guides/nics/cpfl.rst create mode 100644 doc/guides/nics/features/cpfl.ini create mode 100644 drivers/net/cpfl/cpfl_ethdev.c create mode 100644 drivers/net/cpfl/cpfl_ethdev.h create mode 100644 drivers/net/cpfl/cpfl_logs.h create mode 100644 drivers/net/cpfl/cpfl_rxtx.c create mode 100644 drivers/net/cpfl/cpfl_rxtx.h create mode 100644 drivers/net/cpfl/cpfl_rxtx_vec_common.h create mode 100644 drivers/net/cpfl/meson.build