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 3787341DB5; Thu, 2 Mar 2023 14:06:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A7EB40E2D; Thu, 2 Mar 2023 14:06:05 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 8312E40E09 for ; Thu, 2 Mar 2023 14:06:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677762363; x=1709298363; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uDY8cZyi/z8EYS4Nmn/l8V1xRDjd3admyEtxaPAzamw=; b=SHElf5PilcqLjdq8BAX2f9NNnfcC+WfXE1NiJaJZjFH5Vy4+NUOtr4ZG g8/YTzQbLhPbZwtT+acXH4XKsK98TBdkgWejDi+RNWSw8uhPe9boN4j3Z 2cbWm2ggU1AWgcA5UyElrMW4MT9ndxx5KRLXiyblpeafkSeVZKjNQ5u3B 0kbOGOM3IZiWL/h9kIuoCDUvXwMCFPtxOYg1qB+avSgv1qcYgAQB253CQ iFI0hVYKK98B8hVvBzbNBz8dKZfRgxG9tKNI1V6+XQw6zDS007BIxIt2i XSTENLWZ6e1HMcrAOcDFRBXJ1cONKg+1oX8O7E1wda4xvRt6xwIKQXInw A==; X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="322988090" X-IronPort-AV: E=Sophos;i="5.98,227,1673942400"; d="scan'208";a="322988090" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2023 05:06:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="707406357" X-IronPort-AV: E=Sophos;i="5.98,227,1673942400"; d="scan'208";a="707406357" Received: from dpdk-mingxial-ice.sh.intel.com ([10.67.110.191]) by orsmga001.jf.intel.com with ESMTP; 02 Mar 2023 05:06:00 -0800 From: Mingxia Liu To: dev@dpdk.org, beilei.xing@intel.com, yuying.zhang@intel.com Cc: Mingxia Liu Subject: [PATCH v9 00/21] add support for cpfl PMD in DPDK Date: Thu, 2 Mar 2023 21:20:36 +0000 Message-Id: <20230302212057.1114863-1-mingxia.liu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230302103527.931071-1-mingxia.liu@intel.com> References: <20230302103527.931071-1-mingxia.liu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 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 …). which is different from idpf PMD, and that's why we need a new cpfl PMD. 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. v2 changes: - rebase to the new baseline. - Fix rss lut config issue. v3 changes: - rebase to the new baseline. v4 changes: - Resend v3. No code changed. v5 changes: - rebase to the new baseline. - optimize some code - give "not supported" tips when user want to config rss hash type - if stats reset fails at initialization time, don't rollback, just print ERROR info v6 changes: - for small fixed size structure, change rte_memcpy to memcpy() - fix compilation for AVX512DQ - update cpfl maintainers v7 changes: - add dependency in cover-letter v8 changes: - improve documentation and commit msg - optimize function cpfl_dev_link_update() - refine devargs check v9 changes: - refine cpfl_pci_probe(), remove redundant code. This patchset is based on the idpf PMD code for refining Rx/Tx queue model info: http://patches.dpdk.org/project/dpdk/patch/20230302195111.1104185-1-mingxia.liu@intel.com/ 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 scalar scatter Rx datapath for single queue model net/cpfl: add xstats ops MAINTAINERS | 8 + doc/guides/nics/cpfl.rst | 107 ++ doc/guides/nics/features/cpfl.ini | 16 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_23_03.rst | 6 + drivers/net/cpfl/cpfl_ethdev.c | 1460 +++++++++++++++++++++++ drivers/net/cpfl/cpfl_ethdev.h | 94 ++ drivers/net/cpfl/cpfl_logs.h | 29 + drivers/net/cpfl/cpfl_rxtx.c | 951 +++++++++++++++ drivers/net/cpfl/cpfl_rxtx.h | 44 + drivers/net/cpfl/cpfl_rxtx_vec_common.h | 116 ++ drivers/net/cpfl/meson.build | 40 + drivers/net/meson.build | 1 + 13 files changed, 2873 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 -- 2.34.1