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 7BFCF45CE3 for ; Mon, 11 Nov 2024 07:40:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 746334067A; Mon, 11 Nov 2024 07:40:18 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2040.outbound.protection.outlook.com [40.107.212.40]) by mails.dpdk.org (Postfix) with ESMTP id 0B5A94067A for ; Mon, 11 Nov 2024 07:40:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K1my+/rsN4rlAtDwgRUfJewWjSsOXh5mafaoTfCBEqwN5m/GjS7688mk88fSJbIrPdeazpgZ9VP5V0vyqy6eqnizloJHhqFdSJy+M4TSFy0LahPXbL16toYxRZxGH8M4vEAvT2hCLob1uc/HEhTg8Ynv3tZkwAUwrBWkfYEOLy9kEluT1dHfncrbP5SCAT7HAkMcvJ/DmixYKFoyNd+gz3PtvR67S8eAY5XdEUgnTG0/Imc6OzlCm5tbGF0t5TZyrDA3diHiBQ89qWzhfSY/ytLSImYjdAtGB1RQSxX/oiSL9YY2GC9XMlkvIEv8lh4wsPt+5OzFcZEIQazT53umug== 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=tX5P/Qm8J4vhlMju7dVcv3ivt0vjtChPnxE15DxWnKc=; b=wCbOrTFM7GsOZlvTG1NTtUedQ33W985KGXCtkj0kly1UaOo1KKFpA3teKB6FOmQAtMG8azKBTpokoLuHc3pVry0TVmZUNe7zzwVwbu/9ZD+BjqLSOcKAMLBy7gZMfDwrGsC6To8pcL44++h+W7Rvmxr8S2lDcmQ7cuas7PRiCznLNmvcnG7WZB+3ibDakmZKHK0ei8SmhvdNyBpKbLKZnzmtCTZoR7szgiQXSGhkyKGiTBBwN0GPsQy6X7QLPMICtPOvkcTFNERldaUBjo//Z5cFog3bCKVBJ/ikAEwM9g//I+MwjGLJFMEJKtpx2FuEfKsWaXmEmLvID8CpKYwnSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org 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=tX5P/Qm8J4vhlMju7dVcv3ivt0vjtChPnxE15DxWnKc=; b=bsBYkihHw9CQuvF1/PR7lP8HokYbP0MtHehKQSK/7NLmsVI1o5+A0doRR4TRkkJlCX/w8/A7T8VT2iydzeRQPyjsGLYGOA/fbt60KKwkvUwMwhH9wqhVZHjNtatFkS9xM2NRr2KF8aE/gRDIV/PUAv27fQzHTZYTbnHBWkdISJjoNyyJwvKUP0y+FU/h6lPMES0GjB4t/w2N0Pn15CWADOJbbm6PgPbZVL/pHJpzss43ezIrlBBO1hhG9hmffpiOaIm2Ujup4cAeyNkcNCz7lKknlYRTjmobftXhjLBZ2w6GzN8ngPQqO7jtrHfJE4niIKKSpkJaPBMrLbH0BhEXtQ== Received: from SA1P222CA0066.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:2c1::21) by SA3PR12MB7949.namprd12.prod.outlook.com (2603:10b6:806:31a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.20; Mon, 11 Nov 2024 06:40:14 +0000 Received: from SN1PEPF0002636D.namprd02.prod.outlook.com (2603:10b6:806:2c1:cafe::8c) by SA1P222CA0066.outlook.office365.com (2603:10b6:806:2c1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28 via Frontend Transport; Mon, 11 Nov 2024 06:40:14 +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 SN1PEPF0002636D.mail.protection.outlook.com (10.167.241.138) 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:40:14 +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.1544.4; Sun, 10 Nov 2024 22:40:03 -0800 Received: from nvidia.com (10.126.230.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:40:01 -0800 From: Xueming Li To: Viacheslav Ovsiienko CC: , Dariusz Sosnowski , "dpdk stable" Subject: patch 'net/mlx5: fix number of supported flex parsers' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:28:34 +0800 Message-ID: <20241111062847.216344-109-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.230.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: SN1PEPF0002636D:EE_|SA3PR12MB7949:EE_ X-MS-Office365-Filtering-Correlation-Id: 33f90009-d70a-4d88-ef92-08dd021bb2bd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?vA3zQoJ/TieVhf+deZwA7LyczJRM9S7KjRtjTmEzKRKCxJfo/2jiLW77Yaum?= =?us-ascii?Q?OOvNvpMkLBi3gsUX2cTlUGj5jPfnux0JnU70Y6wuOKiFeZaKhE/nZm62ynTL?= =?us-ascii?Q?dsgyEZ71CACHZrqJLxYBVHgKr1ZUeCYbptcaBWzjWHP1wpkKTaT0VUxZbmn+?= =?us-ascii?Q?JICnBMcEl+nhLs4Uqzrmx9G460nMMi/kuQSweewkg5GsbiI27bpLW2zXCxSn?= =?us-ascii?Q?OmK9cD+9Su0pWeP/AZKjVX6mn9LPX+tY/XGJOnPuJOFEzqOSnkGHTbMKS16D?= =?us-ascii?Q?h3C0zFmsXYNjNubwdfqkjaqE7a3fRx//T9/wAvnpKHqIqGzobEUw0gh92FYz?= =?us-ascii?Q?2QDgWQKXu0FO+O5eYZ+tM9MPJBA0xr9d5NJKaFBP2P7MfXaatsc3q8qdpgYq?= =?us-ascii?Q?lKRcPbqYFcyuQ58TToLbSfMPankxif3ZLz0qKkx2KSX7mZq7w+2tCVva6cHU?= =?us-ascii?Q?9GcrWGwAbchuDf9/sSW9ptIeDbO3F297TJc8ScHSxWqCD5k2qlhSs0oJwElh?= =?us-ascii?Q?PVi0EJvF24j4q7mNM4UVhbcT8hP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ront-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:(13230040)(1800799024)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:40:14.1236 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 33f90009-d70a-4d88-ef92-08dd021bb2bd 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: SN1PEPF0002636D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7949 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=2ab85e98b8bf7c5e6f56d85a9e40f97106da4550 Thanks. Xueming Li --- >From 2ab85e98b8bf7c5e6f56d85a9e40f97106da4550 Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Wed, 18 Sep 2024 16:46:19 +0300 Subject: [PATCH] net/mlx5: fix number of supported flex parsers Cc: Xueming Li [ upstream commit 16d8f37b4ebb59a2b2d48dbd9c0f3b8302d4ab1f ] The hardware supports up to 8 flex parser configurations. Some of them can be utilized internally by firmware, depending on the configured profile ("FLEX_PARSER_PROFILE_ENABLE" in NV-setting). The firmware does not report in capabilities how many flex parser configuration is remaining available (this is device-wide resource and can be allocated runtime by other agents - kernel, DPDK applications, etc.), and once there is no more available parsers on the parse object creation moment firmware just returns an error. Fixes: db25cadc0887 ("net/mlx5: add flex item operations") Signed-off-by: Viacheslav Ovsiienko Acked-by: Dariusz Sosnowski --- drivers/net/mlx5/mlx5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h index f48b58dcf4..61f07f459b 100644 --- a/drivers/net/mlx5/mlx5.h +++ b/drivers/net/mlx5/mlx5.h @@ -69,7 +69,7 @@ #define MLX5_ROOT_TBL_MODIFY_NUM 16 /* Maximal number of flex items created on the port.*/ -#define MLX5_PORT_FLEX_ITEM_NUM 4 +#define MLX5_PORT_FLEX_ITEM_NUM 8 /* Maximal number of field/field parts to map into sample registers .*/ #define MLX5_FLEX_ITEM_MAPPING_NUM 32 -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:10.153862138 +0800 +++ 0108-net-mlx5-fix-number-of-supported-flex-parsers.patch 2024-11-11 14:23:05.312192836 +0800 @@ -1 +1 @@ -From 16d8f37b4ebb59a2b2d48dbd9c0f3b8302d4ab1f Mon Sep 17 00:00:00 2001 +From 2ab85e98b8bf7c5e6f56d85a9e40f97106da4550 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 16d8f37b4ebb59a2b2d48dbd9c0f3b8302d4ab1f ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org @@ -25 +27 @@ -index 5f7bfcd613..399923b443 100644 +index f48b58dcf4..61f07f459b 100644