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 2A9C5A04B5 for ; Tue, 3 Dec 2019 19:28:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 22E8E235; Tue, 3 Dec 2019 19:28:52 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 97F991BFA2 for ; Tue, 3 Dec 2019 19:28:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575397730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c1JRtYF317sdm8lHDqZ2XQypEPlq979UcHj+xNkmFMQ=; b=KiR/3ne5J92iRRm6JESN3n/actM1/2TRys/fU8in/Shq9Lsh4fhx9RkWF1MB+jVQQzYYHa 28GW8GLBvTbcBiWkfTfBlVCtDVL0jcrs+gAUn8EBnnd5QaxqF1pQGXVq4u1mTWjziLb9VU eXJgLL6Sacob3Xt80/h3vFn/wWzK86U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-62-f0K4vXPBNLCq_56cewZdNQ-1; Tue, 03 Dec 2019 13:28:48 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 97A0F800D4C; Tue, 3 Dec 2019 18:28:47 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-10.ams2.redhat.com [10.36.117.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9B2855C240; Tue, 3 Dec 2019 18:28:46 +0000 (UTC) From: Kevin Traynor To: Nipun Gupta Cc: Hemant Agrawal , dpdk stable Date: Tue, 3 Dec 2019 18:26:52 +0000 Message-Id: <20191203182714.17297-43-ktraynor@redhat.com> In-Reply-To: <20191203182714.17297-1-ktraynor@redhat.com> References: <20191203182714.17297-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: f0K4vXPBNLCq_56cewZdNQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'event/dpaa: fix number of supported atomic flows' has been queued to LTS release 18.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/10/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/6a6190580029023b94= ebc9838e408b3bf4f24103 Thanks. Kevin. --- >From 6a6190580029023b94ebc9838e408b3bf4f24103 Mon Sep 17 00:00:00 2001 From: Nipun Gupta Date: Fri, 11 Oct 2019 19:17:56 +0530 Subject: [PATCH] event/dpaa: fix number of supported atomic flows [ upstream commit c37421a2d6b5e8e6b5253e82b8e0c57c0e2879c2 ] The number of atomic flows supported was not returned correctly for DPAA driver. This patch fixes the same. Fixes: b08dc6430abd ("event/dpaa: add queue config get/set") Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/event/dpaa/dpaa_eventdev.c | 1 + drivers/event/dpaa/dpaa_eventdev.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_e= ventdev.c index 1e247e4f4..15707e22e 100644 --- a/drivers/event/dpaa/dpaa_eventdev.c +++ b/drivers/event/dpaa/dpaa_eventdev.c @@ -470,4 +470,5 @@ dpaa_event_queue_def_conf(struct rte_eventdev *dev, uin= t8_t queue_id, =20 =09memset(queue_conf, 0, sizeof(struct rte_event_queue_conf)); +=09queue_conf->nb_atomic_flows =3D DPAA_EVENT_QUEUE_ATOMIC_FLOWS; =09queue_conf->schedule_type =3D RTE_SCHED_TYPE_PARALLEL; =09queue_conf->priority =3D RTE_EVENT_DEV_PRIORITY_HIGHEST; diff --git a/drivers/event/dpaa/dpaa_eventdev.h b/drivers/event/dpaa/dpaa_e= ventdev.h index 8134e6ba9..c9ab56b33 100644 --- a/drivers/event/dpaa/dpaa_eventdev.h +++ b/drivers/event/dpaa/dpaa_eventdev.h @@ -33,5 +33,5 @@ do {=09=09=09=09=09=09\ } while (0) =20 -#define DPAA_EVENT_QUEUE_ATOMIC_FLOWS=090 +#define DPAA_EVENT_QUEUE_ATOMIC_FLOWS=09=092048 #define DPAA_EVENT_QUEUE_ORDER_SEQUENCES=092048 =20 --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-12-03 17:29:54.283071663 +0000 +++ 0043-event-dpaa-fix-number-of-supported-atomic-flows.patch=092019-12-03= 17:29:51.767749599 +0000 @@ -1 +1 @@ -From c37421a2d6b5e8e6b5253e82b8e0c57c0e2879c2 Mon Sep 17 00:00:00 2001 +From 6a6190580029023b94ebc9838e408b3bf4f24103 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c37421a2d6b5e8e6b5253e82b8e0c57c0e2879c2 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index d02b8694e..570983251 100644 +index 1e247e4f4..15707e22e 100644 @@ -23 +24 @@ -@@ -472,4 +472,5 @@ dpaa_event_queue_def_conf(struct rte_eventdev *dev, ui= nt8_t queue_id, +@@ -470,4 +470,5 @@ dpaa_event_queue_def_conf(struct rte_eventdev *dev, ui= nt8_t queue_id, @@ -30 +31 @@ -index b8f247c61..5ce15a3db 100644 +index 8134e6ba9..c9ab56b33 100644