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 7148743B86 for ; Tue, 5 Mar 2024 10:48:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BECF40A89; Tue, 5 Mar 2024 10:48:44 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2065.outbound.protection.outlook.com [40.107.94.65]) by mails.dpdk.org (Postfix) with ESMTP id 5B5F9402A8 for ; Tue, 5 Mar 2024 10:48:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n5crNklge2GaMsEOT9f76jVvUEmEMPJxYUhQFq/p1K5HqtZOkrUd3QtQU5AICb+3VdXUKQf/sFjM9rZIQwacpTLaUwJI+PGEn0+Qc22tyV0wAOeglgYt1BQrKBJDLyeSyIW3GNK8CEK2/UG6NOObA3hIXGE8uD00Op9HPyN/vSSDVw4Eydf0II8XsBkennifJvNc3EyF3jZ3idZKEsOEDyIQs9uEN+fTjWus36uONLQ/fHul8ndLtKNGV7jC/srANbSVnZAHeM+3lzwB3scmP8KWe3bQ7zMOFIhZgx/9ZQLd40FNF09+19RSRURRJ2/9Gq75gj18v+GGSstFOBxCfQ== 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=CBo9L24u323Uu8s1SuPxytbUWZTXSIHqrN+tQddFX8Q=; b=BAD/RoxvfuVfygzO5ql4N5r9i/tiiw8PMDdXapnCy4/DOgEeZxTcokmRy/Wp6ecQTIIePTCElfSxyCaFzWT/4/N+XPr9NTNQA57wTeoIo3hyBw5jkzG1paQ1URVxS+hm8g06bpFa4AKKpcBk50Z30jcoa7eQP2LWJkoe4nqxm0rrMWATwVbPtXYdbxRNYjP2J2k95UKDa8zoLjS3NUHJdDHhSOkkt3KweugsHQPXZ7eFvevQt89PMrM//J4kDh2Rwxsen09J9vRsWTYLOBQm8KsYYDX0jAngZg4m+fstELbD4ic0vU0fCHaNf2JIeaEYp1hEOzDAqtYQnbtCo0Lhvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=CBo9L24u323Uu8s1SuPxytbUWZTXSIHqrN+tQddFX8Q=; b=ko5UTzX3333YlYLL+ORCaj2Vmc0lL7lqsSXY4ZdDelwzRgHFYV5NDs2D93oZUkedaVsLALAqzs6MlFeb2D3L1lOR30QIyfWiJiIIe1PfUB4V3JHS0M9xR1blUpPOdDQARNLsPMkEL2o0IMhaiBgVbrZ2cL6SfPSjRw8x6xU0g2uLbroh4poTA+u/tvsCOGV61s7sVycTRhiTo/YyjT/sncilktPVDPBWZGfsJeAeAaHvj62BcoTXhHGVvEbrIWoHButtWsETkkT/7cFQw28dNig7UgG7zGtvV4L4sQvYA88uqXJtK3PMdNu+eSB/OWxPkYUta6gFUGPDmcrE+MB9RA== Received: from SA0PR11CA0175.namprd11.prod.outlook.com (2603:10b6:806:1bb::30) by SJ1PR12MB6364.namprd12.prod.outlook.com (2603:10b6:a03:452::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 09:48:39 +0000 Received: from SN1PEPF0002BA4E.namprd03.prod.outlook.com (2603:10b6:806:1bb:cafe::f3) by SA0PR11CA0175.outlook.office365.com (2603:10b6:806:1bb::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 09:48:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SN1PEPF0002BA4E.mail.protection.outlook.com (10.167.242.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:48:38 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 5 Mar 2024 01:48:20 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 5 Mar 2024 01:48:18 -0800 From: Xueming Li To: David Marchand CC: Stephen Hemminger , Tyler Retzlaff , Ruifeng Wang , "dpdk stable" Subject: patch 'hash: remove some dead code' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:45:44 +0800 Message-ID: <20240305094757.439387-4-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002BA4E:EE_|SJ1PR12MB6364:EE_ X-MS-Office365-Filtering-Correlation-Id: 450bbf91-51dd-425f-2ca9-08dc3cf96f18 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8XEgMP+xzFRGV0XpIitiUx/xyJoVpn/j2OuwNKn1lpmQNZvdxH50NZS0p8nx4kvQCQJIXZOxcBsyLAKTpOeKnlxxUkAu/ShvplgcJbQHRZ9gUVtZxgdYfi8V52niYMmaBCgDkc52Rgv+ba2RyOm3sR3isZuW1Gbl6Duay3rSwh5KGyfxAltD/zmI7VumzpyMHzXIwdYzVh8DYVzBl7E1P8/CqZ5NVOFWGCByFUF9HNlWaxMdXhMDneuviX9V/EM9HFxak38tj8nRqUJG+QKru9UuderEdwYGzcXLPub+VQk6fb4Zds42E9JMcUcetEpWKtUCnM8IqJpqriJVl6koilkN/QhZTsmJaU7TVkB52mRPoxYwtpRRfPumGG9DrMNVxIVKusPf+TVqDFHu0ITsSF1zUMu0t2CL/Y9XIW+IkD+dlVd5yo1pH7OU4GBKUuhZhyuGkybdHXz1vycP6/Zr0CofCaBrZHS/Uq5K4TR8w9pT7j+25z8F91o8YY60Eyswtk9OFOx3O1L4r4zovUWCtugSeK9/MFCy54VbXaW1adG1034rZF55VOLiF5BWoXsHfa37O3JgvtwxP5q00oPQ1iPcJPrPwoX6EOrbIdvt1Tax/U9U4uWu52eUW6LUPTHLuBrPX/Eoe25/DYXMMx0lX6HVPDyj9A0vEkSNvhWhB8o4NEOFMe1L8gd+yaIEpryZMPb4hflwtmuwodKuzLqcqGaIvG2pWwsnamDJExqPgtHdlPSJxe7+BfAFfUopYKG5 X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(82310400014)(36860700004)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:48:38.6896 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 450bbf91-51dd-425f-2ca9-08dc3cf96f18 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002BA4E.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6364 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 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/31/24. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=dc0428a5e4734bc7fc73f2b8bf038813fd4b2e75 Thanks. Xueming Li --- >From dc0428a5e4734bc7fc73f2b8bf038813fd4b2e75 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Tue, 21 Nov 2023 16:24:23 +0100 Subject: [PATCH] hash: remove some dead code Cc: Xueming Li [ upstream commit 25e3fe362b3ad7484750eb7134bfca8e3fab5703 ] This macro is not used. Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation") Signed-off-by: David Marchand Reviewed-by: Stephen Hemminger Reviewed-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- lib/hash/rte_cuckoo_hash.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/hash/rte_cuckoo_hash.h b/lib/hash/rte_cuckoo_hash.h index f7afc4dd79..8ea793c66e 100644 --- a/lib/hash/rte_cuckoo_hash.h +++ b/lib/hash/rte_cuckoo_hash.h @@ -29,17 +29,6 @@ #define RETURN_IF_TRUE(cond, retval) #endif -#if defined(RTE_LIBRTE_HASH_DEBUG) -#define ERR_IF_TRUE(cond, fmt, args...) do { \ - if (cond) { \ - RTE_LOG(ERR, HASH, fmt, ##args); \ - return; \ - } \ -} while (0) -#else -#define ERR_IF_TRUE(cond, fmt, args...) -#endif - #include #include -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:31.198667607 +0800 +++ 0003-hash-remove-some-dead-code.patch 2024-03-05 17:39:30.633566488 +0800 @@ -1 +1 @@ -From 25e3fe362b3ad7484750eb7134bfca8e3fab5703 Mon Sep 17 00:00:00 2001 +From dc0428a5e4734bc7fc73f2b8bf038813fd4b2e75 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 25e3fe362b3ad7484750eb7134bfca8e3fab5703 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org