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 D12E145E41 for ; Sat, 7 Dec 2024 09:06:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9B5440281; Sat, 7 Dec 2024 09:06:12 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2049.outbound.protection.outlook.com [40.107.94.49]) by mails.dpdk.org (Postfix) with ESMTP id E3FD740281 for ; Sat, 7 Dec 2024 09:06:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HUNeEui6fbbxPlcWP7A25Ld/+ui7oiH3PprDOeyvYEe64dM4ztUWU0ff6NZdyzRoa1kf/eD202gsPDV8E++hVABtwlYDpujfN9a1yXLCqEWc7b8bdj9sUjI+2a1OoA8uSUasQGzoQ0ieLAuDIWYdiYnGEH+r7H711NEL/zKM1Jw9Guc/x+i3R3CvDSKxv4npQnrXtapZ7Y0/VcySUw3NkFZtNhXaDMC9U3Kcdcg/qWejx+zYX84o97tZW8BsZQB/gQf54KjQCw2aUzil37KylTxz2fYMNLG/uOAT5XPBUjqVtfOq49QYJFUDRc3awEoTdQqP0czt20uwpmly+bb+pA== 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=kEBWRnBNCn77+f6XjSYZDk3Cuj//5DubjWiPE30savU=; b=avxNr7d3hvzv5yuz7ih8UvcHpw1BqIeHpFFvO5jSWGxwI22KCkYGzccszUUjeT+hr2kTvblTnYMRxfYl60K7zVA3ygTcDamr5rQ8+6OE05Rg/1Qox439NSYG5LBoIYssn8GqaPfaQ9sOLXe3+QO831H3b/aspO+dHBC7YtzJyQKL1gUenDKov6IMqVYxxCViaKYKZtDtG775LpMoE4jiwrIhxxbKywo1WgNan6ZryvQ22DtUZB6wD4uXwH5dY+EWBzdoaBMindp//SOHNpnrx4iUQPCOTuRQikR9/lsvP//2RkEelJjwL5uHNrDqqLeOUp3NIyySrLQh+zZy+Ch87A== 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=kEBWRnBNCn77+f6XjSYZDk3Cuj//5DubjWiPE30savU=; b=Xd5g4pG8gEI1w06W63Yzcxz//NV13KBASKgOBFS+Ct0K0ogFcABFYlk4ep+pv/X9RCuJKqKnw8fDzCQmsUnI7OdfRvODR1sSYEoQ4mQRtch4v7bIlMC9E+NSHMU/6h0m1ri1xw/lLOx1lS+Cc5tkrPMJqBymeWEezLH/b8GpNv0UNDDDwIe+jFQfEC0ndccXPpqAq+JA30XCQ98yQ2LWfpe3cZhxw47tfDPzGqQDV+7I2qdgcgMeXtfLoS5Mc1jWBMxpq9c5gMDzPWYTsQEQ/sMnNdANDJ9KHhqQoHPsDU9zEc50nIbVE6QsLlUx/eScbZxZyNPzZZsvou9bXJX/qg== Received: from BN9PR03CA0130.namprd03.prod.outlook.com (2603:10b6:408:fe::15) by MW4PR12MB6730.namprd12.prod.outlook.com (2603:10b6:303:1ec::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.17; Sat, 7 Dec 2024 08:06:07 +0000 Received: from BL02EPF00021F69.namprd02.prod.outlook.com (2603:10b6:408:fe:cafe::af) by BN9PR03CA0130.outlook.office365.com (2603:10b6:408:fe::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8207.15 via Frontend Transport; Sat, 7 Dec 2024 08:06:07 +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 BL02EPF00021F69.mail.protection.outlook.com (10.167.249.5) 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:06:07 +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:05:54 -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:05:52 -0800 From: Xueming Li To: Praveen Shetty CC: Xueming Li , Bruce Richardson , dpdk stable Subject: patch 'net/cpfl: fix forwarding to physical port' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 16:00:08 +0800 Message-ID: <20241207080055.488538-51-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: BL02EPF00021F69:EE_|MW4PR12MB6730:EE_ X-MS-Office365-Filtering-Correlation-Id: 137c66c8-77cc-4d8a-1956-08dd16960106 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|36860700013|82310400026|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?TXIPVWG/08MSMA+jtSXZKW8RNa1AWu3DROHyUg5ADEEi8lDhhQMiP9QLa+lN?= =?us-ascii?Q?q/GsEHMAM3ARQQ3gniTHZBi8vrTFYW90t9y+xYKsQSnTB17fcQEtRMPewfbw?= =?us-ascii?Q?7pGelSnaWNbazoffBA90sci+cpoad2gfdgX5OL3vXiXlI/zkIdXLRyHV90/e?= =?us-ascii?Q?/S6SmRO7J04c7L+IfKDpVlcjnP8cj2zOh8HYwl8EJsXFFlJdpfoep6h+ZkhN?= =?us-ascii?Q?+Y232U/h3hj/DBSKDUBkS3Z7Keirbt1YFUjA+/224/tgZngvw+f00Su+J1+M?= =?us-ascii?Q?UQNZ/FV9qehuNGVuz9W2t8yuBmwKJoAdjqgK3tudPV5RW4DYuHRi+O5AKdps?= =?us-ascii?Q?kN7CIbrMmAcZ3wl3Qb1vl9yRFNV5mAixtG4w1ZZ2dPCKFLLVTo+UVs8hLnDM?= =?us-ascii?Q?7ovayKw/iokuG3wLYKLbA+oXFMR8zNeNhlcyLoAu9wmOosuffke8vHzNzgaF?= =?us-ascii?Q?J67LYTGesm376vBvgbftwd5htChUl6H4AvgXibmBaVRbqBo7rr7s4IGuWNEJ?= =?us-ascii?Q?+W3usWf28FHRn6ZLhdextyeaRAIgIQxx8d8DyppJ9HpFza6Z7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7S?= 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)(376014)(1800799024)(36860700013)(82310400026)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:06:07.2529 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 137c66c8-77cc-4d8a-1956-08dd16960106 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: BL02EPF00021F69.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6730 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=7230a4907ce03886a03a36a76a7e105da1f1af14 Thanks. Xueming Li --- >From 7230a4907ce03886a03a36a76a7e105da1f1af14 Mon Sep 17 00:00:00 2001 From: Praveen Shetty Date: Fri, 8 Nov 2024 11:09:23 +0000 Subject: [PATCH] net/cpfl: fix forwarding to physical port Cc: Xueming Li [ upstream commit b0e6aff62efa4bcc23f64b80b91709bef73e6d79 ] CPFL PMD should be able to support below traffic forwarding capabilities based on the rte flow action types. 1. Forwarding the traffic to the local CPFL vports using port_representor action. 2. Forwarding the traffic to the physical IO ports using represented_port action. 3. Forwarding the traffic to an IDPF VF using represented_port action. The 2nd use case, forwarding the traffic to IO ports using represented_port action, is not working due to the additional check added in the previous patch (861261957684 ("net/cpfl: add checks for flow action types")) This patch removes the incorrect check to fix the issue. Fixes: 861261957684 ("net/cpfl: add checks for flow action types") Signed-off-by: Praveen Shetty Acked-by: Bruce Richardson --- drivers/net/cpfl/cpfl_flow_engine_fxp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/cpfl/cpfl_flow_engine_fxp.c b/drivers/net/cpfl/cpfl_flow_engine_fxp.c index 9101a0e506..56a9a85345 100644 --- a/drivers/net/cpfl/cpfl_flow_engine_fxp.c +++ b/drivers/net/cpfl/cpfl_flow_engine_fxp.c @@ -298,11 +298,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf, PMD_DRV_LOG(ERR, "Cannot use port_representor action for the represented_port"); goto err; } - if (action_type == RTE_FLOW_ACTION_TYPE_REPRESENTED_PORT && - dst_itf->type == CPFL_ITF_TYPE_VPORT) { - PMD_DRV_LOG(ERR, "Cannot use represented_port action for the local vport"); - goto err; - } if (is_vsi) dev_id = cpfl_get_vsi_id(dst_itf); else -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:45.757898007 +0800 +++ 0050-net-cpfl-fix-forwarding-to-physical-port.patch 2024-12-06 23:26:43.953044828 +0800 @@ -1 +1 @@ -From b0e6aff62efa4bcc23f64b80b91709bef73e6d79 Mon Sep 17 00:00:00 2001 +From 7230a4907ce03886a03a36a76a7e105da1f1af14 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit b0e6aff62efa4bcc23f64b80b91709bef73e6d79 ] @@ -25 +27,0 @@ -Cc: stable@dpdk.org @@ -34 +36 @@ -index 0101c30911..689ed82f18 100644 +index 9101a0e506..56a9a85345 100644 @@ -37 +39 @@ -@@ -301,11 +301,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf, +@@ -298,11 +298,6 @@ cpfl_fxp_parse_action(struct cpfl_itf *itf,