From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nipun Gupta Subject: [PATCH 3/4] event/dpaa: rename dpaa vdev with dpaa1 Date: Mon, 5 Feb 2018 10:51:56 +0530 Message-ID: <1517808117-28562-3-git-send-email-nipun.gupta@nxp.com> References: <1517808117-28562-1-git-send-email-nipun.gupta@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: dev@dpdk.org, santosh.shukla@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, sunil.kori@nxp.com, Nipun Gupta To: thomas@monjalon.net, jerin.jacob@caviumnetworks.com Return-path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0053.outbound.protection.outlook.com [104.47.2.53]) by dpdk.org (Postfix) with ESMTP id 07F711B2C9 for ; Mon, 5 Feb 2018 06:22:34 +0100 (CET) In-Reply-To: <1517808117-28562-1-git-send-email-nipun.gupta@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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 #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) -- 1.9.1