event/dpaa: rename vdev with dpaa1
authorNipun Gupta <nipun.gupta@nxp.com>
Mon, 5 Feb 2018 05:21:56 +0000 (10:51 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Feb 2018 23:41:54 +0000 (00:41 +0100)
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.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/eventdevs/dpaa.rst
drivers/event/dpaa/dpaa_eventdev.h

index 44ed128..7383295 100644 (file)
@@ -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
 
 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
 
   rte_vdev_init() internally
 
 Example:
 
 .. code-block:: console
 
-    ./your_eventdev_application --vdev="event_dpaa"
+    ./your_eventdev_application --vdev="event_dpaa1"
 
 Limitations
 -----------
 
 Limitations
 -----------
index 153f38d..918fe35 100644 (file)
@@ -10,7 +10,7 @@
 #include <rte_atomic.h>
 #include <rte_per_lcore.h>
 
 #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)
 
 #define EVENTDEV_DRV_LOG(fmt, args...) \
                DPAA_EVENTDEV_INFO(fmt, ## args)