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 44F6D45CE3 for ; Mon, 11 Nov 2024 07:35:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3703A40685; Mon, 11 Nov 2024 07:35:51 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2059.outbound.protection.outlook.com [40.107.100.59]) by mails.dpdk.org (Postfix) with ESMTP id 0F62D40685 for ; Mon, 11 Nov 2024 07:35:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vWkktsHqJ1UtVNUvy21nMvO9F7GWsR3IBqKQSg2aKfb2VtgP9TAJDkGRNPsvAaSTFZus0dy9yNOR5GL20Yln57UbSIabm9nBFEhjDa61WbzMHFKqo4hBJ07BjorNHXVdhTAc+OQ7qVzcGuHzqdfEByu4+BKOHL+SS8hjf6QNF2jyZVwcN4PIG73MQiBIxzhN0e69Y4in4CEQpegN3V9Ru+Jglk0yVEVJu3zbZipvknNvNoDHZCaCouOuxojGVW3FcTYoY0lo8L0D4m/8vaWJJ/5cL1s5TO3iELLgpFg/9nows8YhkbJPf5YB94jpMLZtbiWui63i7GV/uDE869/olQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=xbSG2wOX9F0RTp5+9UHon3sbAXwKm/Nj0/3GCCfD9xw=; b=nw6I+S88z4Ee6NdnDJb/QTjoKPY9DIapIpSVCbAhRAvdo4IFVj1HZi5Vfr/nktejBcdL6nxY00aLmk1EewCzB6UaJbcCddJIvJGvNuitPWKWc+rPJUGYojVQbd5vHDlct6zErf8Pec/BjY6sZLHF3zagnpBYd5tutnJIRbi/5LdEl6+Q7h5vzBMUyOLe+y6TttafnQoPGBr4frK5NbzcqLd0KzN7qpnckKeb2Fif1Cn53/wHmSFR+bTLLy8h6alNwki1Bi8lvZstAGGbIvNPvrU3idLfkpFAaBsLzE5mjltr+oUczsB7zEiEnVR7lqwXJy9vXbrzIpwej0GJ8u0yXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=intel.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=xbSG2wOX9F0RTp5+9UHon3sbAXwKm/Nj0/3GCCfD9xw=; b=S7mt1NY7jRrlgegvsM+7COgn8Znq7NFPPNgW6ywHvWXwkPiFeho/J3OuwBv73kY+vPZ8GXdrKB5Cckiv7m7ALgAmOciBNFBqQ/PmOCvWJPn77ro10FzvZn4MD89gOWfIFvWaMXV40AGvtn91aa0Roci9xkBO196iUfxi4p7WsGfhZyCVteeLSXOSczvJ5w3qEtuYr1sxzWbJsSwh0E1qLkX08V4h79UHfKbmU2pg3Rho91FQUo29Zj8rCBMZeKQ5bWyke27Yw0IkQcZD+qt/5tXFLGoYhFPLfe9A1iHVc6/g6eWSWugJ9t7tufFF1Og2XI6egeX3tuYKh2PgPaLZrg== Received: from BN9PR03CA0788.namprd03.prod.outlook.com (2603:10b6:408:13f::13) by BN5PR12MB9488.namprd12.prod.outlook.com (2603:10b6:408:2a9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.26; Mon, 11 Nov 2024 06:35:45 +0000 Received: from BN2PEPF000044AB.namprd04.prod.outlook.com (2603:10b6:408:13f:cafe::3f) by BN9PR03CA0788.outlook.office365.com (2603:10b6:408:13f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27 via Frontend Transport; Mon, 11 Nov 2024 06:35:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN2PEPF000044AB.mail.protection.outlook.com (10.167.243.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.14 via Frontend Transport; Mon, 11 Nov 2024 06:35:45 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 10 Nov 2024 22:35:28 -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.1544.4; Sun, 10 Nov 2024 22:35:26 -0800 From: Xueming Li To: Artur Tyminski CC: , Anatoly Burakov , "Bruce Richardson" , dpdk stable Subject: patch 'net/i40e/base: fix DDP loading with reserved track ID' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:27:50 +0800 Message-ID: <20241111062847.216344-65-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241111062847.216344-1-xuemingl@nvidia.com> References: <20241111062847.216344-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: BN2PEPF000044AB:EE_|BN5PR12MB9488:EE_ X-MS-Office365-Filtering-Correlation-Id: be6195b7-5eaf-4c13-83c2-08dd021b1280 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?5ypCL6HFnyerRbpteMC06qgbRaDsXpbdBco1C5Ai4czhxt6SQPCX6ttTGsIC?= =?us-ascii?Q?vA7P9k8WDTmsDFNI8908dUFuUqNO91XaVpS4lqOwJW+eLFIKxNl7PhC+V2Yv?= =?us-ascii?Q?iFhDAvSWMYjWEnM2WuGeq4pka0Gwf3Z7q4Xm0MgOJ5mkKh9dShZ6Ucjfgb37?= =?us-ascii?Q?NNzJOM6254qZ4r9KjjkQorFhdAQ2xefSCKtra8JYvl6wyh7DxVGjg3r/IUMs?= =?us-ascii?Q?gPZrykRstdVS1jJbtL2JYnpiawk8qFdtiMRHHrLQ2EzhfCEqwtKVy8+6QFWe?= =?us-ascii?Q?d1MbvJ6dRjPToXfsBy1jG0tJ9t7rinv3TaMEXW938tglIMxIHVPEJ10KqyuA?= =?us-ascii?Q?P02aPX9ckbftdTcS4pxYbuEUYL/IBx8e78Zs85yjfCWvXOItS5C1eMGOujG5?= =?us-ascii?Q?g/ny7dBdIcudfSfguR1ZOcqlTswqwChHyIV5xvq4PLhe0FCnGTGyOnV2tezm?= =?us-ascii?Q?6eJDLyaTZi3Hn50Y6wd8kCmHBWtDKkUTHNFiMXMOHIqDKug0eEHBk21SWukE?= =?us-ascii?Q?Hp+GI35Gc/ngoDAI6zgQhl1Lil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Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(376014)(36860700013)(82310400026)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:35:45.2231 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be6195b7-5eaf-4c13-83c2-08dd021b1280 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF000044AB.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN5PR12MB9488 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.3 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/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=77d7459a65fb61be0f040a9ce78ae63d360e4f4e Thanks. Xueming Li --- >From 77d7459a65fb61be0f040a9ce78ae63d360e4f4e Mon Sep 17 00:00:00 2001 From: Artur Tyminski Date: Mon, 2 Sep 2024 10:54:26 +0100 Subject: [PATCH] net/i40e/base: fix DDP loading with reserved track ID Cc: Xueming Li [ upstream commit f646061cd9328f1265d8b9996c9b734ab2ce3707 ] Packages with reserved track IDs should not be loaded, yet currently, the driver will only check one of the reserved ID's, but not the other. Fix the DDP package loading to also check for the other reserved track ID. Fixes: 496a357f1118 ("net/i40e/base: extend processing of DDP") Signed-off-by: Artur Tyminski Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- drivers/net/i40e/base/i40e_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index 243c547d19..4d565963a9 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -8168,7 +8168,8 @@ i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, u32 sec_off; u32 i; - if (track_id == I40E_DDP_TRACKID_INVALID) { + if (track_id == I40E_DDP_TRACKID_INVALID || + track_id == I40E_DDP_TRACKID_RDONLY) { i40e_debug(hw, I40E_DEBUG_PACKAGE, "Invalid track_id\n"); return I40E_NOT_SUPPORTED; } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:08.250022976 +0800 +++ 0064-net-i40e-base-fix-DDP-loading-with-reserved-track-ID.patch 2024-11-11 14:23:05.162192839 +0800 @@ -1 +1 @@ -From f646061cd9328f1265d8b9996c9b734ab2ce3707 Mon Sep 17 00:00:00 2001 +From 77d7459a65fb61be0f040a9ce78ae63d360e4f4e Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit f646061cd9328f1265d8b9996c9b734ab2ce3707 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index a43b89aaeb..693608ac99 100644 +index 243c547d19..4d565963a9 100644 @@ -25 +27 @@ -@@ -8048,7 +8048,8 @@ i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile, +@@ -8168,7 +8168,8 @@ i40e_validate_profile(struct i40e_hw *hw, struct i40e_profile_segment *profile,