From patchwork Tue Dec 15 07:31:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhang X-Patchwork-Id: 85186 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E2A93A09E9; Tue, 15 Dec 2020 08:31:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E5B86C96A; Tue, 15 Dec 2020 08:31:31 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 388A32142 for ; Tue, 15 Dec 2020 08:31:30 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from lizh@nvidia.com) with SMTP; 15 Dec 2020 09:31:24 +0200 Received: from nvidia.com (c-236-2-240-245.mtl.labs.mlnx [10.236.2.245]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 0BF7VOkC005436; Tue, 15 Dec 2020 09:31:24 +0200 From: Li Zhang To: dekelp@nvidia.com, orika@nvidia.com, viacheslavo@nvidia.com, matan@nvidia.com Cc: dev@dpdk.org, thomas@monjalon.net, rasland@nvidia.com Date: Tue, 15 Dec 2020 09:31:11 +0200 Message-Id: <20201215073119.404947-1-lizh@nvidia.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [dpdk-dev] [RFC 0/8] net/mlx5: enhancement metering support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Li Zhang (8): net/mlx5: use mask for meter register setting common/mlx5: add definitions for ASO flow meter common/mlx5: add read ASO flow meter HCA capability common/mlx5: add DevX API to create ASO flow meter object net/mlx5: flow meter pool to manage meter object net/mlx5: init/uninit flow meter queue for WQE net/mlx5: aso flow meter send WQE and CQE handle net/mlx5: add support of ASO meter action drivers/common/mlx5/mlx5_devx_cmds.c | 68 ++ drivers/common/mlx5/mlx5_devx_cmds.h | 26 +- drivers/common/mlx5/mlx5_prm.h | 75 ++- drivers/common/mlx5/version.map | 3 +- drivers/net/mlx5/linux/mlx5_os.c | 21 +- drivers/net/mlx5/meson.build | 2 +- drivers/net/mlx5/mlx5.c | 77 ++- drivers/net/mlx5/mlx5.h | 224 ++++++- drivers/net/mlx5/mlx5_flow.c | 132 +++- drivers/net/mlx5/mlx5_flow.h | 188 ++---- .../mlx5/{mlx5_flow_age.c => mlx5_flow_aso.c} | 279 +++++++- drivers/net/mlx5/mlx5_flow_dv.c | 280 ++++++-- drivers/net/mlx5/mlx5_flow_meter.c | 622 +++++++++++------- 13 files changed, 1511 insertions(+), 486 deletions(-) rename drivers/net/mlx5/{mlx5_flow_age.c => mlx5_flow_aso.c} (69%)