[dpdk-stable] patch 'event/dpaa: fix number of supported atomic flows' has been queued to LTS release 18.11.6

Kevin Traynor ktraynor at redhat.com
Tue Dec 3 19:26:52 CET 2019


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 rebasing
(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/6a6190580029023b94ebc9838e408b3bf4f24103

Thanks.

Kevin.

---
>From 6a6190580029023b94ebc9838e408b3bf4f24103 Mon Sep 17 00:00:00 2001
From: Nipun Gupta <nipun.gupta at nxp.com>
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 <nipun.gupta at nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 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_eventdev.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, uint8_t queue_id,
 
 	memset(queue_conf, 0, sizeof(struct rte_event_queue_conf));
+	queue_conf->nb_atomic_flows = DPAA_EVENT_QUEUE_ATOMIC_FLOWS;
 	queue_conf->schedule_type = RTE_SCHED_TYPE_PARALLEL;
 	queue_conf->priority = RTE_EVENT_DEV_PRIORITY_HIGHEST;
diff --git a/drivers/event/dpaa/dpaa_eventdev.h b/drivers/event/dpaa/dpaa_eventdev.h
index 8134e6ba9..c9ab56b33 100644
--- a/drivers/event/dpaa/dpaa_eventdev.h
+++ b/drivers/event/dpaa/dpaa_eventdev.h
@@ -33,5 +33,5 @@ do {						\
 } while (0)
 
-#define DPAA_EVENT_QUEUE_ATOMIC_FLOWS	0
+#define DPAA_EVENT_QUEUE_ATOMIC_FLOWS		2048
 #define DPAA_EVENT_QUEUE_ORDER_SEQUENCES	2048
 
-- 
2.21.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-03 17:29:54.283071663 +0000
+++ 0043-event-dpaa-fix-number-of-supported-atomic-flows.patch	2019-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 at 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, uint8_t queue_id,
+@@ -470,4 +470,5 @@ dpaa_event_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id,
@@ -30 +31 @@
-index b8f247c61..5ce15a3db 100644
+index 8134e6ba9..c9ab56b33 100644



More information about the stable mailing list