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 D6BABA034F for ; Wed, 10 Nov 2021 07:45:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D1432410E0; Wed, 10 Nov 2021 07:45:38 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2046.outbound.protection.outlook.com [40.107.96.46]) by mails.dpdk.org (Postfix) with ESMTP id 63F184014D for ; Wed, 10 Nov 2021 07:45:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YeomnR1fSuj7tf3mAoxn8gX0LoLnO9GzUQwusdzDz1/gFDnO9qJqnqKH6+SaU44e0yUpNIrZBElFfQD+/M0ETT02N7H9dLB3T12S+2okKU4Zte6omqiyRkuJILLbk5qEAYd9eDK+NEzfns2/F9E3NXztT9q7HgxoDMD4ACsgThMi0s1V9Ku/m92oorGHS1maUq/0VH4I5n02blh0oii5BrZ79hsKVYLs7CmgLurByl2dD+XgraPoNey6OANYSyYaE28LNTmO8EkiiNAaF4go33/x6z12H53sxoDIBn3HdgbBzFr+o9hGZxIjfYtinc2p3L/AwSgMXC1YvMqepomP9A== 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=73WbOXNLZo7AdFjvi87nWoN+IJrkxxSPIxp14gfbErU=; b=OWm5p5LXp47ih6sBazL7Qt7jcZFZA4HEED0NZo/1C6SG+NnH8rm6BxTVnzAqe2HewGW0ou9BDUGRj0wLgucJXFLZ+1s2+maonEp1ps/5BG53sqRBQpGnS4KViYRAbtcHUXXDrGnnJTobAHzzyIgv/CnJEhFoeOrv5qm2k0kJwL5DCMBVp5uGcrp1TngMpVkNngZGL4Z4BMHNuVOS4IMTUXpgNyf/K3B9saWoWMfKg9K99NR34D5nOb2GJU+UjF8CzFqOaJJjlwB86+QhJgnrBKgLpJ/qf2Z77OrsAtGGM/m3l9CokWr2j0uV5molhX7O+Jg6cPaHzCRe/WSc0kp4bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.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=73WbOXNLZo7AdFjvi87nWoN+IJrkxxSPIxp14gfbErU=; b=hNgJ8Sh3iYoZC5J3eM15X/zn1/hC9jZ/80XjTNPjBe6GYC0PZOO0YnxP7IxG6i9zoZldib3R6QR5USJ3Nn/JlZS8yTJwS0S+1GUTF9sY31W5HHMT7QG3Arfzs3+21cVkAcjCQ334b9Ugs4noHXMpoHzvpjFT3nEUFCuYs3gcckWuqtEf0ZlctMN0NYqN36WjGK6vzmurVGosv1850xIOjg+pm4TIz4nFcNxVbdGMDwoJl01m+orCU8UHLfsdljvicbEQL7Zpm2Oh9+UuGkOdDRXeBhU8QRa3Y7+jTcfxc31td9WPf7NyTEq7iBuudjqnqBvKCPD7aq59s6Y5fn913w== Received: from BN9P222CA0009.NAMP222.PROD.OUTLOOK.COM (2603:10b6:408:10c::14) by BN9PR12MB5211.namprd12.prod.outlook.com (2603:10b6:408:11c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Wed, 10 Nov 2021 06:45:35 +0000 Received: from BN8NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:408:10c:cafe::1c) by BN9P222CA0009.outlook.office365.com (2603:10b6:408:10c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:45:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; 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 BN8NAM11FT025.mail.protection.outlook.com (10.13.177.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:45:35 +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:45:33 +0000 From: Xueming Li To: Joyce Kong CC: Luca Boccassi , Ruifeng Wang , Harry van Haaren , dpdk stable Date: Wed, 10 Nov 2021 14:30:02 +0800 Message-ID: <20211110063216.2744012-119-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: ff56b6ef-cf19-4eaf-14e3-08d9a415b31b X-MS-TrafficTypeDiagnostic: BN9PR12MB5211: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QuNx4173GlFJtGougPZZ+N9E6Pm7wCJGnur7MqTsO05E+0K/WLX4f9VduGLsolf5XFh8H4scnj2w6XbYrIy1WixRR3TIEEv75pF82cO9IM13MvymXq7Mr5hmcm1/M3eKTEKTdQtDzPuHGR0+nle4YHh+4KAHDowyiZ3TaS+RaVzO/xVXbSOtg+l+zQ2gwDVf1HHhkcPpqG1eWx02ZjGPPtNU74M1aHHafmMA1XsudwweGSIW0GuU8c/Il6CFjwfyx1AuVcYNQDhLJuqBrXWQwacZ3B3fhUaIRFh3mWqDMJbydgIRFkimM1gpcQI3IfpWXhE+Kg9cc00PyaczXjBjHQglpH8EygvLADEkQobs7bUWIh7xOkubUN6MBAP22nJuoRziYskmvIl5s8xg0Y0IAktgCohpIXJuR09BLM7SlyGB0n5atkSVYacilk8gRc2BMmOczA+q5O8TQAR3kboLR3h8OoTzFcLr9dp949gFHOOlRP5GYPPUFQErySVarrqtrMZ3D39SNpXwXMjlzR0df6DR4tprGr4Q1dBgWiEhminOryxmSbW8cbH6dYAVNBI6OYv61PDcFWlFoREk0107JptoSHTpJi16tHXG8FMuhum+oi7pfple2MeQAPwFG5hEXaQ1LgL4HbA8iy6xfO0sgKY1KoVkSYq1H8x//ZuR0mkUqOZL/toLkUSl8D/XPrGD1N7hKpVK7QaNgkKujcj/5Dx/DMfcmPXrfFEwRa6so3L2RR/Rn/yDIPW99dtWKhG6ayAHu/rYN+4BaBoH49XpbnwAuC1uCwMUDD/2wTKpl5PY6V4qcbiKdiAc8k2rhVD+oYIytIsvSz2c6DfLBano5A== 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)(26005)(336012)(53546011)(2906002)(83380400001)(6916009)(5660300002)(54906003)(16526019)(186003)(47076005)(2616005)(82310400003)(4326008)(36860700001)(36756003)(36906005)(426003)(316002)(70206006)(86362001)(70586007)(55016002)(6286002)(7696005)(1076003)(508600001)(356005)(4001150100001)(8676002)(966005)(8936002)(7636003)(6666004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:45:35.4001 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff56b6ef-cf19-4eaf-14e3-08d9a415b31b 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: BN8NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5211 Subject: [dpdk-stable] patch 'test/service: fix some comment' 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/3ee8970823038ab3abbc7bf478b627fc805aeea7 Thanks. Xueming Li --- >From 3ee8970823038ab3abbc7bf478b627fc805aeea7 Mon Sep 17 00:00:00 2001 From: Joyce Kong Date: Thu, 19 Aug 2021 01:11:25 -0500 Subject: [PATCH] test/service: fix some comment Cc: Xueming Li [ upstream commit 79afbbfeea44f624242ad93c28072d73da631e1b ] Change the inaccurate comment of 'set pass flag' to 'clear pass flag' as the '*pass_test = 0' code actually implements clearing. Fixes: f038a81e1c56 ("service: add unit tests") Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang Acked-by: Harry van Haaren --- app/test/test_service_cores.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_service_cores.c b/app/test/test_service_cores.c index 37d7172d53..8b61dcfd30 100644 --- a/app/test/test_service_cores.c +++ b/app/test/test_service_cores.c @@ -66,7 +66,7 @@ static int32_t dummy_mt_unsafe_cb(void *args) rte_delay_ms(250); rte_atomic32_clear((rte_atomic32_t *)atomic_lock); } else { - /* 2nd thread will fail to take lock, so set pass flag */ + /* 2nd thread will fail to take lock, so clear pass flag */ *pass_test = 0; } -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:07.226607023 +0800 +++ 0118-test-service-fix-some-comment.patch 2021-11-10 14:17:01.884079315 +0800 @@ -1 +1 @@ -From 79afbbfeea44f624242ad93c28072d73da631e1b Mon Sep 17 00:00:00 2001 +From 3ee8970823038ab3abbc7bf478b627fc805aeea7 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 79afbbfeea44f624242ad93c28072d73da631e1b ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index ece104054e..8659a1526c 100644 +index 37d7172d53..8b61dcfd30 100644 @@ -23 +25 @@ -@@ -68,7 +68,7 @@ static int32_t dummy_mt_unsafe_cb(void *args) +@@ -66,7 +66,7 @@ static int32_t dummy_mt_unsafe_cb(void *args) @@ -25 +27 @@ - __atomic_store_n(lock, 0, __ATOMIC_RELAXED); + rte_atomic32_clear((rte_atomic32_t *)atomic_lock);