From patchwork Wed Sep 23 02:19:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Chautru X-Patchwork-Id: 78464 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0AF72A04B5; Wed, 23 Sep 2020 04:20:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E2E21D6F0; Wed, 23 Sep 2020 04:20:23 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E83C91D6F0 for ; Wed, 23 Sep 2020 04:20:21 +0200 (CEST) IronPort-SDR: IJun41Xlt29Kzf9HvxSARTAwKq6gOcme5H/XDfVVSmXXEwIraSFXvrGNRVjvw6erpmkEeGy39s MFt678Y9VoeA== X-IronPort-AV: E=McAfee;i="6000,8403,9752"; a="158137482" X-IronPort-AV: E=Sophos;i="5.77,292,1596524400"; d="scan'208";a="158137482" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2020 19:20:20 -0700 IronPort-SDR: V2HDpK2U7iPLXZDWksZJ3CO3x2NdfBJUN88QUlYTBYfhq2h+5UBjaQZmbNC31Gr+Nz3VPI2E1A MXQQohAUxLVg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,292,1596524400"; d="scan'208";a="322442471" Received: from skx-5gnr-sc12-4.sc.intel.com ([172.25.69.210]) by orsmga002.jf.intel.com with ESMTP; 22 Sep 2020 19:20:19 -0700 From: Nicolas Chautru To: dev@dpdk.org, akhil.goyal@nxp.com Cc: bruce.richardson@intel.com, rosen.xu@intel.com, dave.burley@accelercomm.com, aidan.goddard@accelercomm.com, ferruh.yigit@intel.com, tianjiao.liu@intel.com, Nicolas Chautru Date: Tue, 22 Sep 2020 19:19:35 -0700 Message-Id: <1600827586-73414-1-git-send-email-nicolas.chautru@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1597796731-57841-12-git-send-email-nicolas.chautru@intel.com> References: <1597796731-57841-12-git-send-email-nicolas.chautru@intel.com> Subject: [dpdk-dev] [PATCH v6 00/11] bbdev PMD ACC100 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v6: removed a legacy makefile no longer required v5: rebase based on latest on main. The legacy makefiles are removed. v4: an odd compilation error is reported for one CI variant using "gcc latest" which looks to me like a false positive of maybe-undeclared. http://mails.dpdk.org/archives/test-report/2020-August/148936.html Still forcing a dummy declare to remove this CI warning I will check with ci@dpdk.org in parallel. v3: missed a change during rebase v2: includes clean up from latest CI checks. This set includes a new PMD for the accelerator ACC100 for 4G+5G FEC in 20.11. Documentation is updated as well accordingly. Existing unit tests are all still supported. Harry van Haaren (2): service: retrieve lcore active state test/service: fix race condition on stopping lcore Nicolas Chautru (9): drivers/baseband: add PMD for ACC100 baseband/acc100: add register definition file baseband/acc100: add info get function baseband/acc100: add queue configuration baseband/acc100: add LDPC processing functions baseband/acc100: add HARQ loopback support baseband/acc100: add support for 4G processing baseband/acc100: add interrupt support to PMD baseband/acc100: add debug function to validate input app/test-bbdev/meson.build | 3 + app/test/test_service_cores.c | 21 +- doc/guides/bbdevs/acc100.rst | 233 ++ doc/guides/bbdevs/index.rst | 1 + doc/guides/rel_notes/release_20_11.rst | 6 + drivers/baseband/acc100/acc100_pf_enum.h | 1068 +++++ drivers/baseband/acc100/acc100_vf_enum.h | 73 + drivers/baseband/acc100/meson.build | 6 + drivers/baseband/acc100/rte_acc100_cfg.h | 96 + drivers/baseband/acc100/rte_acc100_pmd.c | 4179 ++++++++++++++++++++ drivers/baseband/acc100/rte_acc100_pmd.h | 593 +++ .../acc100/rte_pmd_bbdev_acc100_version.map | 3 + drivers/baseband/meson.build | 2 +- lib/librte_eal/common/rte_service.c | 21 + lib/librte_eal/include/rte_service.h | 22 +- lib/librte_eal/rte_eal_version.map | 1 + 16 files changed, 6325 insertions(+), 3 deletions(-) create mode 100644 doc/guides/bbdevs/acc100.rst create mode 100644 drivers/baseband/acc100/acc100_pf_enum.h create mode 100644 drivers/baseband/acc100/acc100_vf_enum.h create mode 100644 drivers/baseband/acc100/meson.build create mode 100644 drivers/baseband/acc100/rte_acc100_cfg.h create mode 100644 drivers/baseband/acc100/rte_acc100_pmd.c create mode 100644 drivers/baseband/acc100/rte_acc100_pmd.h create mode 100644 drivers/baseband/acc100/rte_pmd_bbdev_acc100_version.map