DPAA2 eventdev is named as event_dpaa2 which conflicts with event_dpaa when both are compiled in together. So event_dpaa is required to renamed.
Fixes: 1ee9569576f6 ("config: enable dpaaX drivers for generic ARMv8") Signed-off-by: Nipun Gupta <nipun.gu...@nxp.com> --- doc/guides/eventdevs/dpaa.rst | 6 +++--- drivers/event/dpaa/dpaa_eventdev.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/eventdevs/dpaa.rst b/doc/guides/eventdevs/dpaa.rst index 44ed128..7383295 100644 --- a/doc/guides/eventdevs/dpaa.rst +++ b/doc/guides/eventdevs/dpaa.rst @@ -111,16 +111,16 @@ The dpaa eventdev is exposed as a vdev device which consists of a set of channel and queues. On EAL initialization, dpaa components will be probed and then vdev device can be created from the application code by -* Invoking ``rte_vdev_init("event_dpaa")`` from the application +* Invoking ``rte_vdev_init("event_dpaa1")`` from the application -* Using ``--vdev="event_dpaa"`` in the EAL options, which will call +* Using ``--vdev="event_dpaa1"`` in the EAL options, which will call rte_vdev_init() internally Example: .. code-block:: console - ./your_eventdev_application --vdev="event_dpaa" + ./your_eventdev_application --vdev="event_dpaa1" Limitations ----------- diff --git a/drivers/event/dpaa/dpaa_eventdev.h b/drivers/event/dpaa/dpaa_eventdev.h index 153f38d..918fe35 100644 --- a/drivers/event/dpaa/dpaa_eventdev.h +++ b/drivers/event/dpaa/dpaa_eventdev.h @@ -10,7 +10,7 @@ #include <rte_atomic.h> #include <rte_per_lcore.h> -#define EVENTDEV_NAME_DPAA_PMD event_dpaa +#define EVENTDEV_NAME_DPAA_PMD event_dpaa1 #define EVENTDEV_DRV_LOG(fmt, args...) \ DPAA_EVENTDEV_INFO(fmt, ## args) -- 1.9.1