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 194E1A0A0E for ; Mon, 10 May 2021 18:21:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 116D6410FF; Mon, 10 May 2021 18:21:18 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2083.outbound.protection.outlook.com [40.107.102.83]) by mails.dpdk.org (Postfix) with ESMTP id 7D8DA4003E for ; Mon, 10 May 2021 18:21:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I4vsnafg4XrOWmOE9y5ip+1cIUhaWlTi2vXqeT78Im2UMQcaeZQLZd5wnP9APpPsa0y+joWmI7zN9ZkD1hMqzUdw22wRF5ApCCQsSQXxTdWQLotbTW8ldr3cRE3I5JyXN9FhsnEbd1WA4RzQnMJWrTMI1C8uITNNqdMUJHZ0dHAN9utGbsQOJAfGSGJonHr5i/MxU/28l9nSTO5Biy5VFfizizLnVrNuwdzfvzGPpzcyPMb/yKflE44qfToTDBDc9YOjUI9nColhSPEQlIDeB7PNCFm4ccYAVZbBUIIbQJuZh4LYuL7Z7oF+TlRjGqFsuYJpGRbQxwcSDn8NnW+BRw== 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-SenderADCheck; bh=oits791wy3TExkQFW+09g6oQL5g7NKtzZ+3i2eodecc=; b=HlTSyXPNlYiFoXV8501JkNHrVIPn1GDrlPzUUMcfUSWluViMsSbLMWI4YdMLK19pXzWjwsU2g7tjrgsTc/LcgJPDawIk+0lNbfPEUktptn3/7IdM+9AQrz3eJPfWPxI2zmm2p+b1opvJkeUdoVyzCyvwEkpQZjC9BS+pT30g4OyiNJy8LwgoO9QldYVYGd4mKZiVtCWFOwSIBnZsq9XYV+CByuBjzo/QiVY05aqeHkGI9qLxTHXlVuUzCMO2H3WG5t3yUZWhbdMio73CBWuionZ9KC4jvPOioOjfC5n/GThbTkIbHHFIqB4WQlpcSbcTWYe/q68dt2rdCF3QTQBiPw== 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=none sp=none 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=oits791wy3TExkQFW+09g6oQL5g7NKtzZ+3i2eodecc=; b=bw8ZKovh965Z8ZLTPKzaLdf4Ar4j1YZq1L3kpIm8MN1eVmSmw58KWrjPvJIIOZJ98o9wQuvddbjCOJuYgCQ1HYH1UvCbPi7AqQ5fgkbFzyM8iHfZozj2N0eKsxtUh0ocYphWPJkMyaIOtIxLuCZ3Vvh55BsytQm79C5UPiWdUVXdAeu3AsNfBjJeNF3Y/veCpkx3q7pEDdEs2It+SQecW+ui2Hw4FcDGDhEBnjimFj/3LV3H9fWqX8gEIl3hQRFDcwQlci8Yy9mEz0KnJXVTJQgPj+WCCB7AA2cI3BdHuigbULMLJeQQd9H6xDPrAeJIr8eYuBOizFfFnODG2q9ZPw== Received: from BN9PR03CA0143.namprd03.prod.outlook.com (2603:10b6:408:fe::28) by BN7PR12MB2801.namprd12.prod.outlook.com (2603:10b6:408:2d::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Mon, 10 May 2021 16:21:14 +0000 Received: from BN8NAM11FT059.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fe:cafe::3f) by BN9PR03CA0143.outlook.office365.com (2603:10b6:408:fe::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:21:14 +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 BN8NAM11FT059.mail.protection.outlook.com (10.13.177.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:21:14 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:20:18 +0000 From: Xueming Li To: Tyler Retzlaff CC: Luca Boccassi , David Marchand , dpdk stable Date: Tue, 11 May 2021 00:02:00 +0800 Message-ID: <20210510160258.30982-171-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7d44a9f1-03b8-4c44-7f81-08d913cfa1dc X-MS-TrafficTypeDiagnostic: BN7PR12MB2801: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kbdKeH+ZctmTBfJCLNg7Wbf7176d+9aavDvbUK4Kwk9zxTY9IWA9gfTMaNMxMPy5bm3Aa2ZzCEn8XK4Fv/QSHypNmx/lGgQgIPOEK2DMbR8OXJ1MutULtyhnKgN+Ufs5Uvc2VGELCKyyMDDHlFUQsC/bFrBkmiLxUeUh+MsoZWzZUsHxFjI1EJhEVGayIQr4BCcgWJZ+Yk/XEToQsEMBHDZ0WCSBEMwbLB+6GjiqsPTDXl2ZguOTRi7IgQL6UA2Vmf58oaeVMJ1FK+n5zhi9d/PYNaPwNfVhXQuuzSZ6p0MNpS02PTo/CrA+0kEG8/dNHbZWmL01/fU0NZaGF6rb/2Wd3BaaVhAlk2Za3ozJQs9VmOQq5RORW7k/kCgR1M30hElCnFCM1zUDeeaD3DQwdhYy1+sGirzKfGCwr6DyrWpaPYQ4KDb4NfRolr51igkX7UIYdAjcL7FzGWTU1wzC+HSioNlyHrMVv7t3u3dRlY65GtMaKCKl7vwoiNwneK120ADkuRTkdAW3bHpdtx0cLh2M6j84zzWfN3KK3TUt9p0cXFs3nw3QV+KIhBaR1wRGo5rMnrQ8Mu9fPOBpE5qKRTjYdTdVocrlFxJHqpfnYA9rI/noHiRkSDoLeSyTc2MMte2NHRGtQ27UYMWIJ6R7zN+nzkwcS6Cx4d2vg9VTA/KX4Ry3Z2BETDx6eH2VnCdMl7fHXn2NxK1ShFIPB/3Q8XYO9UCVIVT8leYzi0YzeRwBoOdt9GF/mkv65HiR5ggLLnQScMev/HUo2eBjeDspJQ== 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)(376002)(396003)(136003)(39860400002)(346002)(36840700001)(46966006)(6666004)(966005)(426003)(36756003)(336012)(1076003)(86362001)(8936002)(5660300002)(16526019)(7696005)(4326008)(47076005)(6916009)(82310400003)(70586007)(70206006)(478600001)(53546011)(2616005)(26005)(2906002)(316002)(7636003)(36906005)(356005)(82740400003)(8676002)(36860700001)(6286002)(54906003)(186003)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:21:14.2737 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d44a9f1-03b8-4c44-7f81-08d913cfa1dc 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: BN8NAM11FT059.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR12MB2801 Subject: [dpdk-stable] patch 'eal: add C++ include guard for reciprocal header' has been queued to stable release 20.11.2 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.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/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/9e520a5a7aad047b8d3bc479cbf0e88a3184dcd2 Thanks. Xueming Li --- >From 9e520a5a7aad047b8d3bc479cbf0e88a3184dcd2 Mon Sep 17 00:00:00 2001 From: Tyler Retzlaff Date: Wed, 17 Mar 2021 09:14:12 -0700 Subject: [PATCH] eal: add C++ include guard for reciprocal header Cc: Luca Boccassi [ upstream commit a6f88f7eb9ed077a02607cf9cd2b5101eda9f804 ] Add missing extern "C" linkage for rte_reciprocal.h consistent with other eal headers. Fixes: ffe3ec811ef5 ("sched: introduce reciprocal divide") Signed-off-by: Tyler Retzlaff Acked-by: David Marchand --- lib/librte_eal/include/rte_reciprocal.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/include/rte_reciprocal.h b/lib/librte_eal/include/rte_reciprocal.h index 735adb029b..fa1cb4854e 100644 --- a/lib/librte_eal/include/rte_reciprocal.h +++ b/lib/librte_eal/include/rte_reciprocal.h @@ -29,6 +29,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + struct rte_reciprocal { uint32_t m; uint8_t sh1, sh2; @@ -89,4 +93,8 @@ rte_reciprocal_divide_u64(uint64_t a, const struct rte_reciprocal_u64 *R) struct rte_reciprocal rte_reciprocal_value(uint32_t d); struct rte_reciprocal_u64 rte_reciprocal_value_u64(uint64_t d); +#ifdef __cplusplus +} +#endif + #endif /* _RTE_RECIPROCAL_H_ */ -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:31.024535500 +0800 +++ 0172-eal-add-C-include-guard-for-reciprocal-header.patch 2021-05-10 23:59:26.610000000 +0800 @@ -1 +1 @@ -From a6f88f7eb9ed077a02607cf9cd2b5101eda9f804 Mon Sep 17 00:00:00 2001 +From 9e520a5a7aad047b8d3bc479cbf0e88a3184dcd2 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit a6f88f7eb9ed077a02607cf9cd2b5101eda9f804 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org