From patchwork Wed Nov 6 14:43:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 178720 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp723181ilf; Wed, 6 Nov 2019 07:00:24 -0800 (PST) X-Google-Smtp-Source: APXvYqxP5jHyrkVz/p6J9mmkUM+moNQkv/4yfKxm0NbxV0uz/DNp+ZfUXAn3Hjq0g0bScRetT1fE X-Received: by 2002:a17:906:5015:: with SMTP id s21mr34076798ejj.226.1573052424356; Wed, 06 Nov 2019 07:00:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573052424; cv=none; d=google.com; s=arc-20160816; b=gzFGeRXE8mOcWYxNhpw2Yco2GrfYov5517lrP/QIVftZxf2Kn5H7NrfH9azklIvmpx mj6P90VqAenVNUwlGmZV2slaq0twEOWvAhWIJaqqzFaPlKoi3VGu9S4jUdTlBZ3O+hXQ uw3sHoxoHQnzx6xsuPXOGq4JpdzWobcHlcM4rZONrHLquaP9+Kg48GNHyBruPunTDCtk 9mQWoagu67SRW/sIQyhyRGL5lmdxRjEQOYyISc+EOT7NbdqvfBaptUmIx2mrJExmKUjD doGH7guG2NDLXqqXpxTlaTgyTo8BfHST4yUKaQu1dhDLK7KrfQcew9Ob9NrzIXjO7VVT GxIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=DS+EIsdK7E8GQmilCcODaMk2RnQTU6R9pRJBcmhn98o=; b=uRdxM6BULKPcjocVIBchUGmqQhkKLr7PlTCxkZVx4sO3hJgK/+b8f7fvOYtI/VM3gF 42Em3sz89d2gcYAMzKWmGTkbN4QR9ic+aL9Im/dEhA2UDS0YU9VEojYI+9UwbuUAjHJb JMtjDooAtJW4igKJvnysoMFx2IFDw1TZUejrJv67n5TRRgbLyuR9aen7+3zOPoohBEyr iVlD0fcp/wTN/BwHsVHrNX3q5Iu0+88TAFf1q2hWYR+84Gcq4Q4RHOnmwsidYc5nBNhX /hmfrAM7auHqSSUQE76M8wr4C9ncJHgI6HT9CSTSCeSN3+H4YY5Z0qVX8/KC6EZxxKmO h6QA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id pg6si5772083ejb.138.2019.11.06.07.00.24; Wed, 06 Nov 2019 07:00:24 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E82F51C211; Wed, 6 Nov 2019 16:00:23 +0100 (CET) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 1F3B11C206 for ; Wed, 6 Nov 2019 16:00:21 +0100 (CET) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 908371A02BB; Wed, 6 Nov 2019 16:00:21 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 640151A004E; Wed, 6 Nov 2019 16:00:19 +0100 (CET) Received: from GDB1.ap.freescale.net (gdb1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3A07E402A9; Wed, 6 Nov 2019 23:00:16 +0800 (SGT) From: Nipun Gupta To: dev@dpdk.org Cc: thomas@monjalon.net, hemant.agrawal@nxp.com, Nipun Gupta Date: Wed, 6 Nov 2019 20:13:57 +0530 Message-Id: <20191106144357.4899-2-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191106144357.4899-1-nipun.gupta@nxp.com> References: <20191106144357.4899-1-nipun.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 2/2] event/dpaa2: support ordered queue case type 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" Ordered queue is supported on DPAA2. Enable this case. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 4ee2c460e..d71361666 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -477,7 +477,6 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, RTE_SET_USED(dev); RTE_SET_USED(queue_id); - RTE_SET_USED(queue_conf); queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS; queue_conf->schedule_type = RTE_SCHED_TYPE_PARALLEL; @@ -496,8 +495,9 @@ dpaa2_eventdev_queue_setup(struct rte_eventdev *dev, uint8_t queue_id, switch (queue_conf->schedule_type) { case RTE_SCHED_TYPE_PARALLEL: case RTE_SCHED_TYPE_ATOMIC: - break; case RTE_SCHED_TYPE_ORDERED: + break; + default: DPAA2_EVENTDEV_ERR("Schedule type is not supported."); return -1; }