[v2,0/9] net/mlx5: add flex item support
Message ID | 20211102085347.20568-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 13010A0C4E; Tue, 2 Nov 2021 09:54:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 764D640DF6; Tue, 2 Nov 2021 09:54:06 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2050.outbound.protection.outlook.com [40.107.243.50]) by mails.dpdk.org (Postfix) with ESMTP id B66BA4068F for <dev@dpdk.org>; Tue, 2 Nov 2021 09:54:04 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EeOPazNw9BRkEWyiBkJpL8WUQdkpbrJ5c0vD0xK5kYLUt9hCy0hZTnkXMJiglRbiIF2yBNo/z+v79VpbrhrTYgfUvaWeqI5GYNexDICuBICKmnm1y328tvStauAGu/UTr/0cMzcq1BjpxsDrmsfH9q9SFPQzG5Drzkz91lM/jx/lcyIc3CRcK5lrGPYpc78wmIruTgAgnxeSpJyz8W7a+pLjoVhGSnieTFvPXsXuh3BZ3nRzeeha6luXfl2QVpE3m5xZJ7FXetjd+5y44YKFr3jNKlT4XZOdNpLUJfbA2E2gtQI+aChr2carZ1BBoZnGXq78ugHLOJo3Vaxypbbulg== 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=bv5e6V7Tp+PdBxWrVhEc4EyWWAQUPH7IPUnNX63ayjQ=; b=JsbZLPW2jPUzx1FPRmSvL3zZpapP1NBOlpyl2aeGID62/2U/FydR9WBglWRZu/YUtpuLDGYCswUoYZOJFWuks7KRs9dpz80cOvdoZO2TGbZlvLTzjhysZlqHV7IbmN7Xw6Lc8qFkNkQOcMByBuhWEXbTjvaoAtFyXY4BfLlbJqL13s8McHxtWdRtbO8tobt8OeoZ/BcVwJkx6IIpvk1Ykmi2CXhxs+Q1fQcIpm5xcwSz4jZKudwM4C4LypyCxM+1CRMwrsYGK6z4ErK5hRLkfEYZxJmczwZCxDo3jEQUHSU6sF32I8KEDzhVMdSyLTnGIxDrJTsnm9ECrujpLstvFw== 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=bv5e6V7Tp+PdBxWrVhEc4EyWWAQUPH7IPUnNX63ayjQ=; b=KgDbNKEqz8tG29IW0NsKDBOrlyykRwHdMrT7aJ5S0EPPremAMFwQQz/6Rpsai73bxdXBOIe9VWmgZ+ANamXq8f1BJmTmyqPbP9//rxPLMF5Ytfc0V4QR1LCojquwQ7K26sYb/q6ysrIxacBXkASrMXvnLtkNIWHWWXDZeYhYCdD5oajwADpUhWAYNpcgdONXJuR6NIOfRPUZRFrkzuRa5T7II00fsHnsLNwtUJTRqLr5pCOWX+jkuRRMt4BdSLnj3TOdGK9i201z1oWwMhGYhxXHyMijL8gnwWsM4oxx9xejKtQZDw99bXJdDZzZTFB3sRjT8vsLvsQ1KdGx9pBH4g== Received: from DS7PR06CA0027.namprd06.prod.outlook.com (2603:10b6:8:54::6) by DM5PR12MB2389.namprd12.prod.outlook.com (2603:10b6:4:b4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Tue, 2 Nov 2021 08:54:03 +0000 Received: from DM6NAM11FT066.eop-nam11.prod.protection.outlook.com (2603:10b6:8:54:cafe::2d) by DS7PR06CA0027.outlook.office365.com (2603:10b6:8:54::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Tue, 2 Nov 2021 08:54:03 +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 DM6NAM11FT066.mail.protection.outlook.com (10.13.173.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4649.14 via Frontend Transport; Tue, 2 Nov 2021 08:54:02 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 2 Nov 2021 08:53:59 +0000 From: Gregory Etelson <getelson@nvidia.com> To: <dev@dpdk.org>, <getelson@nvidia.com>, <viacheslavo@nvidia.com> CC: <matan@nvidia.com> Date: Tue, 2 Nov 2021 10:53:37 +0200 Message-ID: <20211102085347.20568-1-getelson@nvidia.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211101091514.3891-1-getelson@nvidia.com> References: <20211101091514.3891-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 203c7000-9985-4c4d-9380-08d99dde5181 X-MS-TrafficTypeDiagnostic: DM5PR12MB2389: X-Microsoft-Antispam-PRVS: <DM5PR12MB238950CE44170D2FF76E7A31A58B9@DM5PR12MB2389.namprd12.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ircf0ZHsfHanKIMhhw81zlj/o0W6iXBUhvvhzw3ol507qYDloZw9IWhysQVXTaIBE+3q4J6bKoKcCmUYkhcxla4XWfYiCkXhw0g2QlRtyU4Xoa5yQcT2hziBQn+PmCv7NXKE1Dw6sMXcH452H29Ur2eiSlvotjseZtMNTPHFQWVUF2Jqv/Hhmh4DZnzXcrnQJDapwlcPXCoGAkSDme2+OzKNO9611YA50PF5q5WIgBsRh+xo5ra7uqaxMSNqXTRRLpoq2WFttFtwm2rdc4E+TDcJyVRK+ogB+GKcLngk7Wa72tFNHUDM9GrTZeGdkYb+b9TCKVBVjRWT2KKHcU2ZuMXwB8iMSWgDa2ErMG/VAIx4BMchpw60n10jOXSA2wCFI/0pWWKGDOl0HSTWZBTEOnTTdKgG1eQeMjEmWU5fl36QeICAj12SclflFVtJd8orvrocrwXP2UcjbLK6gby2ZM7V9pkRcvGu/olwAFXQTA/Cc8Lz/RAdMdK5seVXPdeAAyCQUEymhRrdPell/mSS87lAeo4XNmnnUSDD36z/9SpoVwYN7fhx9jsWWC4ezYK0159gMfVIh1nqKms7rXYn6JRiWQznXUXFghy2nlGngVSd0/Zji91BRBEAPtw0M1eAMNO6Ae1KbDkWfaWTMT7TzN/Q6G6+ThpHwSSjC5yfE421jJLyWXgWI+RIUN8pept6VHdwO2oefZ7eicZdfBp81Q== 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)(7696005)(186003)(508600001)(16526019)(86362001)(7636003)(26005)(2616005)(70206006)(356005)(70586007)(4326008)(426003)(36756003)(47076005)(6286002)(110136005)(316002)(36860700001)(107886003)(82310400003)(55016002)(5660300002)(8936002)(83380400001)(336012)(6666004)(2906002)(1076003)(8676002)(6636002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2021 08:54:02.4403 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 203c7000-9985-4c4d-9380-08d99dde5181 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: DM6NAM11FT066.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2389 Subject: [dpdk-dev] [PATCH v2 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. 2, 2021, 8:53 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