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 553AC45C81; Tue, 5 Nov 2024 02:48:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D69984026F; Tue, 5 Nov 2024 02:48:18 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2082.outbound.protection.outlook.com [40.107.244.82]) by mails.dpdk.org (Postfix) with ESMTP id D2F584025F; Tue, 5 Nov 2024 02:48:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qn2QsSvySaE8zdemZbpwDWlk2z3mraMkFEeEGfbvG4+kVCiNp07Tp5ndPE/Hc/n2OsAjvgssI6E22pJmHeO4invGitPR9SLVPmcJQdKuV6oEbHvgAMa9po3pse3cvpaXJ8/VtZIn/jUHo3Bl/muGzCCu7WfrTfuQwOcXH83jJPTQaOKNNNmjSNQpaH42UCXwv1NJO90hLRSpXFsG8EZKF8Z9KXCWcHu4wE9Pgyy80KsXObBHlvTP6X/WlTR6XGIj/dXdjkVZ1kV19qywp8zHkh9eLJEgqhZJ8xxFni0y1mop2S7sy+J7ilQsdLsOF8wakHHPYYfTDaOA+CGmXa+MCA== 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=IuFAAO5puohGOdLBJj4G6uTIgYGU90ZPaG/uTBSb6S0=; b=itd2xVWXTiklIy6RP2gocNCRyW48mkGcikBOb47XLtwY1m2CmSwmSZt9dM5TkPLB/Ogdgcim8KTTU6gybZy4kFhMFaqcciPGIfzdvp3cRaEc1oswFfsCcRwiMhgInDZiY3+tcJr27aMJtIdZMd7wEqplea27BS+jDtuYeQshCLeBUXR6jqLj7s2gh+49cIny/1NZLfmAG52v4fmyibd/d4RtrC2eH4JpUgbLdt4PpzIbjS5kQmmN/V3P4GfazB9dYdSfJYenbei+LrokVI39+42PlV7BtC1wLrObKSQie5qfgYrHyPKZlCeiMT3MRy80g8xpi68T1GjSSz0nuDZ+2g== 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=IuFAAO5puohGOdLBJj4G6uTIgYGU90ZPaG/uTBSb6S0=; b=giCGQZm9YIIx20m1e3cosHywyIt4zEPpXa9zRbYxF3kEZDYpOiHY08rkc77WEUmSV0KJYQ5VAoJStKrrhbfAEpocJSXqlnxE8CfdR+9a9rxIGCfgIUfFSZwYbRygDgZgdpGAaivB40qCQyymAnP2+ss9VW54jRwxx44cYhAd6MS4Xsz/XYnO2EDRtdIbPue0lCYkGCmKy5zJ5tT4OhbrWZ+cgxlyeMWMHISZZQyjXaZf2a38olezIXqOUgdWwjR5amvwUv0qQvme4DPg8AnLDttsAB22xB3JhuZVvtxc7gunz0R31mbpWq8D3cqqmlriN+7vX1IQjZjFy8UEQQ08ag== Received: from BL1P222CA0026.NAMP222.PROD.OUTLOOK.COM (2603:10b6:208:2c7::31) by SA1PR12MB7224.namprd12.prod.outlook.com (2603:10b6:806:2bb::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30; Tue, 5 Nov 2024 01:48:12 +0000 Received: from BL6PEPF0002256E.namprd02.prod.outlook.com (2603:10b6:208:2c7:cafe::c7) by BL1P222CA0026.outlook.office365.com (2603:10b6:208:2c7::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30 via Frontend Transport; Tue, 5 Nov 2024 01:48:12 +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 BL6PEPF0002256E.mail.protection.outlook.com (10.167.249.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; Tue, 5 Nov 2024 01:48:11 +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; Mon, 4 Nov 2024 17:47:52 -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; Mon, 4 Nov 2024 17:47:50 -0800 From: Suanming Mou To: Dariusz Sosnowski , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Matan Azrad CC: , Subject: [PATCH] doc: update match with compare result item limitation Date: Tue, 5 Nov 2024 09:47:36 +0800 Message-ID: <20241105014736.1006927-1-suanmingm@nvidia.com> X-Mailer: git-send-email 2.34.1 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: BL6PEPF0002256E:EE_|SA1PR12MB7224:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e99915c-cfe6-4838-2b1b-08dcfd3be844 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|36860700013|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?rpTYLTV/CnIdTmz6RpPY+5z55VxUkWDa/OcTMj1SpOlACMwbg+vi1lzKP3bv?= =?us-ascii?Q?7rd8LB+IqdkpTUfrARw0r+2rrdPPww8OlIg7H/4NxWmzoks9RroCgY3sI9Ha?= =?us-ascii?Q?Qo2EoI+ochLL2Ouxd9y6dqDl0NWA1H5roTIZ1yyIeWA1uCK+JtOKTbJApKEb?= =?us-ascii?Q?HVnnZIi5w4VCU+NQrykkK1QFIaUbMQ/Xk9aKBhlzvhuQydeVxGPwzo/PGQ25?= =?us-ascii?Q?sId0bFcYOGQPV4ZNcPjXc1oKkM5PFJ8YlT7fIT/ub9k8xdtZ0Eq5Y3MG5d0P?= =?us-ascii?Q?ehvYIHQaI556cp8cE2bKqRNOLedsnoBL5cL20YIFOzhteI25fR5PtElZxYKf?= =?us-ascii?Q?g5aqKihJg24qFAeMFt47apf0QiVQldFV+xLPQ78BQm+vEb/flLFOWeTeJygv?= =?us-ascii?Q?cF/gth4wDuKAIOaHK3AtngQOR8bTNy6DZD3KhNaXUKvwywzIw3hMsrdDueJ5?= =?us-ascii?Q?TalM1z5PvzPiuCdVUhP3XcC8xwHMeVPNmbkDl6Jihk9uyScNOkw7WneTEWGX?= =?us-ascii?Q?b1jKXj/8KNso2S4v/ajPEkWTMlmC/807yvjOwIOfkSmATODwvWALWa81G8Cv?= =?us-ascii?Q?U4LJ1hSLO6XAWKtoYmhs9lS4L9SaOWRx4lIvrpIJirc0hHs0Lac4h22g/eyc?= =?us-ascii?Q?vBPD2hfq9kfDfqKx+ewYQRff4USeXfCWteGaw8mvoZHbNnr8OrYvvH93u3Uc?= =?us-ascii?Q?7LqIQOuY9MlxEZJKhvYtl892Bju+hYI05t03pEHGyMO2Q6GXBogMU6vowjzx?= =?us-ascii?Q?A8OjTRgoE4GPZ5JwHo+XSdi5AGqHJHoWU6ZRVQsu2yYbyokDtlnxNGRz/qyK?= =?us-ascii?Q?9RyRbFWOdMEYO+rnp7H+0aHWpDEggQkc4SOt773lke1XifAMjltvG1bDXT/m?= =?us-ascii?Q?sbRfWUdKM9se46Oxr+gqC16oNlc+f+spDyhfCUarBXemcMCqD8zTYZ8/2Qkx?= =?us-ascii?Q?e/stReqMcCk1a5oblPHMPu2B0xnXTQ5//k2JPGp9VdS1ZTtys1pvvdVQ5LIM?= =?us-ascii?Q?Cl1wS0tMmyxp/PW3n8MrePE1qaCFzMmN2dbjTBL20zpVgjJ1SwMpEXQUTxkr?= =?us-ascii?Q?0ZSCZZt3ZVJvIxee8Tbm2ribMxFqs+OTZlawTWUHUroWrcHok75EcIDJnkQI?= =?us-ascii?Q?eyjJ1maqK2dcK6c1hcFhA6OI8EJB9PRBnCAuO77xd11q437KrWySmuJgZItG?= =?us-ascii?Q?+yfl/NLBRRXdfC0Yqpe/4w+T3GfBSS+gpICH+rSRPoBbLT8apsexBRzsTHpH?= =?us-ascii?Q?ooqs0E71fVwtKk64j5oZf40wP++/pGVMSuC0NXWqaWSte1iKYoLJiByRFLL7?= =?us-ascii?Q?msYIYxK2LgCY95mpNbJjtMPHtWZB3uYJngRxJYKaSqu7Y/xFjOHNi6jzXKBj?= =?us-ascii?Q?C8Ho3VXIOHCPgge9rF6xjCjY7/gtZAdrKsfsoc0r3yyTMIrgYQ=3D=3D?= 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)(82310400026)(36860700013)(376014)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2024 01:48:11.9415 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3e99915c-cfe6-4838-2b1b-08dcfd3be844 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: BL6PEPF0002256E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7224 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 --- 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..43ae9070ab 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 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