[dpdk-stable] patch 'examples/performance-thread: init timer subsystem' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Tue Aug 27 11:30:32 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 09/03/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/7cb59154bf252b1fc7b219432f6329cebb17dded

Thanks.

Kevin Traynor

---
>From 7cb59154bf252b1fc7b219432f6329cebb17dded Mon Sep 17 00:00:00 2001
From: Erik Gabriel Carrillo <erik.g.carrillo at intel.com>
Date: Mon, 15 Jul 2019 10:39:32 -0500
Subject: [PATCH] examples/performance-thread: init timer subsystem

[ upstream commit b58b3c96752eb9b11b41ad5077f288dd4003f072 ]

The timer subsystem should be initialized in the l3fwd-thread app before
the L-thread subsystem can be used.

Fixes: d48415e1fee3 ("examples/performance-thread: add l3fwd-thread app")

Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo at intel.com>
---
 examples/performance-thread/l3fwd-thread/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c
index 8ddcfa2f4..79523d23d 100644
--- a/examples/performance-thread/l3fwd-thread/main.c
+++ b/examples/performance-thread/l3fwd-thread/main.c
@@ -41,4 +41,5 @@
 #include <rte_string_fns.h>
 #include <rte_pause.h>
+#include <rte_timer.h>
 
 #include <cmdline_parse.h>
@@ -3487,4 +3488,6 @@ main(int argc, char **argv)
 	argv += ret;
 
+	rte_timer_subsystem_init();
+
 	/* pre-init dst MACs for all ports to 02:00:00:00:00:xx */
 	for (portid = 0; portid < RTE_MAX_ETHPORTS; portid++) {
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-08-27 09:40:13.912535227 +0100
+++ 0055-examples-performance-thread-init-timer-subsystem.patch	2019-08-27 09:40:10.968143223 +0100
@@ -1 +1 @@
-From b58b3c96752eb9b11b41ad5077f288dd4003f072 Mon Sep 17 00:00:00 2001
+From 7cb59154bf252b1fc7b219432f6329cebb17dded Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b58b3c96752eb9b11b41ad5077f288dd4003f072 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -14,2 +15,2 @@
- examples/performance-thread/l3fwd-thread/main.c | 5 +++++
- 1 file changed, 5 insertions(+)
+ examples/performance-thread/l3fwd-thread/main.c | 3 +++
+ 1 file changed, 3 insertions(+)
@@ -18 +19 @@
-index 0121c71cb..49d942407 100644
+index 8ddcfa2f4..79523d23d 100644
@@ -27 +28 @@
-@@ -3498,4 +3499,8 @@ main(int argc, char **argv)
+@@ -3487,4 +3488,6 @@ main(int argc, char **argv)
@@ -30,3 +31 @@
-+	ret = rte_timer_subsystem_init();
-+	if (ret < 0)
-+		rte_exit(EXIT_FAILURE, "Failed to initialize timer subystem\n");
++	rte_timer_subsystem_init();


More information about the stable mailing list