From patchwork Fri Jan 13 08:19:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Liu, Mingxia" X-Patchwork-Id: 122007 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 7BB35423C1; Fri, 13 Jan 2023 10:14:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27BBC410EF; Fri, 13 Jan 2023 10:14:53 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 892FB410D4 for ; Fri, 13 Jan 2023 10:14:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673601291; x=1705137291; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=js2d7HG8C51VzuY1AIMIcwgIWo/rUTEL7y4gPK61+/s=; b=Z5qXqawA2l+9fdsl7c6n7mzsCRspImzgc8dfWzWtkjdUP+pEPpcQpTDz SC1K1KrT1Td6OymnDeVpYiXQ3SSgmJ72Pxvcz4OE9NIwEx+DJyEzmLs9e vQOBOvphjUR6PUxUZVFzk1/AMKtqXK/VWk8aA5jeR5yk7HgDjliU4HPUx Kj3Kig7DOIAMBQyq2LRCRmn6UXnBv/hU7DnTJ2jrQVstCq55wte3ArVVf PS/rN79NE/lGIgi9bxINJoAI+knbwwVEJ62x+0e2tJeB1Fuj5kbSvjgbQ ZzNUKDYs9PFlC1pd088pz26ACrQnIzrWqEHvyv3kcmaTYalyxg55WtnUo g==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="304332445" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="304332445" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jan 2023 01:14:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="903522525" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="903522525" Received: from dpdk-mingxial-01.sh.intel.com ([10.67.119.167]) by fmsmga006.fm.intel.com with ESMTP; 13 Jan 2023 01:14:48 -0800 From: Mingxia Liu To: dev@dpdk.org, qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: wenjun1.wu@intel.com, Mingxia Liu Subject: [PATCH v2 00/21] add support for cpfl PMD in DPDK Date: Fri, 13 Jan 2023 08:19:10 +0000 Message-Id: <20230113081931.221576-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221223015558.3143279-1-mingxia.liu@intel.com> References: <20221223015558.3143279-1-mingxia.liu@intel.com> 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/cover/20230106090501.9106-1-beilei.xing@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230106091627.13530-1-beilei.xing@intel.com/ http://patches.dpdk.org/project/dpdk/patch/20230113015119.3279019-2-wenjun1.wu@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230111071545.504706-1-mingxia.liu@intel.com/ v2 changes: - rebase to the new baseline. - Fix rss lut config issue. 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 | 1490 +++++++++++++++++++++++ drivers/net/cpfl/cpfl_ethdev.h | 95 ++ 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 | 113 ++ drivers/net/cpfl/meson.build | 38 + drivers/net/idpf/idpf_ethdev.c | 3 +- drivers/net/meson.build | 1 + 13 files changed, 2834 insertions(+), 1 deletion(-) 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