1 .. SPDX-License-Identifier: BSD-3-Clause
5 NXP DPAA2 Eventdev Driver
6 =========================
8 The dpaa2 eventdev is an implementation of the eventdev API, that provides a
9 wide range of the eventdev features. The eventdev relies on a dpaa2 hw to
10 perform event scheduling.
12 More information can be found at `NXP Official Website
13 <http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/qoriq-arm-processors:QORIQ-ARM>`_.
18 The DPAA2 EVENTDEV implements many features in the eventdev API;
20 - Hardware based event scheduler
37 See :doc:`../platform/dpaa2` for setup information
39 Currently supported by DPDK:
42 - MC Firmware version **10.18.0** and higher.
43 - Supported architectures: **arm64 LE**.
45 - Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
49 Some part of fslmc bus code (mc flib - object library) routines are
50 dual licensed (BSD & GPLv2).
52 Pre-Installation Configuration
53 ------------------------------
58 The following options can be modified in the ``config`` file.
59 Please note that enabling debugging options may affect system performance.
61 - ``CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV`` (default ``y``)
63 Toggle compilation of the ``lrte_pmd_dpaa2_event`` driver.
68 To compile the DPAA2 EVENTDEV PMD for Linux arm64 gcc target, run the
69 following ``make`` command:
71 .. code-block:: console
73 cd <DPDK-source-directory>
74 make config T=arm64-dpaa-linux-gcc install
79 The dpaa2 eventdev is exposed as a vdev device which consists of a set of dpcon
80 devices and dpci devices. On EAL initialization, dpcon and dpci devices will be
81 probed and then vdev device can be created from the application code by
83 * Invoking ``rte_vdev_init("event_dpaa2")`` from the application
85 * Using ``--vdev="event_dpaa2"`` in the EAL options, which will call
86 rte_vdev_init() internally
90 .. code-block:: console
92 ./your_eventdev_application --vdev="event_dpaa2"
97 For enabling logs, use the following EAL parameter:
99 .. code-block:: console
101 ./your_eventdev_application <EAL args> --log-level=pmd.event.dpaa2,<level>
103 Using ``eventdev.dpaa2`` as log matching criteria, all Event PMD logs can be
104 enabled which are lower than logging ``level``.
112 DPAA2 drivers for DPDK can only work on NXP SoCs as listed in the
113 ``Supported DPAA2 SoCs``.
118 DPAA2 EVENTDEV can support only one eventport per core.