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 C1AFB43C21; Wed, 28 Feb 2024 11:26:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A98F8402AE; Wed, 28 Feb 2024 11:26:08 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2042.outbound.protection.outlook.com [40.107.94.42]) by mails.dpdk.org (Postfix) with ESMTP id 9D68940295 for ; Wed, 28 Feb 2024 11:26:06 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Az2R9mes+dt8ca8/sOrI0pru5oMaS2YNg/q6P8umlMTGPb6EHyMf9WpHAUZ8hRJbBDfa2jz9GlVSYAxYyzK9CLv+BUFglIm6iRWCF45anGcvKjy3vHQmOvo93Dax92QvqI1kgI6kYcTQMVmSs+hT+OT/Efio4YKtxuBUs2M9qu1k4AsUmVCQbC/7tp4KgKBXmxuiaCawFQiWjCoznpKsyDqpECMoOGNQUnTi8+PBOoIaqu4/bJjl+bjz4X5NL+1iMECZRqO/oiLVLloHKBRK/d87ruEqBkwxvJ20/rhjNY9PArd9PO8XVJ/5ZiUoD4x0NmZMyR6ix3OYL6l5LhOtjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=SdmRyMLz05JDOZm6xMcqb+Rz1rHylM6FxYPTeiltJhQ=; b=U6yN4+BHyc2Tfk4pPHYab343q7ss6Oo+QfdqG3zdntLC/ypIpBzcUdLk+bmsO0Ic/F9/lYkUB2LtRCbb5lKLJjC5OgVGWr4+d83rx0rvT/f0fydj95I8Ce96ARigXP2e1rPQ4AfgDt0TGcYLNn1zr8YoJSHl0DhSraQUnxTdd+GwXnwpCekXsCWksprT/JEVhUiSQYBJAdfCUQdEVtGvB1+koDUZ1pJWwbwsx0dBOamMilrw0a6TsxVA+3ipJZxpnIGdx5czebA3DSkCn+IbMWBT4SJ010IVcmFLqvCyzgALnTqUMi2LmLhImNYIgK9qWDL5iA0olTZX79G93C+2Gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=SdmRyMLz05JDOZm6xMcqb+Rz1rHylM6FxYPTeiltJhQ=; b=CfoOSq32XEOKB092KY9HWVAgI9GQaVsHuVGpg2ZlVcDTIw6RWwqRUP5xWCf+oE5oJ/jdLSDK6PIcNQbZ59vOaFbQ5u0fFk7UVz6FYo0lcvY5elRq543iFbnD0Pg78pq5U8Gpuuj1U4L4U4qz4MeI5ogS3hePd58hDedCO0uy697SizRlwCojlXjbeA7Ki3529RVSujYAPbG8w5BZJ2LUfADE1E+kd+3YENdcqzK1R+yncg+J7sRnCJIorLsLxqPvuPc0MsJfZI44FkgXMybD9LcV0VB1On08n4lg/E3+ILqIYtuyaSbmspjPV8lyKxAEOzgDdu6cHr3luWV6wI5zjg== Received: from CY5PR14CA0016.namprd14.prod.outlook.com (2603:10b6:930:2::22) by SJ2PR12MB9192.namprd12.prod.outlook.com (2603:10b6:a03:55d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Wed, 28 Feb 2024 10:26:03 +0000 Received: from CY4PEPF0000EE32.namprd05.prod.outlook.com (2603:10b6:930:2:cafe::db) by CY5PR14CA0016.outlook.office365.com (2603:10b6:930:2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.27 via Frontend Transport; Wed, 28 Feb 2024 10:26:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000EE32.mail.protection.outlook.com (10.167.242.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Wed, 28 Feb 2024 10:26:03 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 28 Feb 2024 02:25:49 -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.1258.12; Wed, 28 Feb 2024 02:25:47 -0800 From: Gregory Etelson To: CC: , , , Dariusz Sosnowski Subject: [PATCH v2 0/4] net/mlx5: add support for flow table resizing Date: Wed, 28 Feb 2024 12:25:22 +0200 Message-ID: <20240228102526.434717-1-getelson@nvidia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240202115611.288892-2-getelson@nvidia.com> References: <20240202115611.288892-2-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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: CY4PEPF0000EE32:EE_|SJ2PR12MB9192:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f57f112-2dff-4e61-3370-08dc3847aa6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FZYbIITSXATIpU3oCPnNn6LzKVgWUJ5WBhOwdeN4hU5HM3tNUmsnAN3CaXmG4Z7M+NXp+b+XgGnfzJEcaF8X6i3l94QCRergyKh3mXY3Zt3tIq43xUbJNNpqTW+TX2xD5wMrik4JAJxe6IgwTkupVGdOxRRsWqfIdQ+3/QElld9qa88xana46SdM5KIXgM4ueF6m7LGd9ZpYoIkbzaXqUs5OifkFcwlaqUuH6G4hwpNvT9lLu/DxESCjWZW/ZqIiPbWMDNDU007+PqZcR/3/Scypq00TBCTPX8s4I9sR4UEWJrZxZbZ0ceI3ZnbzQ3O4XmI7zd3JthUEKHjmG/dm1/u2P4r3vnilLvIlLNhoRvrNrO/RfipvXaxL7vn9KVv9orjHUwZ9CAPRnM1265jXShiQOu/ul6Dp7smc7UfS8dVfhh41TP8OreTXM6RrGDjsBfv4IS4SkGK6TqhMeC5VOZ94ncUyUxGIIrPx7RcKqbHhXj5I1DBkhHxmUO38AOZRCd1wkJn7Ji07Ws49TT0kH5+iKjdY1f5atGB1W10wRfau/E2CqmfT+7/6QFzN5UxvSYA9F+neufJU65yziw4lk6lpAq/uDSpHT95aOsfZpibK8GDPCtji5sIkLAC+/IBy/Biu13oW6nUUotWulKUfpF9zzGvZA577w3n3qFZpLfFsbDpOlpkNEbB7Ii8XYHrBmzrzQmHoEouOMCn9rFBtJL1CuW92iaCV333987NEhgfjG2MYi7Gc1FJtWmOwHnnj X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(82310400014)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 10:26:03.1881 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6f57f112-2dff-4e61-3370-08dc3847aa6c 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE32.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB9192 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 Support template table resize API. Gregory Etelson (3): net/mlx5: fix parameters verification in HWS table create net/mlx5: move multi-pattern actions management to table level net/mlx5: add support for flow table resizing Maayan Kashani (1): net/mlx5: add resize function to ipool drivers/net/mlx5/mlx5.h | 5 + drivers/net/mlx5/mlx5_flow.c | 51 +++ drivers/net/mlx5/mlx5_flow.h | 101 ++++- drivers/net/mlx5/mlx5_flow_hw.c | 750 +++++++++++++++++++++++--------- drivers/net/mlx5/mlx5_utils.c | 29 ++ drivers/net/mlx5/mlx5_utils.h | 16 + 6 files changed, 752 insertions(+), 200 deletions(-) Acked-by: Dariusz Sosnowski -- v2: Update PMD after DPDK API changes. -- 2.39.2