Message ID | 20211017065331.25488-1-nipun.gupta@nxp.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 6486FA0547; Sun, 17 Oct 2021 08:53:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E469040042; Sun, 17 Oct 2021 08:53:35 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id 28E8B4003C for <dev@dpdk.org>; Sun, 17 Oct 2021 08:53:34 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E46601A134E; Sun, 17 Oct 2021 08:53:33 +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 81BEF1A132F; Sun, 17 Oct 2021 08:53:33 +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 95BD5183AC89; Sun, 17 Oct 2021 14:53:32 +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: Sun, 17 Oct 2021 12:23:23 +0530 Message-Id: <20211017065331.25488-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 v11 0/8] baseband: add NXP LA12xx driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
baseband: add NXP LA12xx driver
|
|
Message
Nipun Gupta
Oct. 17, 2021, 6:53 a.m. UTC
From: Nipun Gupta <nipun.gupta@nxp.com>
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 little/big endian byte order.
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
v7: fixed checkpatch errors
v8: remove additional test vectors, update reverse_op function name,
make be_support param as bool, other minor changes in la12xx driver
v9: add little endianness capability as well (patch by Nicolas Chautru),
fix 32 bit (i386) compilation, fix get of nb_segs, add endianness
info in testbbdev doc.
v10: use default RTE_BIG_ENDIAN/RTE_LITTLE_ENDIAN defined, add
data_endianness info for BBDEV null device
v11: split la12xx doc in separate patches and fixed some nits
Hemant Agrawal (5):
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
Nicolas Chautru (1):
bbdev: add device info related to data endianness
Nipun Gupta (2):
baseband: introduce NXP LA12xx driver
app/bbdev: handle endianness of test data
MAINTAINERS | 10 +
app/test-bbdev/meson.build | 3 +
app/test-bbdev/test_bbdev_perf.c | 43 +
doc/guides/bbdevs/features/la12xx.ini | 13 +
doc/guides/bbdevs/index.rst | 1 +
doc/guides/bbdevs/la12xx.rst | 124 ++
doc/guides/rel_notes/release_21_11.rst | 6 +
doc/guides/tools/testbbdev.rst | 3 +
drivers/baseband/acc100/rte_acc100_pmd.c | 1 +
.../fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 1 +
drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 1 +
drivers/baseband/la12xx/bbdev_la12xx.c | 1104 +++++++++++++++++
drivers/baseband/la12xx/bbdev_la12xx.h | 51 +
drivers/baseband/la12xx/bbdev_la12xx_ipc.h | 244 ++++
.../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 28 +
drivers/baseband/la12xx/meson.build | 6 +
drivers/baseband/la12xx/version.map | 3 +
drivers/baseband/meson.build | 1 +
drivers/baseband/null/bbdev_null.c | 6 +
.../baseband/turbo_sw/bbdev_turbo_software.c | 1 +
lib/bbdev/rte_bbdev.h | 4 +
21 files changed, 1654 insertions(+)
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
Comments
> From: Nipun Gupta <nipun.gupta@nxp.com> > > 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 little/big endian byte order. > > 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 > v7: fixed checkpatch errors > v8: remove additional test vectors, update reverse_op function name, > make be_support param as bool, other minor changes in la12xx driver > v9: add little endianness capability as well (patch by Nicolas Chautru), > fix 32 bit (i386) compilation, fix get of nb_segs, add endianness > info in testbbdev doc. > v10: use default RTE_BIG_ENDIAN/RTE_LITTLE_ENDIAN defined, add > data_endianness info for BBDEV null device > v11: split la12xx doc in separate patches and fixed some nits > Acked-by: Akhil Goyal <gakhil@marvell.com> Release notes are updated Applied to dpdk-next-crypto I believe Nicolas is out, but he has reviewed the patches and the patches look good. If I get the Ack by Wednesday, I will update the patches before they are pulled on main.
Hi Akhil, Nipin, I do ack the serie formally. Thanks for the updates and welcome to the new bbdev pmd! Acked-by: Nicolas Chautru <nicolas.chautru@intel.com > -----Original Message----- > From: Akhil Goyal <gakhil@marvell.com> > Sent: Monday, October 18, 2021 8:23 AM > To: nipun.gupta@nxp.com; dev@dpdk.org; Chautru, Nicolas > <nicolas.chautru@intel.com> > Cc: david.marchand@redhat.com; hemant.agrawal@nxp.com > Subject: RE: [EXT] [PATCH v11 0/8] baseband: add NXP LA12xx driver > > > From: Nipun Gupta <nipun.gupta@nxp.com> > > > > 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 little/big endian byte order. > > > > 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 > > v7: fixed checkpatch errors > > v8: remove additional test vectors, update reverse_op function name, > > make be_support param as bool, other minor changes in la12xx > > driver > > v9: add little endianness capability as well (patch by Nicolas Chautru), > > fix 32 bit (i386) compilation, fix get of nb_segs, add endianness > > info in testbbdev doc. > > v10: use default RTE_BIG_ENDIAN/RTE_LITTLE_ENDIAN defined, add > > data_endianness info for BBDEV null device > > v11: split la12xx doc in separate patches and fixed some nits > > > Acked-by: Akhil Goyal <gakhil@marvell.com> Release notes are updated > Applied to dpdk-next-crypto > Acked-by: Nicolas Chautru <nicolas.chautru@intel.com > I believe Nicolas is out, but he has reviewed the patches and the patches > look good. > If I get the Ack by Wednesday, I will update the patches before they are > pulled on main.
> Hi Akhil, Nipin, > > I do ack the serie formally. Thanks for the updates and welcome to the new > bbdev pmd! > > Acked-by: Nicolas Chautru <nicolas.chautru@intel.com Thanks, updated the tree.