From: Nipun Gupta Date: Mon, 5 Feb 2018 05:21:56 +0000 (+0530) Subject: event/dpaa: rename vdev with dpaa1 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=49f6d9651086ed73929770afa3012c15a2f7420a;p=dpdk.git event/dpaa: rename vdev with dpaa1 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 Acked-by: Hemant Agrawal --- diff --git a/doc/guides/eventdevs/dpaa.rst b/doc/guides/eventdevs/dpaa.rst index 44ed128466..73832957fd 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 153f38d9e9..918fe35ce9 100644 --- a/drivers/event/dpaa/dpaa_eventdev.h +++ b/drivers/event/dpaa/dpaa_eventdev.h @@ -10,7 +10,7 @@ #include #include -#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)