From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 07186A0C41 for ; Tue, 30 Nov 2021 17:40:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0F7841190; Tue, 30 Nov 2021 17:40:44 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 8216A410F7 for ; Tue, 30 Nov 2021 17:40:43 +0100 (CET) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 5F0233F044 for ; Tue, 30 Nov 2021 16:40:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290443; bh=c8BqM3xnlC3WndyANaHyvemJmeoH6mTueCFZU1nW5yA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GDhr9Z6j18mjcK2uHyCOE3YSQhjeCV3asq5WuRmo1JXTAXnCdcWZaAH3ZUJ0o73rA e0tq5gpYMtqc4Veb9HbeFXunIMGtNPMwYxttAT0KPqAxFmcPw3aja3/K+eShNdkXr8 z2L3QulXehJn89q8h15eodrxTdjAUMlYfRKXu8DG+dGmiUL+cHdATQludFjJKfjY5T KwOHSqO8jVJ3x9mbqgqNRc/mjArN8n3twhIss4S0Tjkp9trWplWj82gZUtGgHAx03/ qNfkmf/88GdUy7EHk0Itpm6vf686GdBxNktcwK+7iWagq0rfW+80xIUuFG32NDoNFC KKqrPy7Yw+Gig== Received: by mail-ed1-f71.google.com with SMTP id b15-20020aa7c6cf000000b003e7cf0f73daso17412080eds.22 for ; Tue, 30 Nov 2021 08:40:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c8BqM3xnlC3WndyANaHyvemJmeoH6mTueCFZU1nW5yA=; b=Z66Tg7xUFFHpMA1T8njENBhcxYQChIGNii7rzU884Imwi4YAScR3MssEetMU861wW9 I15tcKmJ9Jizlr1qxSUVujPJv5d9vNwDOdGEwkhJKZVXUG7i/WdyPwq10Jxt8MP5fwj1 0pkNoKS1b77bMPvijOOfoyKaAmuJpT8ANgLJ3IhACZvW/eld7rLKacjojGGvK6uzhy2b EVJGAKM0HyIah1tIphaybEhUOHvAgnnLT3THhCMYCtuXqLWdnDE1D1xv7+jpKZPo8+kw mY635Zd5sgEUNTzRLdfvvSywMLd4jIvMo8d/JEyXLguvBwVg74yMEk69XFhTQlEIdaA6 OUFA== X-Gm-Message-State: AOAM530wf44Pgz9Gthxcaf4fj5mX+m8evs+ZGOKE+x9MM2JBjsaL4KLz +mnumZYfN4iEOcnkn59OR+PDycRbVj9WSwGEHtuuyvZhss6cQOSHJ7y5YR9Kfrkl0cLvcQhmtvW 1yO5GwsQuq1oTEseNW22NYLg6 X-Received: by 2002:a05:6402:27c8:: with SMTP id c8mr57544ede.151.1638290442800; Tue, 30 Nov 2021 08:40:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAuVjTsaWrQgFB1FtK8EpRSqNa55uCNpjLN7ZVomV36gpMDCe/LHaixhH1u3rqnirBSkntdg== X-Received: by 2002:a05:6402:27c8:: with SMTP id c8mr57525ede.151.1638290442685; Tue, 30 Nov 2021 08:40:42 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id yd20sm9297785ejb.47.2021.11.30.08.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:40:42 -0800 (PST) From: christian.ehrhardt@canonical.com To: Harry van Haaren Cc: Pavan Nikhilesh , dpdk stable Subject: patch 'app/eventdev: fix terminal colour after control-c exit' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:34:54 +0100 Message-Id: <20211130163605.2460997-90-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Hi, FYI, your patch has been queued to stable release 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/12426ec54bb0c4ff89a79e897823994b21564a44 Thanks. Christian Ehrhardt --- >From 12426ec54bb0c4ff89a79e897823994b21564a44 Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Thu, 14 Oct 2021 09:54:44 +0000 Subject: [PATCH] app/eventdev: fix terminal colour after control-c exit [ upstream commit c0900d33443e0a9caca0727995d4ffb9587853bc ] Before this commit, a Control^C exit of the test-eventdev application would print the worker packet percentages, and leave the terminal with a green colour despite the colour reset being issued after the newline. By moving the colour reset command before the \n the issue is fixed. Fixes: 6b1a14a83a06 ("app/eventdev: add packet distribution logs") Signed-off-by: Harry van Haaren Acked-by: Pavan Nikhilesh --- app/test-eventdev/test_perf_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c index b3af4bfeca..958845c26b 100644 --- a/app/test-eventdev/test_perf_common.c +++ b/app/test-eventdev/test_perf_common.c @@ -17,7 +17,7 @@ perf_test_result(struct evt_test *test, struct evt_options *opt) total += t->worker[i].processed_pkts; for (i = 0; i < t->nb_workers; i++) printf("Worker %d packets: "CLGRN"%"PRIx64" "CLNRM"percentage:" - CLGRN" %3.2f\n"CLNRM, i, + CLGRN" %3.2f"CLNRM"\n", i, t->worker[i].processed_pkts, (((double)t->worker[i].processed_pkts)/total) * 100); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:11.179042680 +0100 +++ 0090-app-eventdev-fix-terminal-colour-after-control-c-exi.patch 2021-11-30 16:50:05.882874204 +0100 @@ -1 +1 @@ -From c0900d33443e0a9caca0727995d4ffb9587853bc Mon Sep 17 00:00:00 2001 +From 12426ec54bb0c4ff89a79e897823994b21564a44 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c0900d33443e0a9caca0727995d4ffb9587853bc ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 660d5a0364..97bad18a1f 100644 +index b3af4bfeca..958845c26b 100644 @@ -24 +25 @@ -@@ -19,7 +19,7 @@ perf_test_result(struct evt_test *test, struct evt_options *opt) +@@ -17,7 +17,7 @@ perf_test_result(struct evt_test *test, struct evt_options *opt)