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 1113645C93; Wed, 6 Nov 2024 10:34:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49E4C42E15; Wed, 6 Nov 2024 10:34:49 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2078.outbound.protection.outlook.com [40.107.100.78]) by mails.dpdk.org (Postfix) with ESMTP id A731940265; Wed, 6 Nov 2024 10:34:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=J/RHOyVgwnWRW6e6f2LIpva8VUjkVUE+KzUmk0qc2WuptcNgOXL9CJhdrbZQX2C57O/zgIZ0BSImCagTP/ez45frme2gJaIZgrQntxonQsAK9jF/ZZBXl0GKbFl8mkO21uU6eeh3kAiDj29EhsxUag9yWWVGok7W+PAIJyyZVulrz+/dC4tCUpqWWKCIK9XxYZdZOhWJ5A9ymD1FJnf8YzDPNjfAIzw34qvQPmyyDeE03BKqFiF0GuXnkbqrvUuUKyAatZD41ypW/e8m3AQmWWb5rVMtE6FkEAegKMqLl/PtXoDikqBgwhxKvl/J4xw4Nz3YauyvJpH4GTRsPxpaDA== 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=b4HIrv+QC/uMVtJr/j4+gHn6XG010cgGW9EUrbsTk0w=; b=eSUMWU7xUiFf8k1zE5N7zxlDgUU05i8kBFfHeNkWUY8Ou/e9VFFjDF+x6OVDudoZgMMu7ItbsyHB4ChUW4oMT3Daw/32uyXQgZJ63rXaf0qoSblFEzYH+6RjwG9md3Re5EU8Cb6FDvWfCeHsw1dFVPJGdaI2qRGfUn5Z+xL2/Aeo8M2i3mEgNc5r/ueia9Ps6FHOjFY69aT6tMFmFv98aDqD6ntwAGQuXEdj7ya2QU2jJMKWmiwsp+Zy3zguhqCT6g3mEZKsYeXv2m+eFf3fNXc4CpffvPzVX+UF60hjVPf1nnLrUcIp/jcKOLyp0HHLzOWyZru0JHwXbFOGQzFzdQ== 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=b4HIrv+QC/uMVtJr/j4+gHn6XG010cgGW9EUrbsTk0w=; b=pyhW1F8radWrccqh5pXAzlE4QBUraHVgBRvXm+1hvYjSbtMMREzRQ7Yn8S1VmncpcB4oJz/++DztvSsdVPm2t5xboC6INZLuZCuXdTrrIJaxLF0fzUJIsi92XopQh35ljkaJzvIzg9/wuOyII/M6rivQ7PsablanAIueq343xSsmkYL2niZ3scEdB97Zl3OIonj3si/Ah76LKnP+8DSmyBgkbHu911MRHjUbpsbgDXWAddKhY6kS9G3yTpkTs9APuZZqFzbtPYNFYu7weUA/XYhsEQoDNn8Ra2jKRLAc04hEQX7/dh4lsmAJAFhVFLr5ygXSQJjBpbToZ0q/D3O2wg== Received: from SJ0PR03CA0236.namprd03.prod.outlook.com (2603:10b6:a03:39f::31) by MW4PR12MB6826.namprd12.prod.outlook.com (2603:10b6:303:20c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.18; Wed, 6 Nov 2024 09:34:44 +0000 Received: from SJ5PEPF00000203.namprd05.prod.outlook.com (2603:10b6:a03:39f:cafe::81) by SJ0PR03CA0236.outlook.office365.com (2603:10b6:a03:39f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.18 via Frontend Transport; Wed, 6 Nov 2024 09:34:44 +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 SJ5PEPF00000203.mail.protection.outlook.com (10.167.244.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.17 via Frontend Transport; Wed, 6 Nov 2024 09:34:44 +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; Wed, 6 Nov 2024 01:34:33 -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; Wed, 6 Nov 2024 01:34:30 -0800 From: Suanming Mou To: Dariusz Sosnowski , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Matan Azrad CC: , Subject: [PATCH v2] doc: update match with compare result item limitation Date: Wed, 6 Nov 2024 17:34:15 +0800 Message-ID: <20241106093415.1062069-1-suanmingm@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241105014736.1006927-1-suanmingm@nvidia.com> References: <20241105014736.1006927-1-suanmingm@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: SJ5PEPF00000203:EE_|MW4PR12MB6826:EE_ X-MS-Office365-Filtering-Correlation-Id: dad53c16-9c0d-45ad-c3da-08dcfe463f57 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|1800799024|36860700013|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Fsn1DuqW5YXpgo0fjmfB/GqY6f3ONYngZR3L7MtPZs36o/mQBh97leCfC10D?= =?us-ascii?Q?U5ArHm+ejAYe6cdSGh2u05/h1EvUBfxiTrFEzkL1oylmuk6lWuZ1QYaoGhTv?= =?us-ascii?Q?jWiUsXye0JGHvArxFl/wpjH3CFhLAsOLCihGOnl8sJjvRXIwZoIk2mSHb2IV?= =?us-ascii?Q?yBOljxulWd37t8rRp7XKzs4eNLX4lfEssWiq/yK7w6KcYkQNup9Lvg1UKtZp?= =?us-ascii?Q?krcjHLl3etXAGl0crIVIKbcK+3ML/AoD/tJjTdWrtnJy0SY9g0+Vjb6gAJGR?= =?us-ascii?Q?ekNA7E4TlAveUhXYOf2quSKU6anzxrt/Mpg1JncOrrANmCNk4i+otJTN8krH?= =?us-ascii?Q?awy6Ca1C5X7sIgXa2Ifms5I3pY/IzL4S0LroISlPpkVyebz/ePR+6o387taM?= =?us-ascii?Q?vqiC28TeiMDzB4p0tnaexyC3b+ZoCFy6KFQ3dAhcetyfVnP1gTMgJSD57MMl?= =?us-ascii?Q?yUI5rURn4fK/hhQSEmZCaAgBSnTo6kqt9nUC7tbVvlPq1DcUTPN/p/63E2bv?= =?us-ascii?Q?xvzC2fZkoZ+zOGuem/grA9lsMnBW7Ct/w0W97n2XW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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)(82310400026)(1800799024)(36860700013)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2024 09:34:44.3337 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dad53c16-9c0d-45ad-c3da-08dcfe463f57 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: SJ5PEPF00000203.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6826 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 In switch mode, when ``repr_matching_en`` flag is enabled in the devarg, the match with compare result item is not supported to the ``ingress`` rule as an implicit REPRESENTED_PORT need to be added to the matcher. That REPRESENTED_PORT item conflicts with the single item limitation for match with compare result item. Fixes: cb25df7ce9d6 ("net/mlx5: support comparison matching") Cc: stable@dpdk.org Signed-off-by: Suanming Mou --- v2: Add `repr_matching_en`` enabled by default explanation. --- doc/guides/nics/mlx5.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 7ced6ca8f9..64933a0823 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -460,6 +460,11 @@ Limitations - The field type ``RTE_FLOW_FIELD_VALUE`` must be the base (``b``) field. - The field type ``RTE_FLOW_FIELD_RANDOM`` can only be compared with ``RTE_FLOW_FIELD_VALUE``. + - In switch mode, when ``repr_matching_en`` flag is enabled (by default) + in the devarg, the match with compare result item is not supported to + the ``ingress`` rule as an implicit REPRESENTED_PORT need to be added to + the matcher. That REPRESENTED_PORT item conflicts with the single item + limitation for match with compare result item. - No Tx metadata go to the E-Switch steering domain for the Flow group 0. The flows within group 0 and set metadata action are rejected by hardware. -- 2.34.1