[0/9] net/mlx5: add flex item support
Message ID | 20211101091514.3891-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 98410A0C57; Mon, 1 Nov 2021 10:15:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7094410FE; Mon, 1 Nov 2021 10:15:41 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2047.outbound.protection.outlook.com [40.107.96.47]) by mails.dpdk.org (Postfix) with ESMTP id B355C40E28 for <dev@dpdk.org>; Mon, 1 Nov 2021 10:15:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g7rfjO0+ISUds7bxOfQQNc/hw25u30uKoDpctDxVVIB/ZZycVXUtE6PbPp71IgjDyYgi8hUinKPSbDY9vZAXbAO1ZzDo9oNHZbdX9PFM3el5GvjGpVBKp5G0n6Op98Sh+3VMWOHG6Td04H9MV+cE1NhJmR3/HSP8TGk9KleqcizsqJrID3nMkCecUi866HUcpotfsgFNYkg4MRrEAfxHep6R4FULpyQhbcA6FS3oSeGxzqaPg3tlE5OPipZzqLoFREXhSAxAyOKNMttASLEXOyp81pL6nbQsUTnxyPqDQ9L7TT7Uae4d5gyiUxjPLfgtrnG4m62dXrv/Z/LUTme3XA== 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=7arzV8I+RqIFtaT6y8qDHomPMIFI8XL5YxgvtArOTO4=; b=L2aYh5Y681wptenFHIYNUbWiwe3LRXpPOMpwJWkKe/y4JRKwF4TfYCBX+lsHNHHA8AJ63cZPPbCvl3m2SlGGmrgvEy7s3rmuH0yU1Rkh79Sz8NrHd651pqqUAXr2QwJa5pNFFBnH1FrINltYJL1cIz9V6+dBb3N/a6jYLJa2Qh1YJwXMzZkuf6ZNBfSOwdSwuImAFLuZ7lFrWkpVmPsCv7PCNaxdRrJcd2bnBYHMV5q/XetvKqSZUk66pj+LSKZoA7EtjFm6pXpdjp9tngsVx6MrsgsuH2zWkdOd04zuGPnDmzo4EmstUGbaNeWBuuzQBy66dNy1PQ7qmbud4sCX6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none 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=7arzV8I+RqIFtaT6y8qDHomPMIFI8XL5YxgvtArOTO4=; b=DE/TatGGPQovuH9yiAnKIhsFABpH9P2qV71Gi3qare0qc0RFifrAgjV4TPpHcWm2NKvtXJkjGTc9ieJsekkzm6kpOuJBq8cEl7qYVIxCr0dw6Oo0h+YHSHK3dKH9YnHi2rwAUEZuj5qpFeRePXKd6a1Yz8EXZdwInZfsMDeiXFbTJyyBKbybTiNGorQRvhiF3iMH9FI0M3QoRV+yCJHnqAQOmC9rpkP4wBIWTxdB8+W8ip4gPBOHAz7n98r0fInhhASgD/QO5u6wlJ5bgk+QiVLdtO0KnsyqbaoKx+jjQWTloKRyWUzALUG70NjxLF0LhD3VgnExQQsWVtd6vuZEig== Received: from BN6PR13CA0050.namprd13.prod.outlook.com (2603:10b6:404:11::12) by MWHPR12MB1376.namprd12.prod.outlook.com (2603:10b6:300:13::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.18; Mon, 1 Nov 2021 09:15:35 +0000 Received: from BN8NAM11FT029.eop-nam11.prod.protection.outlook.com (2603:10b6:404:11:cafe::82) by BN6PR13CA0050.outlook.office365.com (2603:10b6:404:11::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.5 via Frontend Transport; Mon, 1 Nov 2021 09:15:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT029.mail.protection.outlook.com (10.13.177.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4649.14 via Frontend Transport; Mon, 1 Nov 2021 09:15:34 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 1 Nov 2021 09:15:28 +0000 From: Gregory Etelson <getelson@nvidia.com> To: <dev@dpdk.org>, <getelson@nvidia.com>, <viacheslavo@nvidia.com> CC: <matan@nvidia.com> Date: Mon, 1 Nov 2021 11:15:05 +0200 Message-ID: <20211101091514.3891-1-getelson@nvidia.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8becd345-fc3c-412d-ed50-08d99d18292e X-MS-TrafficTypeDiagnostic: MWHPR12MB1376: X-Microsoft-Antispam-PRVS: <MWHPR12MB1376AAE981FF5DE291A43A17A58A9@MWHPR12MB1376.namprd12.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nWXyg4dvDgssHrlqVMMKMoinNZ54RtQI9yk8/sa1V+kOkcl4CwZRKTj2bzqQxM9K366JJlWE/pfRFtNZaRCoi/Yk5SndzxJILZ1v8t1pHHnUTZMj0On45rUT+e0ep5+9rluoyxpnpAa+/W4Z82xB1hS54fuLhTTJyWqKwTkafRwkSEq26Sft/raia4JPxe6Bxte8u9EGMGK79WV4J5m/O0iHOiAfIPkVz1TYAfR6w252H7zc640iAw/S5GvxKp63Nl1P+XfDtxG+NOx87LSuwx1xW7WplP3OW09tOSjJKL8dsFNnguDYUTCEnxTZEqR2DFHqEbRtyuwGOguH+4WnMc35QwP1AtpJ0XCi3hJjgSujIOayGyZ5YV4me4KH8m4x9p3hTrsIvf7FGLSLDajIlN2vFayQv3fku1PjnSWFSOjovGQyzErRnCfY3lSIIHr0wWWv1bIPFEKjUA9z425xlTikWkd+6GPZjfA8up6ZLexabmqvsOTHcd3kfpzP3aQZySkFobuNnszBItirqN87dPQJEotfpT8YNKtXRvPKcV8ttBkqvtpoMFKFq2lPgvJWr9UHij/aIJPP5Ee/x48qDGbpUfV6NeJtezrSGYs8RWSS77It5byv6OypXUXcmdhH5ZQXS0upaG61E/P2+76sE69rQ3wGTGtfo4irs7IT8qXsjGR5a1xC3CMsg0S/X1zqybWzQkYkEdlIJrQYrVugEQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(107886003)(508600001)(2906002)(6666004)(86362001)(110136005)(316002)(5660300002)(26005)(1076003)(36756003)(70586007)(6636002)(336012)(2616005)(6286002)(70206006)(8676002)(186003)(36860700001)(8936002)(7696005)(16526019)(4326008)(83380400001)(82310400003)(426003)(7636003)(55016002)(356005)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 09:15:34.2834 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8becd345-fc3c-412d-ed50-08d99d18292e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT029.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1376 Subject: [dpdk-dev] [PATCH 0/9] net/mlx5: add flex item support 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 Sender: "dev" <dev-bounces@dpdk.org> |
Message
Etelson, Gregory
Nov. 1, 2021, 9:15 a.m. UTC
Gregory Etelson (4): common/mlx5: extend flex parser capabilities common/mlx5: fix flex parser DevX creation routine net/mlx5: add flex parser DevX object management net/mlx5: handle flex item in flows Viacheslav Ovsiienko (5): common/mlx5: refactor HCA attributes query net/mlx5: update eCPRI flex parser structures net/mlx5: add flex item API net/mlx5: translate flex item configuration net/mlx5: translate flex item pattern into matcher drivers/common/mlx5/mlx5_devx_cmds.c | 239 +++-- drivers/common/mlx5/mlx5_devx_cmds.h | 65 +- drivers/common/mlx5/mlx5_prm.h | 50 +- drivers/net/mlx5/linux/mlx5_os.c | 14 + drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 15 +- drivers/net/mlx5/mlx5.h | 79 +- drivers/net/mlx5/mlx5_flow.c | 49 + drivers/net/mlx5/mlx5_flow.h | 27 +- drivers/net/mlx5/mlx5_flow_dv.c | 127 ++- drivers/net/mlx5/mlx5_flow_flex.c | 1373 ++++++++++++++++++++++++++ 11 files changed, 1913 insertions(+), 126 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_flow_flex.c