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 B7B2AA034F for ; Wed, 10 Nov 2021 07:54:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A524940142; Wed, 10 Nov 2021 07:54:23 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2045.outbound.protection.outlook.com [40.107.244.45]) by mails.dpdk.org (Postfix) with ESMTP id 6F89C40142 for ; Wed, 10 Nov 2021 07:54:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b7YOiDtznaUWQ6ZBjDjdn9MQRDFDf+2FJYHRF9EvtDQHEwx2IZqBSXNOcYYSpf3tycJ37DBii/dmw/yKW9zXhE0h/Uev5ILEwCXyP4/4H0KWZQ7Db5YmeT2H18JlF9kEr1cpoBLIwgVNvsgrhbx17ZsGBZX2At4krSYzz1MBC1Y3Q3F4DOMMAbhljh/AooFfg2BnzPL3NXW9uieqwnlEwVaQAZKgx816Ay49dtGq4WRVMA4FwYeDGreMkkFgYD4BVlxcn33J+8UwbcSdWRMO+OJE5oQZ8RcAD927yUTv0aN3OcIn0WOy2Dn/xPr4DMxXICM8BsUqTP44Eewf92wMew== 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=mMDMrcXyov37YJWToL9j9X9XMheNpQE6q9Dqgz72zEg=; b=K6L10g2V48RwInbjNdeXoTShqEIPvIzkxSZ/TeQuZNTu1bUuZ/BK5h3oXjN6ld35rLIC+xLsoeA2kSnbWp3pLfrflWYSTCkFCQDVzyX86QjdcxcigZYAMy2+FTFqhwVvi3SWRLaRn6pK1Uta6/G+cEjAI4A+rIMfJUSst0BoYsCtMdpYl5Radh3qYTEf0LwYB9tXqk19I8CSu0AinluP0q6n7bOPiTSc9g/0NyWV2yKH2jhwjyfquEO+0ppeQG3Vy0vtIgi8+7o0v2uE28ov9LKKS7tL93X0OG/tukIAMwkH30s+7Q7EJH6gBN1EmlFE7KekXwZStaHtbX3omkXPNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org 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=mMDMrcXyov37YJWToL9j9X9XMheNpQE6q9Dqgz72zEg=; b=iv6aWqN7QMJJPDELKPVMlkVLyrr/yfpjQv0lGgMxGk5IJhxLPSOxEivr4P0le9gd7FJu7sjAjo/D5oBDpvulJfyVT0amPF1yAoz1rkrXiPxKXaYtFfSV0hzqvWYQ/1vmudEPsGdjPoEjzIBmP22fLvs6ZMpKhHkHjBVMaNzH7c/vWLPHuVk2uJaBtn84JStYz4eS+zfbwUsUKwEdJHJ8oMcrj70ddnSzdASGGnV0VGGH9aOF4LNZDWkGd3zux2Wau9w2x2IReLAaUrRBsIiiV80WZyr+98oeCheZo/BAw8rTPLFG00vQdmhOlGhhsnwakhfQew5a7RuHk5Jkut+1YQ== Received: from BN6PR2001CA0020.namprd20.prod.outlook.com (2603:10b6:404:b4::30) by MN2PR12MB4845.namprd12.prod.outlook.com (2603:10b6:208:183::32) 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:54:19 +0000 Received: from BN8NAM11FT055.eop-nam11.prod.protection.outlook.com (2603:10b6:404:b4:cafe::d5) by BN6PR2001CA0020.outlook.office365.com (2603:10b6:404:b4::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16 via Frontend Transport; Wed, 10 Nov 2021 06:54:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; 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 BN8NAM11FT055.mail.protection.outlook.com (10.13.177.62) 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:54:19 +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:54:17 +0000 From: Xueming Li To: Vladimir Medvedkin CC: Luca Boccassi , dpdk stable Date: Wed, 10 Nov 2021 14:31:19 +0800 Message-ID: <20211110063216.2744012-196-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: 21a43b4b-5b8e-499e-d269-08d9a416eb55 X-MS-TrafficTypeDiagnostic: MN2PR12MB4845: 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: l0bMZEecBj8gMcKhnM6bWiLDdpxZ29Wu570i2DLbo64VPAFSDbWy0XJqMaoK6gB88YrLQZLuMnCg7WxPsoHPj8gR98hsf6eUpKaNPidcVPqgvBEenkWoY3FnsJRQT724OzmX0lUHnQVHfUHigypyK1zaOj3Bn6ChQSEEPwXaIjNd5ubUSMJj2GtRxCRJ0EheRho9pi7A09eTCFFTkn6+KNGA/Pk1xVfufP+pMAADzimqXUQymtozV7qDBx/23tnib9HfUcTx9t06pwVpljL1W8m9mQRT0K7fCIOGiARpI5oV3o+DBO0LNcRQFTAVlmchT3wiYT1nBE4c1OTT4CUZZM271rvEPFBGSGa2UGUXdiexKlO6FZP8PKzog0N9FVpHaajAgLvo+8Gs/nfFyS7yNit48lt5AusF3YKbaOQv5Lz+akzBiRFFu9mhlPoKtoIbMA8TDBBCczujOfcPnfDqwaJ7BL2FbCqO80fulR2rcbA3PXY9oPvS4tRECi1gMf9o/DU62E7fi0yV8xV2wcd78FYrQgndA4YUoKHyaT2lC3d1CWNB+oXP4YscGxby+bOHYLdbB++O9oOoSK1Hj/g/NVwEIQ9ZNqhx7dRAWmT6RcCrV4gIa0ZKPoh01gyjpqVhx+jDqFrm663u2kqV33l5xehWCDRJNjJPMxDsPPf2BzBLOpXF5atZQaC4Hh+X4Ohm6QeYQCRWsXSoUZAr+KR0Gwy+E5nW5/K6rQdpd6elNL2UgwQKkYtYVtaM5S/0FVdp5ScYSyHTQfIt++Z02SDpxEL1M83CaaFzA4YvTXrkVmYvcdrflCHLZ6yj1bF5RRacSDKnr74HllhWCbjw/Wi7Xw== 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)(36756003)(70206006)(54906003)(83380400001)(70586007)(508600001)(7696005)(966005)(2616005)(82310400003)(26005)(426003)(2906002)(5660300002)(356005)(6286002)(7636003)(16526019)(186003)(6916009)(8936002)(316002)(8676002)(36906005)(47076005)(53546011)(36860700001)(86362001)(336012)(55016002)(4326008)(4001150100001)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:54:19.2452 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21a43b4b-5b8e-499e-d269-08d9a416eb55 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: BN8NAM11FT055.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4845 Subject: [dpdk-stable] patch 'rib: fix IPv6 depth mask' 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/8d7d90985b8ea7f56eb15ee6454c2d409b9a6add Thanks. Xueming Li --- >From 8d7d90985b8ea7f56eb15ee6454c2d409b9a6add Mon Sep 17 00:00:00 2001 From: Vladimir Medvedkin Date: Mon, 6 Sep 2021 16:54:32 +0100 Subject: [PATCH] rib: fix IPv6 depth mask Cc: Xueming Li [ upstream commit 97e2ae4c58f9c8741ae920415e4c3952373ecb51 ] Fixes: 03b8372a9a73 ("rib: fix max depth IPv6 lookup") Signed-off-by: Vladimir Medvedkin --- lib/librte_rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_rib/rte_rib6.c b/lib/librte_rib/rte_rib6.c index 96424e9c9f..b00c7fbf5a 100644 --- a/lib/librte_rib/rte_rib6.c +++ b/lib/librte_rib/rte_rib6.c @@ -88,7 +88,7 @@ get_dir(const uint8_t ip[RTE_RIB6_IPV6_ADDR_SIZE], uint8_t depth) * is incremented in blocks of 8 (1 byte). This means the last * 3 bits are irrelevant to what the index of ip should be. */ - index = (depth & (UINT8_MAX - 1)) / CHAR_BIT; + index = (depth & INT8_MAX) / CHAR_BIT; /* * msk is the bitmask used to extract the bit used to decide the -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:10.561067618 +0800 +++ 0195-rib-fix-IPv6-depth-mask.patch 2021-11-10 14:17:02.004078333 +0800 @@ -1 +1 @@ -From 97e2ae4c58f9c8741ae920415e4c3952373ecb51 Mon Sep 17 00:00:00 2001 +From 8d7d90985b8ea7f56eb15ee6454c2d409b9a6add Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 97e2ae4c58f9c8741ae920415e4c3952373ecb51 ] @@ -7 +9,0 @@ -Cc: stable@dpdk.org @@ -11 +13 @@ - lib/rib/rte_rib6.c | 2 +- + lib/librte_rib/rte_rib6.c | 2 +- @@ -14 +16 @@ -diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c +diff --git a/lib/librte_rib/rte_rib6.c b/lib/librte_rib/rte_rib6.c @@ -16,2 +18,2 @@ ---- a/lib/rib/rte_rib6.c -+++ b/lib/rib/rte_rib6.c +--- a/lib/librte_rib/rte_rib6.c ++++ b/lib/librte_rib/rte_rib6.c