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 EDAEDA0561; Mon, 1 Mar 2021 10:40:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D34440F35; Mon, 1 Mar 2021 10:40:09 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id 4B97F4014E for ; Mon, 1 Mar 2021 10:40:07 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from lizh@nvidia.com) with SMTP; 1 Mar 2021 11:40:04 +0200 Received: from nvidia.com (c-235-17-1-009.mtl.labs.mlnx [10.235.17.9]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 1219e4VN020473; Mon, 1 Mar 2021 11:40:04 +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, mb@smartsharesystems.com, ajit.khaparde@broadcom.com Date: Mon, 1 Mar 2021 11:39:56 +0200 Message-Id: <20210301094000.183002-1-lizh@nvidia.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210125012023.1769769-2-lizh@nvidia.com> References: <20210125012023.1769769-2-lizh@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC v3 0/4] adds support PPS(packet per second) on meter 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 Sender: "dev" v2: * Rebase Li Zhang (4): ethdev: add meter PPS profile common/mlx5: add meter mode definition in PRM file net/mlx5: support meter PPS profile app/testpmd: add meter pps mode cmd app/test-pmd/cmdline.c | 4 + app/test-pmd/cmdline_mtr.c | 105 ++++++++++++++++++ app/test-pmd/cmdline_mtr.h | 1 + doc/guides/nics/mlx5.rst | 1 + .../traffic_metering_and_policing.rst | 3 +- doc/guides/rel_notes/release_20_11.rst | 5 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 +++ drivers/common/mlx5/mlx5_prm.h | 8 ++ drivers/net/mlx5/mlx5.h | 13 ++- drivers/net/mlx5/mlx5_flow_aso.c | 17 ++- drivers/net/mlx5/mlx5_flow_meter.c | 71 +++++++++--- lib/librte_ethdev/rte_mtr.h | 32 ++++++ 12 files changed, 251 insertions(+), 24 deletions(-) -- 2.21.0