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 4B9E2A034F for ; Wed, 10 Nov 2021 07:58:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4694C4111D; Wed, 10 Nov 2021 07:58:08 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2089.outbound.protection.outlook.com [40.107.92.89]) by mails.dpdk.org (Postfix) with ESMTP id E73C740142 for ; Wed, 10 Nov 2021 07:58:06 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dpwIhuMsC/ZEbw8Ff2isOHvxPBsCj/ht2fVuAoZlklq7K/FR7s5CwYrcKxH0+Hsy1i2ecZPME/bY13Y8Psz1x5SEZhWGDC0nQnJFyoWUSzFeLnU70HHl8gUFhn1Jgz99mTNleLnDEXuWUfil8qqOFl4P6vRiRxGsk9iFCheaZJqvUEuOq+uWlSTLXzP1oV0pGQAkpgJ9uNdNqErPTk3o8/KVmat8AlCYnU3adxXSUUQY2HviSjy9rw5AsEmZbVkKnfmx/MAQcwl8h6tgWir7BCQC488vzX0NYfLjxYXPvqL5zeJyEEBu68fJ0QY9mNj40bW6ENt/YyjDLmpPdOj+oA== 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=6gyng+PUh3eQgb0JjJUVM3EVJAWhmJEOZntHGmXM76A=; b=oXUyo31XR8Fs6Dk7/Ea9sNYmWstVrMJCjMuPkJr+g7qiEnrarwsEdFd/wgtlWPJRFTzNCo03ALvM8tKyP8sDvrVrk1jQVC7a0aHsxVSiMBQ5FO/hiN8aInAAi/cMJjXEsq32wNZEJdMgCJjztN7b3D5JNJt0f6MCd0kiXSjT9s3XSc2aziRDLeoxheMo1dUFOKYdstuo7WGPeEgcsJ03WR6EFGhN4S2EGSy5KuW+zvarq9KbLbY+XeG/ZXlYTllCxA2KEnbvP25zgSu+gVDlLNfAzDKoOk8cuEx7VqEntJ4fsWrD+YSA4j3GE9ulTdKJkeOBZT95eJfuj9nrSwZKXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=redhat.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=6gyng+PUh3eQgb0JjJUVM3EVJAWhmJEOZntHGmXM76A=; b=BX0+as+sJk395iZ5WhAnbXQIuIyVJVsSH996BqszIgW2GZ0bRBddoItn1Waqz/3YWZaBpNJAsv6tt+Rh2fiqFrejmrUDpPYjwTM5cK6B7v1myvGiaQ6rUbfn8nGrGpXDGKdN1JuF7+ruC80oAV0RKqdPko/8u9Dag/UB2Nuy3jWb2sgUYXB20hjdfljo/yQgKHiu6OfmdipYA5IiRBeZr8l5BLP1GdcyAw3lAC+QmRmjWpyos0qpVmhRsgE2rzxyoFXVZG+ppLFCNbpjDMNrs13BwJ7KJXw039WALcAxuv7YGKvis1Yg25i/c3trUTKQFDW84rUs/6WyrwFZLISHYQ== Received: from DM6PR11CA0007.namprd11.prod.outlook.com (2603:10b6:5:190::20) by BN6PR12MB1170.namprd12.prod.outlook.com (2603:10b6:404:20::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Wed, 10 Nov 2021 06:58:05 +0000 Received: from DM6NAM11FT054.eop-nam11.prod.protection.outlook.com (2603:10b6:5:190:cafe::7d) by DM6PR11CA0007.outlook.office365.com (2603:10b6:5:190::20) 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:58:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.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 DM6NAM11FT054.mail.protection.outlook.com (10.13.173.95) 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:58:04 +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:58:02 +0000 From: Xueming Li To: Jim Harris CC: Luca Boccassi , David Marchand , dpdk stable Date: Wed, 10 Nov 2021 14:31:56 +0800 Message-ID: <20211110063216.2744012-233-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: 4dfebde0-71e7-47c8-4715-08d9a41771bd X-MS-TrafficTypeDiagnostic: BN6PR12MB1170: 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: APoxaNmXOubIr7F+SzrxKQvDcViiFZ6vMbwmCPZDxNIppydLIqr6POXQpS3I5l2Q4tU8MQW/x3WqvB2d9s4A2sTA0M0zFE52gbMaYSgwi2h5tuxxcQnWHj9m69EsnUN+zcbfWwV+47LgakYqw6P/RDAuE+vFZMo8x+lDrewgfU7p+YjybkDxzk2ROrDehYM+793cRKYYAMrVPpZYAWnb4LEhoMLYEoVPoVmXvH92CrUr9QrNpjCr7/KHa660ACQgN1vYnSIbi/m7Z4KWtU0aVRtjvKkSsmIL4HMy2KkuX4OzVEnsVgv4Cw9cwMFKVa2PlFkZyt2vbCwXXa4FpOcXNWd8LjZu9JCrgADBYkjRuSW/55HZqEAbJOMv3vs+EGJKITdRo81rc03QW1OT/FHuLWSOyt1s/9ulIVzn+tN2WIhSCZf4aP85PTFYKfP70XXAlD3nyt2rkebqbUXcvL5cEEiQOmou2dSSU1qS2ttf/7jHFZL6DDoW6IBAN/9d9f4m+E5EYFEUDIBeOoprz5R1/sF0Se2p049O0n5hOUY9/e95yH01752oslQbNnT2MuQPgHPF+DiW9+UIf8dSIEhAFUZoqFYRDOo15UqsRViwoxhdVP5gWdsoBGmm48tRpNwhClpmGms4RisK8Euf/+kVY+spTVOU0Nn0Vq93sDq/rVN68QLr6ENxiI5FsXmtXW8DpUVFfCcOQLbWJ6eYlSExJrtaaH5bKw229uyRentwIqRUXH5+GdGwdBo1AYpr9hX7yeS2Ib0eKiYI5S5qw4I093riHbGufYiNl0EL1ALULsCsAaRGlFSI0uUQSynw0O8VPjhFwnEcpuqIKALbiKqDAQ== 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)(36840700001)(46966006)(2616005)(53546011)(426003)(8676002)(6916009)(83380400001)(1076003)(336012)(508600001)(5660300002)(356005)(8936002)(70586007)(16526019)(316002)(4326008)(55016002)(6666004)(186003)(70206006)(86362001)(36756003)(7636003)(54906003)(2906002)(26005)(47076005)(6286002)(4001150100001)(82310400003)(7696005)(966005)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:58:04.8009 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4dfebde0-71e7-47c8-4715-08d9a41771bd 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: DM6NAM11FT054.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1170 Subject: [dpdk-stable] patch 'test/compress-perf: remove unused variable' 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/046835a080e15ccfba08a2f69264da9862732420 Thanks. Xueming Li --- >From 046835a080e15ccfba08a2f69264da9862732420 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Fri, 29 Oct 2021 17:16:22 +0000 Subject: [PATCH] test/compress-perf: remove unused variable Cc: Xueming Li [ upstream commit 1345c5baae35d16b20126704c8636c476c4f32eb ] clang-13 rightfully complains that the total_deq_ops variable in cperf_cyclecount_op_setup is set but not used, since the final accumulated total_deq_ops results isn't used anywhere. So just remove the total_deq_ops variable. Fixes: 2695db95a147 ("test/compress: add cycle-count mode to perf tool") Signed-off-by: Jim Harris Reviewed-by: David Marchand --- app/test-compress-perf/comp_perf_test_cyclecount.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/test-compress-perf/comp_perf_test_cyclecount.c b/app/test-compress-perf/comp_perf_test_cyclecount.c index 55559a7d5a..c875ddbdac 100644 --- a/app/test-compress-perf/comp_perf_test_cyclecount.c +++ b/app/test-compress-perf/comp_perf_test_cyclecount.c @@ -76,7 +76,6 @@ cperf_cyclecount_op_setup(struct rte_comp_op **ops, for (iter = 0; iter < num_iter; iter++) { uint32_t remaining_ops = mem->total_bufs; - uint32_t total_deq_ops = 0; uint32_t total_enq_ops = 0; uint16_t num_enq = 0; uint16_t num_deq = 0; @@ -136,7 +135,6 @@ cperf_cyclecount_op_setup(struct rte_comp_op **ops, /* instead of the real dequeue operation */ num_deq = num_ops; - total_deq_ops += num_deq; rte_mempool_put_bulk(mem->op_pool, (void **)ops, num_deq); } -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:12.126585122 +0800 +++ 0232-test-compress-perf-remove-unused-variable.patch 2021-11-10 14:17:02.064077842 +0800 @@ -1 +1 @@ -From 1345c5baae35d16b20126704c8636c476c4f32eb Mon Sep 17 00:00:00 2001 +From 046835a080e15ccfba08a2f69264da9862732420 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 1345c5baae35d16b20126704c8636c476c4f32eb ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org