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 B000D43C27; Wed, 28 Feb 2024 14:33:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FD5B43291; Wed, 28 Feb 2024 14:33:50 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by mails.dpdk.org (Postfix) with ESMTP id 3BF4040A70 for ; Wed, 28 Feb 2024 14:33:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YCEZlL198h0DIpqmGgbRZNcNYjOwBGzM59q31OUGrWTtaoUmWBsA0TPkpm+598kcc19RYKJpWQN9ZMnW2A/qmhQQfYmAz8uHuVN5GSXFrZzWcIu9ECtzlYfmNeR680VCjKRXNrmYpcTNaBIGsA2/qqTXIEvtDcXn9T7Pf6hf+D+JQoHc9ILDHcHL8KYIaz9fgSsuLRwZB5kRgDG6CBfghb5Xj5F8X5bJL5kOXUYZICAZDZC0Bho8RdnWqPTfhXkfSYK2FCUrZIiB6wo/2T17I2ZCOhwBbZtfP33tL+d8RBavZuaLz6Boi0dP0e7NbD4Ogo95H3BEbSE4zAiwi18u4A== 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=jAbJs5lDz/kiWpkYzoSzQNWX2vabYtZuwZ0vsKXMx20=; b=CKSRuqxYG3D9KsBcsaQY8OiH4AetH4SSEN64JsZECuMjO/ERJF1/5tx5z1tdJHtydCzPh86NyPv9Hn+GH/nH44H3YLhlviWd/h5C8XTo6iKhYexGrfOo7rUsOzwBuIs4yt6selqnyPciDl13ecIDK7DfqBxYjpk2JZffEV3tcCzG6hXaADwk1X+Eb7QplDSoBjZmyT3T920Ra+fYboj37s+tnRlgVc5ZYLwk3PBc3LqYbjGKNttLH5n1flJ7nSAIrUlFlVrcHspQOwcFrif55ra/eDdTKqXrpYdLZuhLJ22/tKMBdA9ZVTE+MDU2MJ58tPIyfh+DPg/rtBMuqaOtug== 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=jAbJs5lDz/kiWpkYzoSzQNWX2vabYtZuwZ0vsKXMx20=; b=D7z/BKqiUQtMMBIYoT44x4Onv9vBYAMDNzQRmKxc5towB8MTxdXkBKgdxInyIT0+Ff5JpMjbvLhBJheBboifjkdtkzZbJPo5/OWxx+ULCF+lzRCE3VC9YtkR1mVKR77nWRzaRwmXfsGIFhoev/h4RtobFB08h10Rmn2Mp5ISnqRR57SpDqv1n/OLAVD575h6K9bAtnBr7I2GJJM9cqYxQwQMUCPLNX7PPH0ShufMPaG+Rz12uNtOoQu9HFdukfFKg873W4B5q83DvdL3BWzFUQex0R9B/7FhyiSl1Ljic3K+GnqiVsgEBB0y3srxKKEFJjoAymLS0FoL995aaqU4gw== Received: from BN0PR04CA0099.namprd04.prod.outlook.com (2603:10b6:408:ec::14) by IA0PR12MB8205.namprd12.prod.outlook.com (2603:10b6:208:400::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Wed, 28 Feb 2024 13:33:45 +0000 Received: from BN1PEPF0000468C.namprd05.prod.outlook.com (2603:10b6:408:ec:cafe::2d) by BN0PR04CA0099.outlook.office365.com (2603:10b6:408:ec::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.28 via Frontend Transport; Wed, 28 Feb 2024 13:33:45 +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 BN1PEPF0000468C.mail.protection.outlook.com (10.167.243.137) 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 13:33:45 +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.986.41; Wed, 28 Feb 2024 05:33:29 -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 05:33:26 -0800 From: Gregory Etelson To: CC: , , , Dariusz Sosnowski Subject: [PATCH v3 0/4] net/mlx5: add support for flow table resizing Date: Wed, 28 Feb 2024 15:33:08 +0200 Message-ID: <20240228133312.474474-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: 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: BN1PEPF0000468C:EE_|IA0PR12MB8205:EE_ X-MS-Office365-Filtering-Correlation-Id: 783c5cda-d695-46ff-b1c8-08dc3861e357 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iohOkZh8upLHnR9djunVlWsRuvT4n0tk3T6JvmznPl3P2z2PnTfu6sJGFohfrkdhCERoU5Lm7l1tWuApUevWiPbHSMkXaErQdiq2eqeTvd/19Xg9bObU0ocQhSQ8O9tc14PTm3HrkGxBlQSodMuw2oBxxRRlSpfWneW8eF0jPy9MRVO8IDre4imsI4YcCgmFSylPOG+pLcectutozSQqbZXyFD9605EW8ckVSNjXs9QSRQn/c2uiWMTA0sPaOWy72nWL+bNTtsr7I4AkSqhCvnOwl/a2ZhkL29bwuUNCGp5aeY08rt2xhLda5kzskCeu0NGnq6YtZXzRzO6Fta28OQBhKsVDDy7Tl/Uy4uWhQAbRt+EKlfZNzRRgCO+5oleCB9LSg25zRJEpkXhnCOSGcmSTLxGfr64cVvtLxFg8ZHGhA41ahXBwdd3dxHU+4ZvanTATTjt0w0mDGoB5bkcmdoTC2mvU2d3uz2ZiQeGxaErraJs6Nslc+cfE4g+e4HzpH65zzatPPZc5aX0e/MRaIZrMSPMRULkZL7riAlymZk9yg0PyrssX/bRc6PV0z3Cu5SwHHAUgWpr9Xk9FG3QQJ4G2cdGSKyjo5rFEVh98iGwSmDPWYPHUOn5ilX3GIuPDNXZTLbv+qM0OnA78ntrlFkxuPA3K+zwLrDqKfSh7q1YmKBDfo6aLRoDvqVwpY6CW8D22rWSvZFUFO8EDQ9xfgZcK3Xd01c74GrzErveulGI0Wu/Fb/x4EKYGtUf5D5/t 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:(13230031)(36860700004)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 13:33:45.4894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 783c5cda-d695-46ff-b1c8-08dc3861e357 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: BN1PEPF0000468C.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8205 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 | 761 +++++++++++++++++++++++--------- drivers/net/mlx5/mlx5_utils.c | 29 ++ drivers/net/mlx5/mlx5_utils.h | 16 + 6 files changed, 763 insertions(+), 200 deletions(-) Acked-by: Dariusz Sosnowski -- v2: Update PMD after DPDK API changes. v3: Use RTE atomic API. -- 2.39.2