From patchwork Fri Oct 7 21:38:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Chautru X-Patchwork-Id: 117646 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 DDB96A0543; Fri, 7 Oct 2022 23:39:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88EC44021E; Fri, 7 Oct 2022 23:39:09 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id AC95240042 for ; Fri, 7 Oct 2022 23:39:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665178747; x=1696714747; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hPcND2WLiMPvYoxB6+sUtMfSsrpj6Hw4cf5ZK2ndY0E=; b=OXwbmwwwOCVCXVxXhBaz/rRYYPlxqLd2AMV6qOnHQgPVQ8WN5zdbVkrA b5i4x3LnzPPhVnaOTr6jzIC1p9ofe0i5orQgenpHkbet6vhXqbjazl6bw 2AKONAwRTV+B+Uc1opGKF4Efd6Si1oz15RgiVlEzSrgoCIeKXlEnKNyDu 6HEhupyPHjw21AllI2sqa9pP0IUS7D5TKXJ+KoAnJqRv3Y80HM3xF8yLn sHbWq7/bhVpMg8AlZEfOBotwfGz9Bf+IWOsb0gk6mi4kwmBCNw5aWX89P vm5ULnbhqlUr5STWeJtS2zfFcoKLZXr32qV4ZRwPQDdvIhxCCWCyBVgJM A==; X-IronPort-AV: E=McAfee;i="6500,9779,10493"; a="291118493" X-IronPort-AV: E=Sophos;i="5.95,167,1661842800"; d="scan'208";a="291118493" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2022 14:39:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10493"; a="620388425" X-IronPort-AV: E=Sophos;i="5.95,167,1661842800"; d="scan'208";a="620388425" Received: from unknown (HELO icx-npg-scs1-cp1.localdomain) ([10.233.180.245]) by orsmga007.jf.intel.com with ESMTP; 07 Oct 2022 14:39:06 -0700 From: Nicolas Chautru To: dev@dpdk.org, gakhil@marvell.com, maxime.coquelin@redhat.com Cc: trix@redhat.com, mdr@ashroe.eu, bruce.richardson@intel.com, hemant.agrawal@nxp.com, david.marchand@redhat.com, stephen@networkplumber.org, hernan.vargas@intel.com, Nicolas Chautru Subject: [PATCH v9 00/14] bbdev ACC200 PMD Date: Fri, 7 Oct 2022 14:38:37 -0700 Message-Id: <20221007213851.31524-1-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.37.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 v9: I had missed a compilation error in debug mode. v8: Rebased to latest and fixed related compilation error. Added acc200.ini and updated rel_notes. Formatting improvement in comments, docs and commit message. v7: Additional update in commits 9,10,11 based on review from Maxime. v5/v6:Updates based on Maxime reviews of v4/v5. Thanks. v4: Rebase suggested by Maxime to split first commit and update the order within the series. No functional change. v3: Putting together ACC100 and ACC200 PMDs in common acc directory based on previous discussion on v2. v2: Includes now code refactory to have common structures and code reused with the parallel ACC1XX serie PMD which can be shared moving forward. v1: This is targeting 22.11 and includes the PMD for the new serie integrated accelerator on Intel Xeon SPR-EEC. Nic Chautru (14): baseband/acc100: remove unused registers baseband/acc100: refactor to segregate common code baseband/acc: rename directory from acc100 to acc baseband/acc: introduce PMD for ACC200 baseband/acc: add HW register definitions for ACC200 baseband/acc: add info get function for ACC200 baseband/acc: add queue configuration for ACC200 baseband/acc: add LDPC processing functions baseband/acc: add LTE processing functions baseband/acc: add support for FFT operations baseband/acc: support interrupt baseband/acc: add device status and vf2pf comms baseband/acc: add PF configure companion function baseband/acc: simplify meson dependency MAINTAINERS | 5 +- app/test-bbdev/meson.build | 4 +- app/test-bbdev/test_bbdev_perf.c | 81 +- doc/guides/bbdevs/acc200.rst | 257 ++ doc/guides/bbdevs/features/acc200.ini | 14 + doc/guides/bbdevs/features/default.ini | 1 + doc/guides/bbdevs/index.rst | 1 + doc/guides/rel_notes/release_22_11.rst | 6 + drivers/baseband/acc/acc100_pf_enum.h | 147 + drivers/baseband/acc/acc100_pmd.h | 177 + .../baseband/{acc100 => acc}/acc100_vf_enum.h | 0 drivers/baseband/{acc100 => acc}/acc101_pmd.h | 10 - drivers/baseband/acc/acc200_pf_enum.h | 108 + drivers/baseband/acc/acc200_pmd.h | 196 + drivers/baseband/acc/acc200_vf_enum.h | 83 + drivers/baseband/acc/acc_common.h | 1389 ++++++ drivers/baseband/acc/meson.build | 8 + drivers/baseband/acc/rte_acc100_cfg.h | 49 + .../baseband/{acc100 => acc}/rte_acc100_pmd.c | 1773 +++----- drivers/baseband/acc/rte_acc200_cfg.h | 48 + drivers/baseband/acc/rte_acc200_pmd.c | 3932 +++++++++++++++++ .../rte_acc_common_cfg.h} | 62 +- drivers/baseband/{acc100 => acc}/version.map | 1 + drivers/baseband/acc100/acc100_pf_enum.h | 1086 ----- drivers/baseband/acc100/acc100_pmd.h | 624 --- drivers/baseband/acc100/meson.build | 8 - drivers/baseband/meson.build | 2 +- 27 files changed, 7095 insertions(+), 2977 deletions(-) create mode 100644 doc/guides/bbdevs/acc200.rst create mode 100644 doc/guides/bbdevs/features/acc200.ini create mode 100644 drivers/baseband/acc/acc100_pf_enum.h create mode 100644 drivers/baseband/acc/acc100_pmd.h rename drivers/baseband/{acc100 => acc}/acc100_vf_enum.h (100%) rename drivers/baseband/{acc100 => acc}/acc101_pmd.h (76%) create mode 100644 drivers/baseband/acc/acc200_pf_enum.h create mode 100644 drivers/baseband/acc/acc200_pmd.h create mode 100644 drivers/baseband/acc/acc200_vf_enum.h create mode 100644 drivers/baseband/acc/acc_common.h create mode 100644 drivers/baseband/acc/meson.build create mode 100644 drivers/baseband/acc/rte_acc100_cfg.h rename drivers/baseband/{acc100 => acc}/rte_acc100_pmd.c (71%) create mode 100644 drivers/baseband/acc/rte_acc200_cfg.h create mode 100644 drivers/baseband/acc/rte_acc200_pmd.c rename drivers/baseband/{acc100/rte_acc100_cfg.h => acc/rte_acc_common_cfg.h} (58%) rename drivers/baseband/{acc100 => acc}/version.map (76%) delete mode 100644 drivers/baseband/acc100/acc100_pf_enum.h delete mode 100644 drivers/baseband/acc100/acc100_pmd.h delete mode 100644 drivers/baseband/acc100/meson.build