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 7F09E45635; Wed, 17 Jul 2024 14:37:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D78B40289; Wed, 17 Jul 2024 14:37:09 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2062.outbound.protection.outlook.com [40.107.237.62]) by mails.dpdk.org (Postfix) with ESMTP id 5BAEA40261; Wed, 17 Jul 2024 14:37:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gDLAC6h/r/zz6EvzbgfE2qUdHlQA4h9VWVhF2AfBPlsrLrIU1G8i9SKfZT8R9TQ92ukL+rhh7fl7DxAhHxf04LDYTafFpTfJSIw9UihBtfuKr493Z5upFiV5Me9gqN0B0ds3Q9P8E9t89j+0+BgFlySDCvUbAzCa9t/2JfGSqqytqj1GYOD3pl10C4Wmk/5lqtNgeSmbojSrmvO9vvjnpVm35ba8DEb8iY/5NJby6Q0Nt+ZDwagtYigdP0jqYqE1m4PGYd7xIJO8+rk3ApRqqgP/T3TPgCBU2h5h5u0iENXHHu1xroyqCQ/zHOaKnAIPrwNypK3DGFQYCHd9vqbuJQ== 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=qZNOfxN1gqg9xODqAPZZX3gBemaBS//hoqNE4mC0LUM=; b=B9EfSi5sCab6Abj8Qvq+hERb+CA4DFKGaszVo7QD9l6MjQPeWbnFK2mjq6bSgMl94IlPL/6xv0YgtVAPpyYZpd4NrP56utx7n8xYlZCFTHBmg+S7vNcIkJc+XOL9lQPlyTzBvxmlXt0aEkCu9IT3gcdEhIsHYQ44ha9cwK+PI3ykc/U0WOdSiRjfxSfboLcXTUH2OZNwRWlDyccf44Ha7pd6PdBlfMUPSaDGLhXD+Beii053Vv1DzHbFQl6gUz+ZTQsoeA4I3xV8vyhGPq7vHNjZRw9cshag0r9U0UQaahM3iLUi+rJMXSaUacOPI9hjiHDFWiSFd3Gxd67yDCH/BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.232) 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=qZNOfxN1gqg9xODqAPZZX3gBemaBS//hoqNE4mC0LUM=; b=FWJxo3TmBHXpgpwS4AQ99mMKR7gb2Ym3GRoJggsuBo0aiUas3hbGd9dWi84B4xKUV0eXL9AOUMh7AKmVDp2V3hV0PD69tweTH0vYu1M2eykYdpHuCips9u+0hbWvWbcaTiccLgAgAKcHt+pbQOuT01isQ8X/V+sYYuQlvPZUrCWZUJuPUvkwHGFRvnbVds7qZPEgO4NMo2VKfuEUyf99+/cm0Qsc9uIWBit6RxEbTa/qYzU5qEyS6NAJq5iv20iud5c9HX0Vf1io6Z2bwns1AeAZ4Uc+jIw5GVgl1zHE3VgLrVCBmSqLVtujeynlRcNaYCA8xLcXWkSPlet+k3f0GA== Received: from BYAPR07CA0052.namprd07.prod.outlook.com (2603:10b6:a03:60::29) by CH3PR12MB7617.namprd12.prod.outlook.com (2603:10b6:610:140::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Wed, 17 Jul 2024 12:36:43 +0000 Received: from SJ5PEPF0000020A.namprd05.prod.outlook.com (2603:10b6:a03:60:cafe::32) by BYAPR07CA0052.outlook.office365.com (2603:10b6:a03:60::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.28 via Frontend Transport; Wed, 17 Jul 2024 12:36:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.232) 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.118.232 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.232; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.232) by SJ5PEPF0000020A.mail.protection.outlook.com (10.167.244.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.11 via Frontend Transport; Wed, 17 Jul 2024 12:36:43 +0000 Received: from drhqmail202.nvidia.com (10.126.190.181) by mail.nvidia.com (10.127.129.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 17 Jul 2024 05:36:33 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail202.nvidia.com (10.126.190.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 17 Jul 2024 05:36:33 -0700 Received: from nvidia.com (10.127.8.14) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4 via Frontend Transport; Wed, 17 Jul 2024 05:36:30 -0700 From: Maayan Kashani To: CC: , , , "Dariusz Sosnowski" , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad , Alex Vesker Subject: [PATCH] doc: document mlx5 HWS actions order Date: Wed, 17 Jul 2024 15:36:09 +0300 Message-ID: <20240717123620.245635-1-mkashani@nvidia.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF0000020A:EE_|CH3PR12MB7617:EE_ X-MS-Office365-Filtering-Correlation-Id: fe698f44-271f-4f54-d887-08dca65d1d25 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?RMDR6xDJePMJWUvoXqFKT/hmGxHQ5OwZyO98WYRZesanbXdWI592u46Um1a8?= =?us-ascii?Q?l7rTK7x22QEv0jcv6QK4H6Wpl4K/BUJXTFOj30hWc6jf6uc+ZnrebVPoVE/V?= =?us-ascii?Q?fY6l3DShB+6mgcatHH9ab2gyfQAX2ChyITAZ17JIL3vEsQvYHSDycQFVXCuC?= =?us-ascii?Q?A+RjLE16GUkHhdIYpYgUD+9SPGwN3AEfye8HQc8LdZA2EhUbw/N8KBh4aYfo?= =?us-ascii?Q?ly8Opwp1HW8bW11coDhNcSLzkI3BZYu2KHV1qjtKn8XwEyChxI/c5CaeSwV8?= =?us-ascii?Q?UkcoZfVVIcbF68cUbWUzvMvahS76y8jWwZyUiEHbF4T5be3S42E8d8ycNvMw?= =?us-ascii?Q?J4wYDLV/VckMN9od4yxd/m4aBpPM+40d4HphgQBlWr3xtuILSvkqjQQJPPPu?= =?us-ascii?Q?9ZEL6XTff23K4kpWgHcTqyGXW1w3YtiSQ58BwyTUCHpkv34WBD2HYfBVe2LB?= =?us-ascii?Q?1of97io+gu/EnDsb95RaZrM6vvuGxs2JTVu0RdyAI79vtwL7LWGBYdV8JJ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FyejmvvzrwWHSbSEpNoy3yVDei615Yc/XQ?= =?us-ascii?Q?+GzfjVjyeOSleyRIGhbBVhZAbEJcYrbE?= X-Forefront-Antispam-Report: CIP:216.228.118.232; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(82310400026)(1800799024)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2024 12:36:43.0487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe698f44-271f-4f54-d887-08dca65d1d25 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.232]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF0000020A.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7617 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Add actions order supported in mlx5 PMD when HW steering flow engine is used. This limitation existed since HW Steering flow engine was introduced. Fixes: 22681deead3e ("net/mlx5/hws: enable hardware steering") Cc: stable@dpdk.org Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- doc/guides/nics/mlx5.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 43fc181d8dc..01f6f7aa6ab 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -251,6 +251,25 @@ Limitations IPv6 routing extension matching is not supported in flow template relaxed matching mode (see ``struct rte_flow_pattern_template_attr::relaxed_matching``). + - The supported actions order is as below:: + + MARK(a) + *_DECAP(b) + OF_POP_VLAN + COUNT | AGE + METER_MARK | CONNTRACK + OF_PUSH_VLAN + MODIFY_FIELD + *_ENCAP(c) + JUMP | DROP | RSS(a) | QUEUE(a) | REPRESENTED_PORT(d) + + a. Only supported on ingress. + b. Any decapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions + which results in L3 decapsulation. + c. Any encapsulation action, including the combination of RAW_ENCAP and RAW_DECAP actions + which results in L3 encap. + d. Only in transfer (switchdev) mode. + - When using Verbs flow engine (``dv_flow_en`` = 0), flow pattern without any specific VLAN will match for VLAN packets as well: -- 2.25.1