From patchwork Fri Sep 24 04:37:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 99524 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 6D248A0C43; Fri, 24 Sep 2021 06:38:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 735A140142; Fri, 24 Sep 2021 06:38:33 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id CE37740E46 for ; Fri, 24 Sep 2021 06:38:29 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1FAFD1A0666; Fri, 24 Sep 2021 06:38:28 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8C3A31A062C; Fri, 24 Sep 2021 06:38:25 +0200 (CEST) Received: from lsv03274.swis.in-blr01.nxp.com (lsv03274.swis.in-blr01.nxp.com [92.120.147.114]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 12C8F183AD27; Fri, 24 Sep 2021 12:37:23 +0800 (+08) From: nipun.gupta@nxp.com To: dev@dpdk.org, gakhil@marvell.com, nicolas.chautru@intel.com Cc: david.marchand@redhat.com, hemant.agrawal@nxp.com Date: Fri, 24 Sep 2021 10:07:13 +0530 Message-Id: <20210924043722.27980-1-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210318063421.14895-1-hemant.agrawal@nxp.com> References: <20210318063421.14895-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v6 0/9] baseband: add NXP LA12xx driver 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 Sender: "dev" From: Nipun Gupta This series introduces the BBDEV LA12xx poll mode driver (PMD) to support an implementation for offloading High Phy processing functions like LDPC Encode / Decode 5GNR wireless acceleration function, using PCI based LA12xx Software defined radio. Please check the documentation patch for more info. The driver currently implements basic feature to offload only the 5G LDPC encode/decode. A new capability has been added to check if the driver can support the input data in network byte order. Two test vectors are also added as an example with input data in network byte. v2: add test case changes v3: fix 32 bit compilation v4: capability for network byte order, doc patch merged inline. v5: add llr_size and llr_decimals, removed LLR compression flag, update testbbdev to handle endianness, rebased on top of 20.08 v6: added BE as device info instead of capability, updated test to have 2 codeblocks Hemant Agrawal (6): baseband: introduce NXP LA12xx driver baseband/la12xx: add devargs for max queues baseband/la12xx: add support for multiple modems baseband/la12xx: add queue and modem config support baseband/la12xx: add enqueue and dequeue support app/bbdev: enable la12xx for bbdev Nipun Gupta (3): bbdev: add big endian processing data processing info app/bbdev: handle endianness of test data app/bbdev: add test vectors for transport blocks MAINTAINERS | 10 + app/test-bbdev/meson.build | 3 + app/test-bbdev/test_bbdev_perf.c | 62 + app/test-bbdev/test_vectors/ldpc_dec_tb.data | 265 ++++ app/test-bbdev/test_vectors/ldpc_enc_tb.data | 95 ++ doc/guides/bbdevs/features/la12xx.ini | 13 + doc/guides/bbdevs/index.rst | 1 + doc/guides/bbdevs/la12xx.rst | 126 ++ doc/guides/rel_notes/release_21_11.rst | 5 + drivers/baseband/la12xx/bbdev_la12xx.c | 1098 +++++++++++++++++ drivers/baseband/la12xx/bbdev_la12xx.h | 51 + drivers/baseband/la12xx/bbdev_la12xx_ipc.h | 244 ++++ .../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 26 + drivers/baseband/la12xx/meson.build | 6 + drivers/baseband/la12xx/version.map | 3 + drivers/baseband/meson.build | 1 + lib/bbdev/rte_bbdev.h | 2 + 17 files changed, 2011 insertions(+) create mode 100644 app/test-bbdev/test_vectors/ldpc_dec_tb.data create mode 100644 app/test-bbdev/test_vectors/ldpc_enc_tb.data create mode 100644 doc/guides/bbdevs/features/la12xx.ini create mode 100644 doc/guides/bbdevs/la12xx.rst create mode 100644 drivers/baseband/la12xx/bbdev_la12xx.c create mode 100644 drivers/baseband/la12xx/bbdev_la12xx.h create mode 100644 drivers/baseband/la12xx/bbdev_la12xx_ipc.h create mode 100644 drivers/baseband/la12xx/bbdev_la12xx_pmd_logs.h create mode 100644 drivers/baseband/la12xx/meson.build create mode 100644 drivers/baseband/la12xx/version.map