[dpdk-dev] [PATCH v3 1/3] evendev: fix inconsistency in event queue config

Van Haaren, Harry harry.van.haaren at intel.com
Wed Oct 25 15:42:39 CEST 2017

> From: Pavan Nikhilesh [mailto:pbhagavatula at caviumnetworks.com]
> Sent: Monday, October 23, 2017 6:41 PM
> To: Van Haaren, Harry <harry.van.haaren at intel.com>; hemant.agrawal at nxp.com;
> jerin.jacob at caviumnetworks.com
> Cc: dev at dpdk.org; Pavan Bhagavatula <pbhagavatula at caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH v3 1/3] evendev: fix inconsistency in event queue
> config
> From: Pavan Bhagavatula <pbhagavatula at caviumnetworks.com>
> With the current scheme of event queue configuration the cfg schedule
> type macros (RTE_EVENT_QUEUE_CFG_*_ONLY) are inconsistent with the
> event schedule type (RTE_SCHED_TYPE_*) this requires unnecessary
> conversion between the fastpath and slowpath API's while scheduling
> events or configuring event queues.
> This patch aims to fix such inconsistency by using event schedule
> types (RTE_SCHED_TYPE_*) for event queue configuration.
> This patch also fixes example/eventdev_pipeline_sw_pmd as it doesn't
> convert RTE_EVENT_QUEUE_CFG_*_ONLY to RTE_SCHED_TYPE_* which leads to
> improper events being enqueued to the eventdev.
> Fixes: adb5d5486c39 ("examples/eventdev_pipeline_sw_pmd: add sample app")
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> ---
>  v3 changes:
>   - fix app/test_perf_queue using invalid queue configuration i.e. setting
>   schedule type in event_queue_cfg instead of schedule_type.

Acked-by: Harry van Haaren <harry.van.haaren at intel.com>

More information about the dev mailing list