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 CD23641E33; Wed, 8 Mar 2023 18:02:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADCD7410F9; Wed, 8 Mar 2023 18:02:09 +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 38735410EE for ; Wed, 8 Mar 2023 18:02:08 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RKsnp6K247NzyeQWSMDxTt1Sq+EhzyXZ51QoZSiu/ZRT/PHdXRW+ukXLG+JzagLwYIFmp8VWyHAQeIRjK6OcczrkpKhcn13ZMVM0G7sWteRFdrp+HxeKZFVzIAayg5dDEksdLhdSlBtt9jc+utCBaZz4iMLdSO6xg/eSP6/mjj35KPQQT3fzSf1ePSiLJBgvKUj8JDEslrizke6KW4VK1f+6zFHraDdi8hpNAA98BJGqiJmBqMua2AlNPe0JVOLn/2GSmIMdFweEwwVXpbKheF9JjxVBmGTN0d/sx17e4yWMtgahUOAzyTnFdMpfRNqy71uZZNvHwzZbSsbr8KWf4g== 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=TvHPsRkI4O2CbmA06yxuVbZV1JIHTNsQfZVHwIILDLo=; b=UJDe0sgqNUFf+kErK7TUv7WRr2bFEijApZwMVvXOLrcxaQL/UjyZoL/aR4htJVGVnmfx4euiUCaljzNCxXzRM5nHzjEBmi471WIMs0KJz3r84rnwSMDPeJsnZRvxuU4Kf7ad99kk7Wl77SMvIy4lqq94AU028h5aTT6jiMQLUxHlWr5773x0c8l7980uD7+E7BVul9NWra8S3FSVolBW0KLoAUV+fZcLXilPAYExiE/EKia2l1eRKQcHsrxJgl280Zh0SzZlu5v3UNcY25iUUCJlKXB4LQYsVz6/uXjKB+JPd1EthBvyHJVn1fSD2q2wJ8N3rdx7qrwgIzn5L5N6eA== 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 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=TvHPsRkI4O2CbmA06yxuVbZV1JIHTNsQfZVHwIILDLo=; b=j23ddjdcJKGQnNx+4m5/gjYzcKIER0Sn1d96LEr1i/ApjmTwIJBrgoEF0/voNfWRbsR3BZJ42qBLWFXoBWHMLvSIr597pCKsjr10R81QDb6HhyfNuxYZPUan/UKbxYUSraEpcl4ZSCe56GZdg4Y7A9MfjpEqmQA5hfhxHeSZ9/9BnqFdHc15N7rKu44+zT20HUSuzyk8Afnw2JSqYLh+FkNgwQFLLW8rrTzwRSyErNbQjE5f6OdUeB5DVWJ2HoMybhgKOk3xgmt0+CCEYlFYBHgs1a7TGiFFHjQxigYQcaIZHamNuhMzuREC64jRyKzNyiFifdwo62T0Ipou9xmOig== Received: from BY3PR05CA0021.namprd05.prod.outlook.com (2603:10b6:a03:254::26) by CH3PR12MB8851.namprd12.prod.outlook.com (2603:10b6:610:180::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.29; Wed, 8 Mar 2023 17:02:06 +0000 Received: from CO1NAM11FT010.eop-nam11.prod.protection.outlook.com (2603:10b6:a03:254:cafe::69) by BY3PR05CA0021.outlook.office365.com (2603:10b6:a03:254::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 17:02:06 +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 CO1NAM11FT010.mail.protection.outlook.com (10.13.175.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.18 via Frontend Transport; Wed, 8 Mar 2023 17:02:06 +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.5; Wed, 8 Mar 2023 09:01:45 -0800 Received: from nvidia.com (10.126.231.37) 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.37; Wed, 8 Mar 2023 09:01:43 -0800 From: Gregory Etelson To: CC: , , Subject: [PATCH v2 0/5] net/mlx5: add indirect QUOTA create/query/modify Date: Wed, 8 Mar 2023 19:01:26 +0200 Message-ID: <20230308170131.3195-1-getelson@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118125556.23622-1-getelson@nvidia.com> References: <20230118125556.23622-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] 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: CO1NAM11FT010:EE_|CH3PR12MB8851:EE_ X-MS-Office365-Filtering-Correlation-Id: 3425a372-18cd-443b-ec64-08db1ff6d8d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5L3SrEa59CtenQDeEk9nLuykVDUB/D9tUJaH9UzYMZp8lCKNkV7qaP/B6URYjSQvFjfU/Y3surgpceaVuzBSuTh71YSGvvnS/l+GDsX7E6tbtexebcS9TXvDHvzSur+zF0YjGg0aGcCQe6HyTsoPWLjNwlOnxxmUpRdNi1YszF4yLG6IHEohh19vm1Ic52gigaVnZkrnC1BaGEOb3Zi29GRPvScliHpeEXh3vd1MrjYnmIJZmwzRNfG4QP/8J0ihtvxvlC9qjPj/QT9MEn0EOJXO1vZugSgKLTsDXIXGsyzpqtQotKaTE4hXAkI3fBkiTWv6zCWfWNP+r0vkdyIhVAhTcKD+EK/XVxyINyFsE9YZ58tX37yX9qC3Eaw3Tok/tPu7Cume/4Shp8Ubxs+UEZhLc6TETOWKSIrJvLFpMv81J+ksqMrA5han90n4uiWEsNg8lITmwxmBHvbS4TJeldXDnnLOgbVY9FApxKE1dKIUsQblmqwPEtX5pHgkWhriImkx1EBBWvg9rkyBrUKB7cnJYJU/hLZDNIIn9IapMSysziQmildq2T8Rb021swDcGz291++b4y3hgM0rusfR/Z2hcPpfI1kSuu+rM6ltGQQyxBEG1bDVKmSFgwZDAPkrf26e8ddnYQaFiYfeN/19QE5N5XUcSYh6MvVa7WH6eZp+u9w7K0lOJLe3kbcIZ6bAHeeGadWJ56w7mUuJCS5H5Q== 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:(13230025)(4636009)(376002)(136003)(396003)(39860400002)(346002)(451199018)(46966006)(36840700001)(40470700004)(6666004)(26005)(186003)(16526019)(6286002)(356005)(1076003)(2616005)(107886003)(86362001)(4744005)(336012)(82310400005)(7636003)(2906002)(15650500001)(82740400003)(5660300002)(8936002)(36756003)(41300700001)(36860700001)(426003)(47076005)(70206006)(4326008)(70586007)(8676002)(6916009)(83380400001)(55016003)(316002)(40480700001)(7696005)(54906003)(478600001)(40460700003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 17:02:06.2302 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3425a372-18cd-443b-ec64-08db1ff6d8d3 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: CO1NAM11FT010.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8851 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 Add indirect quota flow action. Add match on quota flow item. v2: rebase to the latest main branch. Gregory Etelson (5): net/mlx5: update query fields in async job structure net/mlx5: remove code duplication common/mlx5: update MTR ASO definitions net/mlx5: add indirect QUOTA create/query/modify mlx5dr: Definer, translate RTE quota item drivers/common/mlx5/mlx5_prm.h | 4 + drivers/net/mlx5/hws/mlx5dr_definer.c | 61 +++ drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.h | 88 ++++- drivers/net/mlx5/mlx5_flow.c | 62 +++ drivers/net/mlx5/mlx5_flow.h | 20 +- drivers/net/mlx5/mlx5_flow_aso.c | 10 +- drivers/net/mlx5/mlx5_flow_hw.c | 527 ++++++++++++++++++-------- 8 files changed, 592 insertions(+), 181 deletions(-) -- 2.34.1