From patchwork Sat Feb 8 04:50:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 183206 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1589957ile; Fri, 7 Feb 2020 21:08:29 -0800 (PST) X-Google-Smtp-Source: APXvYqz4ZLlI4rqkoY/bXLbwqPkw15+PsifTk/i3hDLwJTfiHa8PlY2J3TiruKlA4sRsvA0nw2D7 X-Received: by 2002:a05:6402:13c6:: with SMTP id a6mr1933376edx.67.1581138509700; Fri, 07 Feb 2020 21:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581138509; cv=none; d=google.com; s=arc-20160816; b=JnEOBaDfl214yMXfo9iW5Ok7Ebf7lFNahad0nfhZHJL49PNxSws5IkPm4kN98jIuV7 hJjrxBsmfIxih5swOWs41YdYaoq1WP3NQVw4aOZUB+ePqMcKschccD65YoB+EhfF0eje ws346kMQASNckxchbR2IzZc53Nru7sVsZ+9yYe2SoSO1gKpOyZU8MJXN3TzGvuZ4jwQ8 6fPWXQR9OqcLcr2lNbqg0MKAJDGIouZDN45XmWrree5GOFz1kp+wpFGLZcXZXTvlBPzL +lGB1Dv37mpEkKeyurihro7LvrjL1RAekSG5yyJ6Gkl6S/16kGHYN1/nGVEUzt9sZfnn o27g== 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:message-id:date:cc:to :from; bh=get+yjDsfWjcNPnGbKdtYKPH8R8lsGwdsS5Qbod1Q/g=; b=Br3oLWKS2VgimgEQhh51Vd8q4lhSh17XaUVJzzfPFFQ7eoiwfDL3qCEud+5mBQbwBF iLdAX5dNp07Fu56C2jqhvPF0MRgKy/P1CigTZiYjwzNJo1fu/NCJMZ8VA5mJLb3APZiB 8dOqf79N/XKIeahXLlUnLTaO7m9j6QXN8DPesQuQvuzURTExkiimzOzBdi0j4HHVIE5S 106cxL/fFajDsFan4WbwLtmx+RszZLFb6qNo9ttOnF1nQQgFgymV3UoW34WEQv7mtAYe LAZw3DKMPKbhwvoFbbnaAJa9oNCEszwGrLx+iiUEiRvLLm+ZTYqsSDJ/BtBjcI0tnOqR 9QqA== 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 k22si812931edq.449.2020.02.07.21.08.29; Fri, 07 Feb 2020 21:08:29 -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 B289B1C038; Sat, 8 Feb 2020 06:08:27 +0100 (CET) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 3CAA51BFFD; Sat, 8 Feb 2020 06:08:26 +0100 (CET) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 94490208D84; Sat, 8 Feb 2020 06:08:25 +0100 (CET) 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 91023208D78; Sat, 8 Feb 2020 06:08:22 +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 674A1402DF; Sat, 8 Feb 2020 13:08:18 +0800 (SGT) From: Nipun Gupta To: dev@dpdk.org Cc: jerinj@marvell.com, hemant.agrawal@nxp.com, stable@dpdk.org, Nipun Gupta Date: Sat, 8 Feb 2020 10:20:19 +0530 Message-Id: <20200208045019.26829-1-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH] event/dpaa2: set number of order sequeuences 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" This patch sets the number of atomic ordered sequeuences supported by the driver Fixes: dbf63bd43afa ("event/dpaa2: support ordered queue") Cc: stable@dpdk.org Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 Acked-by: Hemant Agrawal diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index d71361666..1833d659d 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -479,6 +479,8 @@ dpaa2_eventdev_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id, RTE_SET_USED(queue_id); queue_conf->nb_atomic_flows = DPAA2_EVENT_QUEUE_ATOMIC_FLOWS; + queue_conf->nb_atomic_order_sequences = + DPAA2_EVENT_QUEUE_ORDER_SEQUENCES; queue_conf->schedule_type = RTE_SCHED_TYPE_PARALLEL; queue_conf->priority = RTE_EVENT_DEV_PRIORITY_NORMAL; }