From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08156A0350; Wed, 1 Jul 2020 08:06:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7D57B1BFA2; Wed, 1 Jul 2020 08:06:41 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 750DE1BF93; Wed, 1 Jul 2020 08:06:38 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4ED9E20081B; Wed, 1 Jul 2020 08:06:38 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D17F12006CB; Wed, 1 Jul 2020 08:06:34 +0200 (CEST) Received: from lsv03186.swis.in-blr01.nxp.com (lsv03186.swis.in-blr01.nxp.com [92.120.146.182]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C1743402DD; Wed, 1 Jul 2020 14:06:30 +0800 (SGT) From: Apeksha Gupta To: jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, thomas@monjalon.net, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, akhil.goyal@nxp.com, Apeksha Gupta , stable@dpdk.org Date: Wed, 1 Jul 2020 11:36:22 +0530 Message-Id: <20200701060626.28627-2-apeksha.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200701060626.28627-1-apeksha.gupta@nxp.com> References: <20200701060626.28627-1-apeksha.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 2/6] app/test-eventdev: Removed unwanted checks 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In pipeline_queue test case, for single_stage_burst_tx sched_type condition checks are not required. Fixes: 314bcf58ca8 ("app/eventdev: add pipeline queue worker functions") Cc: stable@dpdk.org Signed-off-by: Apeksha Gupta --- app/test-eventdev/test_pipeline_queue.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/test-eventdev/test_pipeline_queue.c b/app/test-eventdev/test_pipeline_queue.c index 7bebac34fc..bee4ac0344 100644 --- a/app/test-eventdev/test_pipeline_queue.c +++ b/app/test-eventdev/test_pipeline_queue.c @@ -81,20 +81,11 @@ pipeline_queue_worker_single_stage_burst_tx(void *arg) for (i = 0; i < nb_rx; i++) { rte_prefetch0(ev[i + 1].mbuf); - if (ev[i].sched_type == RTE_SCHED_TYPE_ATOMIC) { pipeline_event_tx(dev, port, &ev[i]); ev[i].op = RTE_EVENT_OP_RELEASE; w->processed_pkts++; - } else { - ev[i].queue_id++; - pipeline_fwd_event(&ev[i], - RTE_SCHED_TYPE_ATOMIC); } } - - pipeline_event_enqueue_burst(dev, port, ev, nb_rx); - } - return 0; } -- 2.17.1