From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9E86A20B7E; Thu, 26 Oct 2017 18:26:42 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 26 Oct 2017 18:26:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=w/+RO6DBiXV1V5TB9T6pSalyr9 7+4WJj8yw3L8Y3p2I=; b=rwwbBUQtqDT+DCBkJtAqi4bO4UaW5fc/4BfteBJL8p tQlCfP83P8AXcUMjk/sgZ301lyY2suw9F+SIOeu4JCohv4c1nHSRelMo6R+brmJx zuH/Rj0FOZpKggZChZDbJYSThUCv747mJh/Czww6v5FNcZcgYZ46mbbYWSSul7sX s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=w/+RO6 DBiXV1V5TB9T6pSalyr97+4WJj8yw3L8Y3p2I=; b=mkr8LeAeC8WHcDa6/urp8N 9rJO/L6eD1Y/vTx+8THcd0zKyjlS5qyQII7fKaRNBOCAtAuESGubW0Y4aHzFGyqA lHJUlnEtmanO7BBNjma/oqxYmDsenNSrwmUr/hWC0orMJc2wExf41SwPqlF34z4k KcdPYvoJjyTkBk4SdJcHkH2BmohWhxOSXcvORrTsp40gamX7fQrgoxxkUlGSTaHT 0Oy4/WaVkQGxLlnNDutZaPR/Si7fE1lRexVL/DK8EvuYANcxWeANSfVrNsxV7jZ6 TvLwB56kyr7rux5r/zGiAZjL0NIrhBrz9NMSIJdbwv2IfS9ZImNBFlsG1qcKTFzQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 492737E3DF; Thu, 26 Oct 2017 18:26:42 -0400 (EDT) From: Thomas Monjalon To: Pavan Nikhilesh Cc: dev@dpdk.org, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, jerin.jacob@caviumnetworks.com Date: Fri, 27 Oct 2017 00:26:41 +0200 Message-ID: <2833968.7a2oc81fAK@xps> In-Reply-To: <1508941304-11596-1-git-send-email-pbhagavatula@caviumnetworks.com> References: <1507814147-8223-1-git-send-email-pbhagavatula@caviumnetworks.com> <1508941304-11596-1-git-send-email-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 1/3] evendev: fix inconsistency in event queue config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 22:26:44 -0000 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