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 2E38CA0548 for ; Sun, 28 Nov 2021 15:57:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 249094068A; Sun, 28 Nov 2021 15:57:59 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2044.outbound.protection.outlook.com [40.107.92.44]) by mails.dpdk.org (Postfix) with ESMTP id 225BF42732 for ; Sun, 28 Nov 2021 15:57:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nieJVC2IACjJIZOJp6kr9mQpVLa72Ia9FyY6cjCWyXgl+BpuxPo0JH7qhAkHKOo+OBONO2DdcjbdGHBs82gGrx7zVJOjBluOD1x0Tgt+XUWbaX1v/uda/FOaveapPYbtwD4cOuC+D7jFiJ0UVMzsFZmyBO7aRF5zDs8XvZZ3wK+r+grN98kMGqaLUiiSWW2lRklTuIBpIcsp1UjOHG3JyUgcPZCDhKKTxqqN8KolbWobyuc37bVRlR/uojmc+SfxgN2T7ROQGdNpGRU/Ju+w5102nRKt+TJ/DIgjpGR3rD0PQLdTIC6LTY773VdTqVltklqjm1Kz7EXeNR6Djursnw== 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=bpruyZMBtA+anSqgqw1oPUY8cD4+C/ZfqzfFV0KO+Do=; b=LxXRGnc3fBa8xV3rkeOkHas0Fbmq9RaSVY4l8Jd2ccNlx7EzZyV6EWIC+0hkVPuqsB35R7Xmi6HrcdabbdrUIYcLML3gliFM8u9hZoiJL2I7GYs6gZLEYgdKn/Owt4DfQFWYXUvBndiFr1bejKb9eGiRBqr95cgQMTiKGLoEZa18SIUjn866WMvBXKNiThKk28zoSdcllyUdcB3EsdPT08BJcqzXcBdMWUvdsesDgQhmy+DlGg9KgaHEvCTPRtqJmlG4Be+KVy0hme+6Gylh8CfQX2hQmdVe2Y2QrjG4zyAB1P0iVbagF4i79xG0P6db5W37fKnK6htFdWybifRFMg== 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=bpruyZMBtA+anSqgqw1oPUY8cD4+C/ZfqzfFV0KO+Do=; b=cdYh7bcRET76UHguGXWvxEl8Oek/J1kv/3dbdQ0yA0VfDzGflKbtPOculvBlCVaNCOnaTHRVOrupaP5Azb8gzD7SyFLB9ZS8nKBB1gq6qjM0plz7ngTURwZYimDiH1SFNIwgrE/RjgGyO3++seQQ406+WB2u3TIRTTjn2uTRsz7mTHFrGOEndyg2mXGNqcrczfVkqjDUANcld91FTsM/gFnrOlX4M4w6wZKwtwo38DTUslwoUdxEGznAe6f8OEMGBPXFQ0+ncsvYNfQhrjNK4KfheKznk5k1BQtj6mHUVjv0g+DDE8C1mj70cLYE2CjKk5LEQpfLFSongIuMRKlz+Q== Received: from DS7PR03CA0266.namprd03.prod.outlook.com (2603:10b6:5:3b3::31) by BYAPR12MB3384.namprd12.prod.outlook.com (2603:10b6:a03:d8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Sun, 28 Nov 2021 14:57:55 +0000 Received: from DM6NAM11FT032.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b3:cafe::b) by DS7PR03CA0266.outlook.office365.com (2603:10b6:5:3b3::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:57:55 +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 DM6NAM11FT032.mail.protection.outlook.com (10.13.173.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:57:55 +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; Sun, 28 Nov 2021 14:57:53 +0000 From: Xueming Li To: Conor Walsh CC: Luca Boccassi , Liang Longfeng , David Marchand , dpdk stable Subject: patch 'test/distributor: remove unused counter' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:31 +0800 Message-ID: <20211128145423.3974892-28-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-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: 7a8f97f6-4e08-416a-353b-08d9b27f75b7 X-MS-TrafficTypeDiagnostic: BYAPR12MB3384: 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: ZQaWdGiAKJ/d2s5T/1OkQriMO238KxN7oFeHGlwZV1mUn0t35FMQcsnoPY/ZoSDAIU5LMiDn2NzEYyaQoboG3hsZ/a47U2p+3cSXLoRe7SZgMRY7hkyLD3mc9BZKYn71cQmp/iYKkTlOAFtnq6Nh3BglJ8XrePpvNeM+IxtPpV8iIB7guoyu6up1a/HJxZNDVxw/8rCaxn8EJlj2ZhNQEmFVukiEzMe6V3RkahEbXnNt3It85JDV3865YEeXXUjsI5dVQKpiR0zAW7ZxRPdyUsOCmeJcQNMQVEcv89ZRC8tIKyE4C2O2dnKTfOHWF/f9rWXM4UgI3OI7BK/ai2Ud0/qR+926CKoFfgvxNPI3QBCHgKbfXY15ZmTItkj2c5iSUC04U7fxwOyVcC9lzi1Xywf5vKnO1jkX3+jAPqewoSbt8odZJa84r9tV4vnf/zOtsxwKTqPB9UgWGgsu4X0MKHBpsGWEZD+nVLZQEBwnlkA1dK1aele+75OnSmnwXTrXbt9r6PybvULViH2SiFipElU0veVAaw4DOiaOcPDZJbKH1JEtzarD0Rztr1GwSMvrzojJYntKYN940oRQEqA/b6yT6TStUqUltHEL2GypnzqJsGi6YUY41ELWg+VwoKaY9Tf1TZQ014ENkY6eLXAuleM73tKdgtfiJwYVAdWtXgY7bwO7jVbq0ZCPmdN5HIU/6dz1iwLyNge28bIDdZwz/aj/GtTWJpPKZb5g9Ew+z3O/t/tFs8wsmART6GGLltzD54vta6dTbnLspaFUEa0vIooDRKPhyin1Yk8pLBCoiUcgViczoZkWFtUNzEbLf3Y25mrF0QYYlCRpBLrcb2/U/w== 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)(426003)(7696005)(4001150100001)(6916009)(54906003)(6286002)(55016003)(36860700001)(70206006)(70586007)(1076003)(8936002)(47076005)(5660300002)(86362001)(6666004)(26005)(508600001)(186003)(83380400001)(356005)(16526019)(8676002)(966005)(7636003)(4326008)(2616005)(316002)(36756003)(53546011)(82310400004)(336012)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:57:55.4168 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7a8f97f6-4e08-416a-353b-08d9b27f75b7 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: DM6NAM11FT032.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3384 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 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/30/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/9a514a21d822a4b4c57a3e68f5db54d6bdfffae3 Thanks. Xueming Li --- >From 9a514a21d822a4b4c57a3e68f5db54d6bdfffae3 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:50 +0000 Subject: [PATCH] test/distributor: remove unused counter Cc: Xueming Li [ upstream commit ccbdaaa9815259f5af3b6cd3be6ba6eb8ffc4b5b ] Reported by clang 13. This patch fixes unused but set variables in the distributor test perf. Bugzilla ID: 881 Fixes: c0de0eb82e40 ("distributor: switch over to new API") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- app/test/test_distributor_perf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c index fdbeae6d2f..92e330f194 100644 --- a/app/test/test_distributor_perf.c +++ b/app/test/test_distributor_perf.c @@ -108,7 +108,6 @@ static int handle_work(void *arg) { struct rte_distributor *d = arg; - unsigned int count = 0; unsigned int num = 0; int i; unsigned int id = __atomic_fetch_add(&worker_idx, 1, __ATOMIC_RELAXED); @@ -120,11 +119,9 @@ handle_work(void *arg) num = rte_distributor_get_pkt(d, id, buf, buf, num); while (!quit) { worker_stats[id].handled_packets += num; - count += num; num = rte_distributor_get_pkt(d, id, buf, buf, num); } worker_stats[id].handled_packets += num; - count += num; rte_distributor_return_pkt(d, id, buf, num); return 0; } -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:04.820764946 +0800 +++ 0027-test-distributor-remove-unused-counter.patch 2021-11-28 22:41:03.240209095 +0800 @@ -1 +1 @@ -From ccbdaaa9815259f5af3b6cd3be6ba6eb8ffc4b5b Mon Sep 17 00:00:00 2001 +From 9a514a21d822a4b4c57a3e68f5db54d6bdfffae3 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit ccbdaaa9815259f5af3b6cd3be6ba6eb8ffc4b5b ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org