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 2F78045E41 for ; Sat, 7 Dec 2024 09:03:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22C0A40613; Sat, 7 Dec 2024 09:03:22 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2047.outbound.protection.outlook.com [40.107.220.47]) by mails.dpdk.org (Postfix) with ESMTP id 92BDB40613 for ; Sat, 7 Dec 2024 09:03:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oiIIRYvyByZXNf/hQGZLHPUDPYTSM21wQcWPUGhJcihFqMXGVIZ4triadZEwe/NQQ5WyRfXY835X/Xw4uDJhy5hCj7Pd2aN4SqI+mbKWtEV6C2Z2tj+875bXSEQ50EAyYpUxEQlcL/1tQwaU4IqhtxXamqB13j0L+WpcY4j6peVNbeca68qc0+kzJJtTHZpKJRb4jjHL1+aRGammdMsj9yC3L7Sq4OddfvUzGUS/f9JvGYR1lISBOVMpeLw63zXIy/i6vA55q2gF1Rs3EDeJsPtLzOR9C4usw6KGdjk7kZR4Cvyuf95KwvgxrXKMWDljQjJJXs7Rkp2O/oFyf8KiMw== 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=Z85lj9tmm3L+3GY6co7y99b/DdhfJ599SnB/tHOFDm8=; b=smVy9glc7UGPP6u/QaxN3YE6MMnQwI61FsHdxYEw+MUT7TeP5FQ5aQTltO68M0R0WzO/vfJJDBZZdZ1bNX33twtkrSTpTZ3niLALJdmN66JQdu2F8f0kjLRGpN5ZMYWQQdlzvNwuI9splU5OLAcsHcMwxGzKYEFmsiO/4yz63faO92nMJthAw4RhTDTW78GtFuII/AjgNahRF5hMSP3ZDwqaTIeuueH+F0LfbPNyel8Y65WzWIozhMGVhAKoyyGUvQ6QVVlc/m5gzGbHZPBdldHePm9ZRzaUHSFwg9WIyHMBPBLoMPyi136J/kuMfVchwATna/SidJcdWvOkar1dDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=Z85lj9tmm3L+3GY6co7y99b/DdhfJ599SnB/tHOFDm8=; b=E5+s7Wo8xake/R0G9ywBk4wapPkERd4rEP4h44+8rStMYmtWCeHC3s+pIv0mDZ6M1WHCsUmTip6eg/+P+WCOg/RRSD8ykFRJi7DwvDyfN7HzTYQ9hYeKy68djLCg4WCX1eNBzFIF/KNpwZAJa0Ms7NsG6XwIfMmhguebYzuqZfyfduNs20IXXgaK1aj+pJnBAXNvy2AcMTSotwsQQw1RjHpcqjYMTPUE4ipyOPdccKS+HHS/V6CHLAqtoF5qCMiCrSyajNw5jXLR9CC3U7NxrnQYV9o6lYnR9kNGcwyukvacyLseg6FhtGIDHeNvM2PEW/+nBDr0pexjlApP8/aNwQ== Received: from PH1PEPF000132F8.NAMP220.PROD.OUTLOOK.COM (2603:10b6:518:1::29) by BL3PR12MB6402.namprd12.prod.outlook.com (2603:10b6:208:3b2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.24; Sat, 7 Dec 2024 08:03:15 +0000 Received: from CY4PEPF0000E9D7.namprd05.prod.outlook.com (2a01:111:f403:f912::5) by PH1PEPF000132F8.outlook.office365.com (2603:1036:903:47::3) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.12 via Frontend Transport; Sat, 7 Dec 2024 08:03:14 +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 CY4PEPF0000E9D7.mail.protection.outlook.com (10.167.241.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:03:14 +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; Sat, 7 Dec 2024 00:03:06 -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; Sat, 7 Dec 2024 00:03:05 -0800 From: Xueming Li To: Gregory Etelson CC: Xueming Li , Ori Kam , dpdk stable Subject: patch 'net/mlx5: fix indirect list flow action callback invocation' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 15:59:38 +0800 Message-ID: <20241207080055.488538-21-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-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: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9D7:EE_|BL3PR12MB6402:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e66cdcc-fca5-45dd-3491-08dd16959a19 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?pzXhR4vC4dg55Iuvi7K2VmovjvABFeXZypYuwhhgf7BnLWwtK6DyjJ6psYGa?= =?us-ascii?Q?VkjxkgYAPfZ07IBxsPSXSlNQW9/X58ffV972avHrQzJbu24S1CGeVkITsnOV?= =?us-ascii?Q?JTwBucTElD4c5q2NFEbthJ4nTmMDho4DmeCM68NBOlH68KXJruBLtMnhh6Qx?= =?us-ascii?Q?uoWsBL991mIzYnZOa+xkIN7AEEZHKCHkRUs4JlY60hc+viQAXDsze7vvfRYB?= =?us-ascii?Q?lITaMAWoLgwbjZsBi7mTeR7WnQlovxgPbxA2Swx97sbvqk244EarZw/Pszq5?= =?us-ascii?Q?PAQ1WOdq+Nb+yIl9139z4dkdxHs6mnRIcyacrStXmoUSJUQfoEt/21mn6HH1?= =?us-ascii?Q?x1zup0Q1u0lK0vs3VwR4w1rNBoogKXfaZ6/sGO7x158cxUSQxIqefhkGvk70?= =?us-ascii?Q?R98sR0Bt8+RMhkkSh8/n9D4twFehhT5gD0Slji72UOO+QTcd1rAeT46jEa/2?= =?us-ascii?Q?udQEKaeayh86EKf2+HWUhoNUNR8gXUXOpElJmxQs1e7CWBAp/CWVAC+okpUX?= =?us-ascii?Q?jiuVm2nijoEaD/Mcqt/S5BTbbr09Myj/KtWwmM0S5Aw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ceFhzLZhAtOTGAQpkb3YD?= X-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)(36860700013)(82310400026)(1800799024)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:03:14.6978 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e66cdcc-fca5-45dd-3491-08dd16959a19 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: CY4PEPF0000E9D7.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6402 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 12/10/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=933bc295be4f8cd04dbbbb204965fd999a50ef7b Thanks. Xueming Li --- >From 933bc295be4f8cd04dbbbb204965fd999a50ef7b Mon Sep 17 00:00:00 2001 From: Gregory Etelson Date: Mon, 28 Oct 2024 11:43:50 +0200 Subject: [PATCH] net/mlx5: fix indirect list flow action callback invocation Cc: Xueming Li [ upstream commit e53e4c39d2514667a7065cb0dd2d8fe3dcd843e3 ] Fix indirect action list callback parameter. The function must be called with a flow action to process - not with actions list. Fixes: e26f50adbf38 ("net/mlx5: support indirect list meter mark action") Signed-off-by: Gregory Etelson Acked-by: Ori Kam --- drivers/net/mlx5/mlx5_flow_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c index 5c611b03b9..0eaf38537a 100644 --- a/drivers/net/mlx5/mlx5_flow_hw.c +++ b/drivers/net/mlx5/mlx5_flow_hw.c @@ -3033,7 +3033,7 @@ flow_hw_actions_construct(struct rte_eth_dev *dev, (int)action->type == act_data->type); switch ((int)act_data->type) { case RTE_FLOW_ACTION_TYPE_INDIRECT_LIST: - act_data->indirect_list_cb(dev, act_data, actions, + act_data->indirect_list_cb(dev, act_data, action, &rule_acts[act_data->action_dst]); break; case RTE_FLOW_ACTION_TYPE_INDIRECT: -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:44.819232718 +0800 +++ 0020-net-mlx5-fix-indirect-list-flow-action-callback-invo.patch 2024-12-06 23:26:43.903044828 +0800 @@ -1 +1 @@ -From e53e4c39d2514667a7065cb0dd2d8fe3dcd843e3 Mon Sep 17 00:00:00 2001 +From 933bc295be4f8cd04dbbbb204965fd999a50ef7b Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e53e4c39d2514667a7065cb0dd2d8fe3dcd843e3 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index 804b58db5c..c13b5dc65c 100644 +index 5c611b03b9..0eaf38537a 100644 @@ -23 +25 @@ -@@ -3552,7 +3552,7 @@ flow_hw_actions_construct(struct rte_eth_dev *dev, +@@ -3033,7 +3033,7 @@ flow_hw_actions_construct(struct rte_eth_dev *dev,