> From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Monday, October 23, 2017 6:41 PM > To: Van Haaren, Harry <harry.van.haa...@intel.com>; hemant.agra...@nxp.com; > jerin.ja...@caviumnetworks.com > Cc: dev@dpdk.org; Pavan Bhagavatula <pbhagavat...@caviumnetworks.com> > Subject: [dpdk-dev] [PATCH v3 1/3] evendev: fix inconsistency in event queue > config > > From: Pavan Bhagavatula <pbhagavat...@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 <pbhagavat...@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.haa...@intel.com>