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 1915E42A81; Sun, 7 May 2023 09:40:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 989A740DFD; Sun, 7 May 2023 09:40:30 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2075.outbound.protection.outlook.com [40.107.102.75]) by mails.dpdk.org (Postfix) with ESMTP id CF6DF40DFB for ; Sun, 7 May 2023 09:40:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XYxFHvD+W9f3sKCgLw7exlfe5v0zpWwBfuD2QkY1lVxDTUZaAi6NdeezlPi4gRMISx52QtY75E119cbIwjhp1d+yY5P1VEgrr/rRyBwdvE/AxWU+7jcWCnRWdK5FQxolYwQR1P19KZT23FvTdIK1yf2C36B/RX7ucW2Z38hun1dTdsuVfJxW426invJVA7zhn/ykqZcdscSkqqvPUox0Rp7botZWK+F6PR+f+UooGf4urTfMeEH1MYy4lwVlkeBbAHSW1gdabg4BlWLXFzXQHeZEf53r6SyeZFfRNWelgI05k0YdLqHjc3lElh64vUb7XZ5IVmp912EsXsuinJeGuQ== 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=uW59+Ana1IkgiFNIHpUCjJ7zeC9LUUqsHGJjsWLl3Fw=; b=MsiOjgPwN1P21nEEO/m+Gr3xPd/xQpOBB6CuOOcE1wlbVZWyBo7kH0LSwpShcWCVGw3C6K2dKW3hH8fUv+dLGHOUow+alR6Ylw13rfjPeErr6p2P0ABqjUdc7TfdIL3+0y63mztbevbjr23ru6sKLrjZdErTsYAxLM0JMqSfCN928SjPf5Np9ZhkAamlLZ3b25QXw1+ioJgZqJee1A8ughCD/Un0A3CrBDHbbZN6GjbI6BfN0hIBPua80xdasfKxqSTCmnoCRtKj83c/dofUsgwmEThmnoNCHHUXEftsr5JNNmwoi12W8l7Y9Lwp+fxSg6oewNIR5ajatEBzVflRiA== 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 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=uW59+Ana1IkgiFNIHpUCjJ7zeC9LUUqsHGJjsWLl3Fw=; b=H5Mcr3blRI7yiMHisn64FSumspFu6ak2IOD923NuchG3h4n8o8i2ydTN848yP2oBNBgsOkp3e3RT7GE5F+CstVPZHn6pQuS4LGH/D8pL86rTU4xCS8IPrMYlfGzrL6Lfic3mvbrJ34nP7jIM1LM6tJlVcHbZa6R9o1PT6tq1yTxNOO5yQBAT96oBtTnvAtwVba8/Q70XSuk+HIShBjHNIgVe6G/9Y+ZOAGj8TFJ4CSe4ok6jK47KI+GZ+e+sd5PrB3i4hm6U3LLcyyCuTexWlCZQdbEpuxl/1/AS6Tk9OTWdVE4XR5VkF+qI6fx6go4knPm5gU2Y8rhXYCxpGVtEXg== Received: from BN6PR17CA0026.namprd17.prod.outlook.com (2603:10b6:405:75::15) by DM6PR12MB4418.namprd12.prod.outlook.com (2603:10b6:5:28e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.31; Sun, 7 May 2023 07:40:25 +0000 Received: from BN8NAM11FT053.eop-nam11.prod.protection.outlook.com (2603:10b6:405:75:cafe::a7) by BN6PR17CA0026.outlook.office365.com (2603:10b6:405:75::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.31 via Frontend Transport; Sun, 7 May 2023 07:40:25 +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 BN8NAM11FT053.mail.protection.outlook.com (10.13.177.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.32 via Frontend Transport; Sun, 7 May 2023 07:40:24 +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.5; Sun, 7 May 2023 00:40:12 -0700 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; Sun, 7 May 2023 00:40:10 -0700 From: Gregory Etelson To: CC: , , Subject: [PATCH v3 0/5] net/mlx5: support indirect quota flow action Date: Sun, 7 May 2023 10:39:47 +0300 Message-ID: <20230507073952.4061-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: BN8NAM11FT053:EE_|DM6PR12MB4418:EE_ X-MS-Office365-Filtering-Correlation-Id: f5c10176-802f-4cc3-e079-08db4ece51eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C3P88SyUpBsMsB+AqthsYLSOcufaboYYCKBc9FcY7tw+EEWZJwLzSaU3jsanZnfDhWx4momfPuhGBzV4c+q6AN2fFWBf0tnYb+526ajdXAI39Rue/ZkFYdnZZi6LjCvzyBEaegA7Pyws6L/7tkDrf4ej+TW71+KRwypw1maGqdiihX5jNNF5jhM4Z1NbI5hl1MabA6elaUE3FlqJKTy9U5Tt4VTn7UU07y5qQ2hBOQ7oQebkbbPbFkWfbQ/DTt49+myfJqWkT4O06JmhCuka6l8UKJIK2W7AsLr/rLPrKKhIFu6MmEGVkXDXkpn1Q6XOx2EBmj+0abQswLxFdUcXEEpUFz7WKVInWIGXeJeb21ASgZcPZ82rVxWg4Y0buu7WaD7l4lIunEnQQp/oURCGiW0SNMVhDz95dUa8q1f5iaPqODGbihK1/miYr+fI5HriZ0JKHwqhoJyletMnf16fknTg1rlXF1xdy/YTsiy03YdqkexGHlT4XRZZKsSQfrEMDeM0jtlcK5umZhCGfLKXZ1pxktBanx7jJaetED3RP50uuAjFr3OQ7QG/s7jGM53q/KlMKa2LIi7GrEQCahQIq90IPesuOuf4k5V0CaBVE4MSb1wtENR4jAXK5LIb+Rai692lcjfmfGOVH6cIJs66/6vcbzXmHWrW8ZlAWqMj5D8ryUOXbAO3eYqg/ppb9LsYMZupBegDA0Hukq4kimPphw== 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:(13230028)(4636009)(346002)(39860400002)(396003)(376002)(136003)(451199021)(40470700004)(46966006)(36840700001)(86362001)(36756003)(6666004)(336012)(426003)(54906003)(316002)(70586007)(70206006)(6916009)(4326008)(7696005)(478600001)(82310400005)(55016003)(40480700001)(8936002)(5660300002)(8676002)(2906002)(15650500001)(41300700001)(82740400003)(7636003)(16526019)(6286002)(356005)(186003)(26005)(36860700001)(1076003)(107886003)(47076005)(83380400001)(2616005)(40460700003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2023 07:40:24.5824 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f5c10176-802f-4cc3-e079-08db4ece51eb 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: BN8NAM11FT053.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4418 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 1. Prepare MLX5 PMD for upcoming indirect quota action. 2. Support query_update API. 3. Support indirect quota action. v3: prepare patches for dpdk-23.07 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 doc/guides/nics/features/mlx5.ini | 2 + doc/guides/nics/mlx5.rst | 10 + doc/guides/rel_notes/release_23_07.rst | 4 + drivers/common/mlx5/mlx5_prm.h | 4 + drivers/net/mlx5/hws/mlx5dr_definer.c | 63 +++ 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 | 526 ++++++++++++------ drivers/net/mlx5/mlx5_flow_quota.c | 726 +++++++++++++++++++++++++ 12 files changed, 1335 insertions(+), 181 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_flow_quota.c -- 2.34.1