From patchwork Thu Jul 18 09:57:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariusz Sosnowski X-Patchwork-Id: 1146 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DAA1745643; Thu, 18 Jul 2024 11:57:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB84440E16; Thu, 18 Jul 2024 11:57:54 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2056.outbound.protection.outlook.com [40.107.236.56]) by mails.dpdk.org (Postfix) with ESMTP id 89505402B1 for ; Thu, 18 Jul 2024 11:57:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KHEYo4f5wXspoLrzZ2DmJVBKwuAnBUolVMVcrv1pr8tQKwi4QJIoBYQjtXIIWBDbpOzRoa0bPu74jAPCvk7R5Q9PumXuTm1ZOCqyYIUOIRLup8M/AXheg/k5Ys0PyLTAbIKAUxuz/bcihGezvFLJy+ndJcc140/FOe7Dn2gDLTW0F9I9zPuK981xC9vmZt0wxbw4hPC1biURG/qGSBmNrGpVM4iQ1Ixk07Pg3XzcJlpvUDhIkSn5eAB/b/vm47+VVO6pePPTAll2WV6qMaO1Wf+sKJIZmGgi0/xc+4/GGgNSCOR18bz0UeyfzZocY5HkqAiUdlTxgWmS6IIAqkwCvg== 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=X4tEtjidqxW2TtK79F9f1afhNY1f8lKjlYzOJEP39/s=; b=bDgbQmYWAIPsUw+1nn9y4CxQsOsFOezFcJYfhMiiYyHu8eszEHMYKePHhISSyN2JA0HXkNcGhOeFWYGvmiJOycd2i195lxUEii/cW6XfBtclzfuxZs1ltU4l3SxxYhf3B3spiw8jfDVAdYCEaOh2OK3NXd8N138jmM7TLNrlXcVMNfk02Ae964NeE/JndhB+e0HjrR384GzO4WbQlDgLPQ3Dm6H1cwthrrA1/D2zFiAks0tUdnc+ADufPeoz18Hqxxb40sn2u9+sWrkenBBbuTEguTtedu61kSUQ5N1jhO3KRDzmcxSN0ObNnhuEjcMgpdOLWPFidwc5T2BtNCADGg== 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=X4tEtjidqxW2TtK79F9f1afhNY1f8lKjlYzOJEP39/s=; b=BKhwtdcUaIQo4+F+cp335P71xrK+2iphx8DGkc5K4NPxdD2q6pms77WmGguHq/z9Qt4NX81gkEW/diCAwMowNMDq3edp5DWx6QoX/eThIFGhO+PcOq2lNZE9/ONIGDHpbmecGvNcbQq1K3WdeJU1/xOPkDC8lg8yjsuRLovQXkSTW4Ub3gS7wix3CKkxAF4TSIfqSHjdD3hu/p5TYzrre0GgKGK/wMgdgJVtoipDjur43BWFPVgGbc92nTJa1otrAM8A/kqluMAi9T+BIXPO65TmdmMXYDZnb2OnH9Z7pqhVA0wPkoUhN9BNvmBsH9BUpbMszht8hKEzlG7CtW9diQ== Received: from BY3PR05CA0058.namprd05.prod.outlook.com (2603:10b6:a03:39b::33) by SJ2PR12MB8953.namprd12.prod.outlook.com (2603:10b6:a03:544::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Thu, 18 Jul 2024 09:57:49 +0000 Received: from SJ5PEPF000001ED.namprd05.prod.outlook.com (2603:10b6:a03:39b:cafe::c6) by BY3PR05CA0058.outlook.office365.com (2603:10b6:a03:39b::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.19 via Frontend Transport; Thu, 18 Jul 2024 09:57:49 +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 SJ5PEPF000001ED.mail.protection.outlook.com (10.167.242.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.11 via Frontend Transport; Thu, 18 Jul 2024 09:57:49 +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; Thu, 18 Jul 2024 02:57:34 -0700 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; Thu, 18 Jul 2024 02:57:31 -0700 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad CC: , Raslan Darawsheh Subject: [PATCH 0/3] net/mlx5: E-Switch and validation fixes Date: Thu, 18 Jul 2024 11:57:14 +0200 Message-ID: <20240718095717.290960-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001ED:EE_|SJ2PR12MB8953:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fd51739-a95f-4c67-5fe5-08dca7101533 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: KDT0bn5jGW84cE/Nvs5BAt2QDxIseu7tyFnW+S3zeqUE5V+XNvrZoyS1M/s+L6uW+RbTKOWVl5qefK19RTDJE/QVHN+zC2DTWO/nBr4HFSBnurSou22aYImMLnIKyuIowFz96A7y/s/25HJNf67g7SyLncqM+Ly6lXyf+aRETiWmj7pSF4kUUWq8myK4SpMxkVcY2rGhdJYD+wbuc35wbsl4avgbaftR1qT1UPO3nCohXo5z4tWFKuAaTr7vY/rvkqehH1i9c9EuuyH4hx0P8aorMrJynCs+V2ygQfQWwazl9b7VoiWO8Pr12tG4Y1WGs2u6wvfbritmgwr74nCimuA4Mzbu/UDDp9VXBlDoYtjUAzmNJ/Bzx+paSmFy5zJKahL0F7NjU3Yhk7Z1NJRMfUVBRk5bIGOWf9t+v7X3cqlu17FwLZuY0Uy3IOc2aPPNhzgYe0G/IBD9wmV4EhN8jcQ6DI1UzvH+s7NBPi6yZeZntI7mANv45pfBmp5s1IXGb1iF8fU4TN8laXpy9nEMx/rxT6VuvyUB8q6xjmzgF9lyklTOCq4F35qATCk5uRKDmYrHMIFvsVrBQY0Fm99a/zJjjPRE+ro3RROMKXGmPBDbkoWHe+yDBGUNSnMJHowxK1RpCo02i91VUnKv0igIzoOifeYOLSXL99DDceol+rbBxr7Ad0ZIuVmBR1P+nXlA5rYiC1rISASijjKlrSBxqRYT76umer4p5TyrCwSlesA10dXygBJ//qOomQ5nk1JPeqSJVe8Q+y14wqdxFOpcazG8DfPcipiQ22gHZzdmlUyP01FtUc8l1pVmBqB7ROGTKl+0F3vVTlToFYJWunrLn5k8CKpXQ1NKGsEk4pSZPjVvtCnJgPb1MY0PFIt8hn+YoSBBY1iIrzXI+NzuoOnMMZCagKemeSbajC9hkI3/iluBXN8FgqMVikUp47SeaHYndNWyj1SR+6bVA7iXjPvXpPh4Yu+29H+Z7FEeWpIRf4YSX86nPMEc3ezxIzihKuwU0g4OuSpBkeXaDynD06GvZgIZpWBDPw05k43Rt2MDs+YkKWYyAeS7ISW4OT6KYWVessk/ibTMwG1c/uGDAApZwXwH88jKn+jn4/DPVNwNjfCsgmMJsuPB53wq/WjHbp9dhVbLrMneLVHmjlh1wp33vKpW2OX3Ys9njmdwhHWaiGlqxr9b4XOuuL0X8Lf+m+xkTqm80zoXwbQys98Z4SCD03jp0XqYzMYpHgwjd3VX4TyuqSv9Fd7UmdVo1kXolF0msV5R87bj8yPkh2YqUjFHEV9LxmVgg6P3gguJ4bOINd+8jS7Y+gDJ+WHylgRMsWlr9yOOsi7jEVbibHrsEimPae3abyMQEi96hETsaHbJapkN2A1TiqK6511Wsvyhn7j31f/E0qM7FXQsa8xrMA6gzras65SxJCC/8xoterCbJ606U3DQq+iet/r5bGkojGrd 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)(376014)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2024 09:57:49.5521 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0fd51739-a95f-4c67-5fe5-08dca7101533 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: SJ5PEPF000001ED.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8953 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 Patch 1 - Fixes a bug with fdb_def_rule_en device argument, used to control default E-Switch flow rules created by mlx5 PMD. Patches 2-3 - Fixes for flow rule validation in async flow API, which were found during testing. Dariusz Sosnowski (3): net/mlx5: fix disabling E-Switch default flow rules net/mlx5: fix action configuration validation net/mlx5: fix RSS and queue action validation drivers/net/mlx5/mlx5_flow_hw.c | 182 +++++++++++++++++--------------- drivers/net/mlx5/mlx5_trigger.c | 4 +- drivers/net/mlx5/mlx5_txq.c | 13 ++- 3 files changed, 107 insertions(+), 92 deletions(-) --- 2.39.2