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 DC779A034F for ; Wed, 10 Nov 2021 07:51:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6FE54014D; Wed, 10 Nov 2021 07:51:43 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2054.outbound.protection.outlook.com [40.107.93.54]) by mails.dpdk.org (Postfix) with ESMTP id B17F940142 for ; Wed, 10 Nov 2021 07:51:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BLVo2q07su7T/ic1c4dmaAaj9ZTt7KM2cBXWtlHs+PiYYdoyibf07J9DgxFAc9944bqjvNgtyviGa6Jn44DkbnCuK34oNfqu+JMmQ6pa3JF4UvC0A4kIdxzb0yNbffy4WPkbZWn9/tgfxrCdAH3glaOIhLY3CX9Se4uL5s5Vvs+vNaGOebncVZetv8v6KUdTDKPgeqmuR5NptcqmB1w9+ZmgVih0RenHWNrcknmr8Cz64cd8ETygJRJ6CcTg0zolFRjdM39eBaFiIemWjfigtHPgdE6VZx/J6XIDdU2EhUEuqSFcFCyG8pwXJekx11OeeYkS+DQqLqtE+1adUmOAjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Vd5jZJrLLdgDD7QaPRboOi1MA1xc7ONMjSUYFfiHq8I=; b=mkNh37Eso8pth/jlNHb00XZlmOhyKv9ATjZ+nlZsCBoDKCvgu768ZfqeU1B3pdHZrzbztQT3yYkACOVDNVrKprT7IdkzcilRxnlsCJp+GhXML+W8TDDCIS3z+s1F0Jcn4PgUX8HBhQM89FiIRvia8id0OLlZbACLGGAZ97AHqHTiR1HfEVHfhPcdSA78nc81Ia45olS/YyAXWA1fftaRFMOKuThDzUJ6Hud1MLJVX1NAxCmNfzSDSp+eJBF8ts1eK7c4cUxjP4UAC6KlxBt2CnLxACHd7koPrC7ZkBhl0RDl+qGYXv59UXfTKnj0qb6qZQKSLCHk0DKzsFTUQ75sZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=marvell.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vd5jZJrLLdgDD7QaPRboOi1MA1xc7ONMjSUYFfiHq8I=; b=j2bb13blSfHJeuZn32NyyZQoHTQhiZuGSX79e/E5T9ygekXaw11km+EO0jlVTkpxU5axTXG4OJ/DWk75YNtZO8hftMPT1jerMCeKU2VxQWWkXtYx6wK0kOo82e05bh/tkokwzsvX5YT2500dGuVIhNzyq+ilp/SIWH+WqFRUKWKTHj7aXZjFTyXXcfVkd+woHMG8ZB51qmrAKFx9vGbqapE7IG3kDCC8/PZ6RIn0l/fGwkqhDRe9J7CnaW1qsT8t6D8MoJneNBwuzxc9SHUh5acGLWW0O2pa0K0X+zm8JtaV47RNDPUaSdcAIlTb74aZR6Vvd8B9m0HiOv1np6EV6A== Received: from BN6PR11CA0059.namprd11.prod.outlook.com (2603:10b6:404:f7::21) by MN2PR12MB4061.namprd12.prod.outlook.com (2603:10b6:208:19a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Wed, 10 Nov 2021 06:51:41 +0000 Received: from BN8NAM11FT065.eop-nam11.prod.protection.outlook.com (2603:10b6:404:f7:cafe::74) by BN6PR11CA0059.outlook.office365.com (2603:10b6:404:f7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13 via Frontend Transport; Wed, 10 Nov 2021 06:51:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT065.mail.protection.outlook.com (10.13.177.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:51:39 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:51:34 +0000 From: Xueming Li To: Harry van Haaren CC: Luca Boccassi , Pavan Nikhilesh , dpdk stable Date: Wed, 10 Nov 2021 14:30:54 +0800 Message-ID: <20211110063216.2744012-171-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 311145bc-38fb-45dd-3b36-08d9a4168c1d X-MS-TrafficTypeDiagnostic: MN2PR12MB4061: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hlp1iSv8s+Ki8IOFV5IjHjEkfv30gWoH9/YPKs6rCrWcaYtWKPNJU/hKf3X/QYAB4WYj/WnPIDSxw+YH9MGNtWyqyYcKBahioeDUr7gP47/LFFWJsBm1GcIUEwALp0JBFvtvI/cfTLrpd9iKmK+pySFCP/hD8LhNSPnRqwNZWtxt4oaR/rRqFYre67CM9wYPdDiE7wx81fWAzCIcKKedfNaSkTpXdsY8h7gs25JhqjOcOKFkYS/oSy83VC0jr7TzxPZ1aeA4NoxM9gN+mh0ZGLKo0ijifPmUhy7LoUac2rKRKtN93T2MlmCn7fsZ6n/R5yju0eGZk9oI5sXmFx75zXw/pP+MWO/ynMZ3ZkdG087PG1yr5zeDmfeJnJD9Ki92pS36sT+FDSq/3SEoAhKH+0LQ1JhkSctokaQOgXTx/s9097o1CmZiYmsYOuoqtj8IcD8eG9+WD//StIjKeOBBFaQcovDq45jp5LkeRoWL/gFT/I/cWuzYxbM209lGy3G/zrG2XmZ98E5MaXIkf9fhKBEc6Pj0CSMvsVkg73y46mw9E0Q05unuq2vsszFVniwLLRLpssEAS0t7AlS49/fxIDH91kcZ4H3lTqgjsJMyIeOzEwr7mGsodcsMTc763aGBmarjQtbcRnOFT+HKdGGOG2l0jxwusK2iUhHCj7FOfmrULjHD10hDmcVRBywPUP5tSw2j/Jt8eC/EeURV9re1zyhcwtOyY+07vsiDvIZPkdjtWcgXYUf8ML83rudwPmkctV10aSumX6U9g5l/XT032N5PsM0Fw8aElYU1fZs6F8CYsPLzc4+XKS3GM4aFA1zG4fS16nXNcCjzLLBKXoNlzQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(2616005)(426003)(5660300002)(2906002)(6916009)(6286002)(8676002)(70206006)(4001150100001)(36860700001)(966005)(54906003)(336012)(508600001)(4326008)(7636003)(70586007)(36756003)(53546011)(186003)(55016002)(26005)(16526019)(47076005)(8936002)(316002)(82310400003)(6666004)(83380400001)(86362001)(1076003)(356005)(7696005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:51:39.4878 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 311145bc-38fb-45dd-3b36-08d9a4168c1d X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT065.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4061 Subject: [dpdk-stable] patch 'app/eventdev: fix terminal colour after control-c exit' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. 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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/2b7b5a82a0bda52cbf0ab45b3d456b10416bed1f Thanks. Xueming Li --- >From 2b7b5a82a0bda52cbf0ab45b3d456b10416bed1f 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 Cc: Xueming Li [ 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 2fe15ed447..fb3acc79ba 100644 --- a/app/test-eventdev/test_perf_common.c +++ b/app/test-eventdev/test_perf_common.c @@ -19,7 +19,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.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:09.492029242 +0800 +++ 0170-app-eventdev-fix-terminal-colour-after-control-c-exi.patch 2021-11-10 14:17:01.984078497 +0800 @@ -1 +1 @@ -From c0900d33443e0a9caca0727995d4ffb9587853bc Mon Sep 17 00:00:00 2001 +From 2b7b5a82a0bda52cbf0ab45b3d456b10416bed1f Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit c0900d33443e0a9caca0727995d4ffb9587853bc ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index 660d5a0364..97bad18a1f 100644 +index 2fe15ed447..fb3acc79ba 100644