Message ID | 20240202115611.288892-1-getelson@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 58F1043A4F; Fri, 2 Feb 2024 12:57:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B07042E57; Fri, 2 Feb 2024 12:56:57 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2042.outbound.protection.outlook.com [40.107.100.42]) by mails.dpdk.org (Postfix) with ESMTP id 992C342E42 for <dev@dpdk.org>; Fri, 2 Feb 2024 12:56:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H0PWIzCtoGk3z0pKMZUblArr8Jfy1AEqqhpPhYkAB+L6AIchnJLqz+bLLw6gNgsnFVVH6HXzITNJjv4HRlZ4Un1zhP6rZk8bJgKboTiFySYtNIcCnYLjpW/ko885f95oDm5YwI4AiYGWQ3mm0rOyY5Prr+wotEhL4cJGaicFLm9/+StfK/7geOHXxTUkZJDYKRJ7tPVL503IaloViel34nfY/2UThxUk2WN2q3pABIUf4G4HzYBjxbgZ2D+aOBsyTXuXyu47z95iG8CRR342QicovKqnCI5DzOWWn3UdLK/aJ//BA3iHnJWLhyXTZpuTUo+SSW2wgIJnfCOvClMw6Q== 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=9dUt68is+uq8LwO9v7v7JBfdF510cesHH/MvUUiIsVQ=; b=GBrwFBpNGMptVOfT0S4utzwLqdp97+LcHCM/K9ja/9rp8iWdiXt6AHleznREwyPfXZj0Xnt2Tpq634iTVbx7/EyU/WSCue/k/bwwpbKZV77QticEY78M5IGLAVgjdk9vB0NvzH0JPqeIL0lp7N7b88I8NINJFL0giScWyP6gVcdqTppBIokiMhK6doogDFqYPN6zs3doezqmCaF3JxgsqGU1Z5xg62c/uqyfPoBXd+xDwuJlk4Qar3cgvwpIPzfHxgVtIBsC56T9YXZt7qRU0khfkKX0pfPytjxrwR2YJKcrH1juqVKCIwtJ0A77ToLrHtRgOoIc0f7PSXw/aiBtBA== 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=9dUt68is+uq8LwO9v7v7JBfdF510cesHH/MvUUiIsVQ=; b=CinuauqzzDGgbR+G0gIKWTkWI2QQBmD9t8rI9zacsgbbkaVJyfsfLgcqLDnWLpd52kjVvMG71S2e3yGUvzH3QZh7xfHXr6f+P7LGwQ7Mc2yZfr1jquX1qdPmPhGbvj3i1WamSYXfK+AEKs3w7K/f9YVt/X5LsxcxIuL8Cs3A5YCTZjjiZZfUo7pDOojcn7qa+SdoxpS/yeRH15s8Frggi/UnAkcLQWcAcqKYsBAIb526GKtnqCPNGw9OnP54JGU/Bg8h6X2Wi1wTbe9eQk/nxVkzlybutB7++pVC0sIkvg/8+7AnMvnnPie7NlN6ILMSm+fSRlahfKeXhYizMyQZBw== Received: from CH2PR15CA0008.namprd15.prod.outlook.com (2603:10b6:610:51::18) by SA1PR12MB7102.namprd12.prod.outlook.com (2603:10b6:806:29f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Fri, 2 Feb 2024 11:56:34 +0000 Received: from CH2PEPF0000009C.namprd02.prod.outlook.com (2603:10b6:610:51:cafe::77) by CH2PR15CA0008.outlook.office365.com (2603:10b6:610:51::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.26 via Frontend Transport; Fri, 2 Feb 2024 11:56:34 +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 CH2PEPF0000009C.mail.protection.outlook.com (10.167.244.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.19 via Frontend Transport; Fri, 2 Feb 2024 11:56:33 +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; Fri, 2 Feb 2024 03:56:27 -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.986.41; Fri, 2 Feb 2024 03:56:25 -0800 From: Gregory Etelson <getelson@nvidia.com> To: <dev@dpdk.org> CC: <getelson@nvidia.com>, =?utf-8?b?wqA=?= <mkashani@nvidia.com>, <rasland@nvidia.com>, <thomas@monjalon.net> Subject: [PATCH 0/5] net/mlx5: add support for flow table resizing Date: Fri, 2 Feb 2024 13:56:06 +0200 Message-ID: <20240202115611.288892-1-getelson@nvidia.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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: CH2PEPF0000009C:EE_|SA1PR12MB7102:EE_ X-MS-Office365-Filtering-Correlation-Id: 55dc952f-5a96-4157-fb83-08dc23e60085 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /o4ReAgbIi/hFGWmfsPXZEY6G30s0Rm2ylkwY4b9j8ME63UpIfgweKB9jigmVsy0rMPbPQbIWkfXgZAm4NitfuDWSgGoDk+f+HsxxmxkAfszNNPQ/OfbQjsigJ+3bx8Qy2wJERQefPla+8KtCaz8DFEjf7+c+t8MOwO3Ilni8+JGgIt4szivD+IrhkaIk0CqkI4FVDYbd+RPMPAaGhlD/ObwzBaSqIBwUpnGSp4kqsVstS9knbuetwy5W+xrJ1X1z171GSQMGCj3vCaU8WVzjexERU0jeTvJlGeFVJMwiaF8cJPwAsKsEhhEW1e6NcL3oNRzGMkQtFIR4mkJdy6CFnw55zpiAK/HtWlHFqHgYTuZxyhVoVUK553Qv+O97CVDJW5fJ/X4fUxNDXJkQyzjCJVprERVvRvV87Jgk0EH09nQMBWtd950OpS+kVvAhUzZjArHBsK8lOEoD6a2JzJukmn7x0R9mYw1/rx7yHG58X1VpRosn9LLcV8MsHiHZo38AOdDNekeqm23OSP0KiVJSbsE8VDYVjxK8CoqRGrX6IpOZaKmds3rHJL+bNr9xR6fz8nMONXB80aDI6w/aiCQERaMQ4TFVnJXNQ5KHcLz5NHe0fDH6jLyOleEV7POOtxRhM8Qa11+6G7j6+2qA5Yu1bhzy1jGbN4ERTDtBOxE/qu1ewdefcDQZwlrTPmK99FxuhRAcFsopeA6i+53jIPhAx/JKIB6N0yYRnOK0U/UQPADXNXhL8D57RDHF9fFygIL 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)(4636009)(39860400002)(376002)(136003)(396003)(346002)(230922051799003)(451199024)(82310400011)(186009)(1800799012)(64100799003)(40470700004)(46966006)(36840700001)(41300700001)(36756003)(40480700001)(54906003)(426003)(336012)(70206006)(4743002)(70586007)(2906002)(47076005)(6286002)(83380400001)(40460700003)(16526019)(7696005)(478600001)(4326008)(5660300002)(36860700001)(26005)(316002)(6666004)(8676002)(8936002)(6916009)(55016003)(1076003)(2616005)(86362001)(356005)(7636003)(82740400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 11:56:33.6436 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 55dc952f-5a96-4157-fb83-08dc23e60085 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: CH2PEPF0000009C.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7102 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
net/mlx5: add support for flow table resizing
|
|
Message
Etelson, Gregory
Feb. 2, 2024, 11:56 a.m. UTC
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 Yevgeny Kliteynik (1): net/mlx5/hws: add support for resizable matchers drivers/net/mlx5/hws/mlx5dr.h | 39 ++ drivers/net/mlx5/hws/mlx5dr_definer.c | 5 +- drivers/net/mlx5/hws/mlx5dr_definer.h | 3 + drivers/net/mlx5/hws/mlx5dr_matcher.c | 181 ++++++- drivers/net/mlx5/hws/mlx5dr_matcher.h | 21 + drivers/net/mlx5/hws/mlx5dr_rule.c | 229 +++++++- drivers/net/mlx5/hws/mlx5dr_rule.h | 34 +- drivers/net/mlx5/hws/mlx5dr_send.c | 45 ++ drivers/net/mlx5/mlx5.h | 5 + drivers/net/mlx5/mlx5_flow.c | 51 ++ drivers/net/mlx5/mlx5_flow.h | 103 +++- drivers/net/mlx5/mlx5_flow_hw.c | 748 +++++++++++++++++++------- drivers/net/mlx5/mlx5_host.c | 211 ++++++++ drivers/net/mlx5/mlx5_utils.c | 29 + drivers/net/mlx5/mlx5_utils.h | 16 + 15 files changed, 1498 insertions(+), 222 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_host.c Depends-on: series-30952 ([v2] ethdev: add template table resize API)