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 778FBA0C4D; Mon, 8 Nov 2021 12:11:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56BD440151; Mon, 8 Nov 2021 12:11:11 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2085.outbound.protection.outlook.com [40.107.237.85]) by mails.dpdk.org (Postfix) with ESMTP id D18F940040 for ; Mon, 8 Nov 2021 12:11:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SAc12PyWlovSrF0YpxwV6UxQ0VCufRcF1LyUQ+wEmp3zwVsT9sFMwIsyjaiKIjJmwV8SQ61YzOWXnxk6nrLVl9Js5vHBZuQ/aA2PaYiWj348T5IsElEbKZJ2MeCr4Q3H+ip9AN+dna7SxiWJYdm3pjy9q+G7RS0CaShncVU8RawozAiu4tHXHZsukFr3zg1gYfLy8tSRcn+VpMMpcKLw9nrTt+LAI5bNhU3OccEoe8LeIjjepBt/upKVYAIvlJ+2aAaX/H78du4ynBEqGgdbfxVPd5kxeaqRZYkoWap3o8+pVgxPiBWSYhqQCQpmB8km61yMxRJ30w9hPpa3POI+uA== 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=P0j5ODqk3azk4svXN7HuqH8lL0j0qh1ehNL1r5+DLd4=; b=ImCAJUU/0W26rpgWfuQcWVT/a7GGpuN8h5EDCVvK7lLPLkNe5YI/K3sev1OcWy2WSN6EBf50sioe0EoxNC7OqgbQsxUSzvdfDLFEGszNr7ouwS7nmEmfsgwGKnZaoQt8442O+WnsyG8CU2HHY9YOnMAE0iue5d+siakwdu0hxe+RwGfVxp6p/s6HdqPlJFmnHzpJBTCVjrg470+FpQTCoZOfwP/I8z2gtM2epuFDpPZ1NBLwY+8GgalZp6gUIhlpTnd5n4A3hE9/Qr9ovVNrykrXM6FMdgI1RjML1I+v3aCKL3SVKuwX8IyDbc5LEIsOj/Nm0EKdQ+B71nR8tW3O+g== 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=P0j5ODqk3azk4svXN7HuqH8lL0j0qh1ehNL1r5+DLd4=; b=ix/kB/hWg1kPGWDaJOgFjv8V+pilzNx7w0p8TdagsupQ1RVDVxTGLYEbdbpG/zt9u336tQtpxFNj0/AZ+Ux+TTiAZx/ti0YnwpifPcxkrTRHOGd7CiuRAO9u76uVlrdSxIVqVqu8Ogo9gPiQMSRFMhmMpG3Xeib44rFgClAMd3DINVX6aNi7XutcLIOCoZpBsVRDJErQpxQECMxgDfHPiuPXz+gQq/QuM3OurZCkPBstQFtqyMBLKC7A2RSnCloEHuBZRgkWGwt5rZc3+0avoiG9Bp0qesWgZwqoL9wEBVwInoos+Rpw4P1fvK4vzx7Ox3EIjyaGbqUb52d+zfyGUg== Received: from MW4P223CA0027.NAMP223.PROD.OUTLOOK.COM (2603:10b6:303:80::32) by CH0PR12MB5332.namprd12.prod.outlook.com (2603:10b6:610:d7::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16; Mon, 8 Nov 2021 11:11:08 +0000 Received: from CO1NAM11FT065.eop-nam11.prod.protection.outlook.com (2603:10b6:303:80:cafe::7e) by MW4P223CA0027.outlook.office365.com (2603:10b6:303:80::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11 via Frontend Transport; Mon, 8 Nov 2021 11:11:08 +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 CO1NAM11FT065.mail.protection.outlook.com (10.13.174.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 11:11:07 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 8 Nov 2021 11:11:04 +0000 From: Rongwei Liu To: , , , CC: , Date: Mon, 8 Nov 2021 13:10:48 +0200 Message-ID: <20211108111051.1841401-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <6177033.fEpqbVaury@thomas> References: <6177033.fEpqbVaury@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 927e9b39-6c8c-4119-c9fb-08d9a2a876ad X-MS-TrafficTypeDiagnostic: CH0PR12MB5332: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2887; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WSo4TCpu2L3imXh1pcc+X49gAPn5QLLIASkPmGQvQpvvYrXgC5JzapUgg2tavUCC/5VEqB/4rQIr8bZjBCmogdDqXmruLcmbp5CZ9l2YDjCDrdvUM8Zzxdlp8Zgj3ODBrFFObCiXAqExIxKcsjUYqO42YbHEpSWtRbGZJRl1DMUh/5nhbLt/8u6biy+ZWVg8ihxfdrsq26ceyDNt5jtpHMQU8GdrlKTdYQsWVCzHpEftMB9ESK9+Oac8aF194WeDtj/ZNn4EV8te+Zmxe/FjCNZvodHpmXGxCC8vB60ePVWbcNJjfynvRVsMi7rEeG9mY1X2vPDZstAZWVgw0Nf2ahSf+svo7PyAzdBz6pePkQgaN3fzxLk8Cx1xK+/+QlRnlXaQzgQBJXwGX/kFT6wRYMFtXdS0UlWGhhBy0XQkKeGW6Rhkholzh40KG2c/CIGAWsbP3wF6pmH8wKc1sIKbfadSvtHLKVFm7cU5ejVCvUn3XSRyh7YFVarLe7bNI0LHnw6mdD2mEHwb7YzSLBv1TlcS9BAnh9Grac76HVMsBpiJQ35E75iiNEUNawChOcvpW2I7kEG5PBce5yoLrnvm3JdQjWssIiYODoltIRBqoTt+M94Hev4XKn4A5XN4gFAVznj+3ku17RIDgjHe8nad8NMezuvV9g9vEivLl2TZRriT7s634aZdgojGDNne7l05OaQLMDrc80jE7z2Nzje+iM0EvFtL9En6Zhlotj5SQEdDf0XP2SfmoEfnBxHR7i3WggeyWfu5L7YnoDclSVUKM3XlvHVnLb4K6rCCM+/LXgk= 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)(36906005)(107886003)(6286002)(7696005)(36860700001)(316002)(336012)(16526019)(2616005)(356005)(5660300002)(83380400001)(1076003)(186003)(6666004)(426003)(7636003)(26005)(2906002)(36756003)(8676002)(55016002)(47076005)(4326008)(8936002)(70206006)(508600001)(70586007)(4744005)(86362001)(110136005)(54906003)(82310400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 11:11:07.7772 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 927e9b39-6c8c-4119-c9fb-08d9a2a876ad 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: CO1NAM11FT065.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5332 Subject: [dpdk-dev] [PATCH v7 0/3] add meter policy support in flow-perf 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" Add meter policy support and provide options to specify green/yellow/red corlor actions and cir/cbs/ebs values. v2: add option to specify green color actions. v3: support yellow color action and ebs options. v4: rebase on top of master-net-mlx. v5: fix intermediate werror. v6: rebase on top of main. v7: rebase on top of dpdk.org/main and fix existed styles. Rongwei Liu (3): app/flow-perf: support meter policy API app/flow-perf: add meter-profile to support cir cbs and ebs app/flow-perf: add packet mode metering mode app/test-flow-perf/main.c | 851 +++++++++++++++++++-------------- doc/guides/tools/flow-perf.rst | 15 +- 2 files changed, 509 insertions(+), 357 deletions(-) -- 2.27.0