From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 1/3] evendev: fix inconsistency in event queue config Date: Fri, 27 Oct 2017 00:26:41 +0200 Message-ID: <2833968.7a2oc81fAK@xps> References: <1507814147-8223-1-git-send-email-pbhagavatula@caviumnetworks.com> <1508941304-11596-1-git-send-email-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, jerin.jacob@caviumnetworks.com To: Pavan Nikhilesh Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3D1901BA33 for ; Fri, 27 Oct 2017 00:26:44 +0200 (CEST) In-Reply-To: <1508941304-11596-1-git-send-email-pbhagavatula@caviumnetworks.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" 25/10/2017 16:21, Pavan Nikhilesh: > 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 > Acked-by: Harry van Haaren Series applied, thanks