1 .. SPDX-License-Identifier: BSD-3-Clause
4 NXP LA12xx Poll Mode Driver
5 ===========================
7 The BBDEV LA12xx poll mode driver (PMD) supports an implementation for
8 offloading High Phy processing functions like LDPC Encode / Decode 5GNR wireless
9 acceleration function, using PCI based LA12xx Software defined radio.
11 More information can be found at `NXP Official Website
12 <https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors/layerscape-access-la1200-programmable-baseband-processor:LA1200>`_.
17 LA12xx PMD supports the following features:
19 - Maximum of 8 LDPC decode (UL) queues
20 - Maximum of 8 LDPC encode (DL) queues
21 - PCIe Gen-3 x8 Interface
26 Section 3 of the DPDK manual provides instructions on installing and compiling DPDK.
28 DPDK requires hugepages to be configured as detailed in section 2 of the DPDK manual.
33 The device can be listed on the host console with:
36 Use the following lspci command to get the multiple LA12xx processor ids. The
37 device ID of the LA12xx baseband processor is "1c30".
39 .. code-block:: console
44 0001:01:00.0 Power PC [0b20]: Freescale Semiconductor Inc Device [1957:1c30] (
47 0002:01:00.0 Power PC [0b20]: Freescale Semiconductor Inc Device [1957:1c30] (
54 Currently supported by DPDK:
56 - NXP LA1224 BSP **1.0+**.
57 - NXP LA1224 PCIe Modem card connected to ARM host.
59 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
61 * Use dev arg option ``modem=0`` to identify the modem instance for a given
62 device. This is required only if more than 1 modem cards are attached to host.
63 this is optional and the default value is 0.
64 e.g. ``--vdev=baseband_la12xx,modem=0``
66 * Use dev arg option ``max_nb_queues=x`` to specify the maximum number of queues
67 to be used for communication with offload device i.e. modem. default is 16.
68 e.g. ``--vdev=baseband_la12xx,max_nb_queues=4``
73 For enabling logs, use the following EAL parameter:
75 .. code-block:: console
77 ./your_bbdev_application <EAL args> --log-level=la12xx:<level>
79 Using ``bb.la12xx`` as log matching criteria, all Baseband PMD logs can be
80 enabled which are lower than logging ``level``.