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 AAEB9A0613 for ; Tue, 27 Aug 2019 11:32:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A017854AE; Tue, 27 Aug 2019 11:32:05 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3CDF754AE for ; Tue, 27 Aug 2019 11:32:03 +0200 (CEST) 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 mx1.redhat.com (Postfix) with ESMTPS id B266130821C1; Tue, 27 Aug 2019 09:32:02 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-48.ams2.redhat.com [10.36.117.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id D8FE85C1B2; Tue, 27 Aug 2019 09:32:01 +0000 (UTC) From: Kevin Traynor To: Erik Gabriel Carrillo Cc: dpdk stable Date: Tue, 27 Aug 2019 10:30:32 +0100 Message-Id: <20190827093032.20423-55-ktraynor@redhat.com> In-Reply-To: <20190827093032.20423-1-ktraynor@redhat.com> References: <20190827093032.20423-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Tue, 27 Aug 2019 09:32:02 +0000 (UTC) Subject: [dpdk-stable] patch 'examples/performance-thread: init timer subsystem' has been queued to LTS release 18.11.3 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.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 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 --- 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 #include +#include #include @@ -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@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();