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 07018A0C4B; Mon, 8 Nov 2021 10:58:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AC6240151; Mon, 8 Nov 2021 10:58:36 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2064.outbound.protection.outlook.com [40.107.94.64]) by mails.dpdk.org (Postfix) with ESMTP id 7578240040 for ; Mon, 8 Nov 2021 10:58:35 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rm3ro6+Y9Tap9rsB9LpHNtSBrfkBpsCvrqWUVNhgf2ogRD21vDSTIfBHOGtHvOZwOtr8SH8/BpOjLbLU3YyeQ5mFCZxsvVREEJUrXbvJySB4mX7GD8qdzDSpct1gkfHOFhHH9QK/OZ/h28s/eMLDQvrZbBQL76EYkS584LI8fCygO/5MHfN/bxR6PG9zuYABMCCyQNzeDDSdiM3+qEPi7r1Vt+bD9Hp/4Qp3y5W/RikjKDusouKYeEYvpfMhsieE5Pn8JQtWgTs211bU5PibGbUgNCPRsIZ6pPWOwUaJJ7NIwi1j+omjHi5cGPqpbgCMwJqHLXPSlmHWe7RaVYLidA== 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=J55RARquYPLwVIq1xeJGjPO4csZErkqvvGH+g1Of+wk=; b=a3aSMmhu3RAM21E18MPX+JKff3zyV2UCn6pe0rEjQ0PpyJ029/+FrKwuMtkzENgWzgg8EDQHTvRU0wsHLJ7MlPcm634mnYR4uYGAFAn44rmql8SoqqhPTnbfpU5oqIEEU9uaDde78WIAoZ5ID81Qf2JJp6cO/VCVT+bC9nORujyHiLoo8bahhnlHR8+xSQLDzo95OqLwdaexIsJL9pUCycBMfgIbmJ94EUhybJRBdfpwibd6sQU6xtdcsMvpkgntazOrYCDBRJzi4E9cbwW5dF8DAc9UEJL3GZx8Ccpw3V58s2hskB0HRH1PKNmaJQPr/WywEFPkEh2D/V6l/2hJvQ== 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=J55RARquYPLwVIq1xeJGjPO4csZErkqvvGH+g1Of+wk=; b=Sbm1Y8+fHi+RzrC3mlIJIvL95TuSsAwmu/7T1dcuokSkU0V5pZNEsTqo+LunrNXirXoNa/gmhPmqO/ouUOAKq97Xs+yzi7H6dQ7nhvcV2sG7jjVlfbGA3FnrotwbmRMEqdgij/dE9DMrs6FH9jl7RqINpvXhovXu0Xu28B6RJfw+ZJsxAKv7zK5fwN0jm//HAr73o76tlE8SNngtt7c3jhs+eVX64so0N/NnN4cYrRV18eROqIZS/MKYsn6x+KJFk9+Eb96TYVkTfNgPBBF0TsuSSBn7msbdymv0NanG8fI+cqmP++FpEtfC12Fq/pQGKTfk2Aa0BQ3+xor0IeLR2w== Received: from DM6PR06CA0076.namprd06.prod.outlook.com (2603:10b6:5:336::9) by BL0PR12MB4674.namprd12.prod.outlook.com (2603:10b6:207:38::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Mon, 8 Nov 2021 09:58:33 +0000 Received: from DM6NAM11FT053.eop-nam11.prod.protection.outlook.com (2603:10b6:5:336:cafe::59) by DM6PR06CA0076.outlook.office365.com (2603:10b6:5:336::9) 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 09:58:33 +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 DM6NAM11FT053.mail.protection.outlook.com (10.13.173.74) 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 09:58:33 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 8 Nov 2021 09:58:31 +0000 From: Rongwei Liu To: , , , CC: , Date: Mon, 8 Nov 2021 11:58:16 +0200 Message-ID: <20211108095819.1783710-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.5] 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: 16a75d6b-ba9f-458b-6ccd-08d9a29e531f X-MS-TrafficTypeDiagnostic: BL0PR12MB4674: 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: 10oG4IdCI13TSGVTbObMbjh4TvQMRkGf+E8EfGyFyPaEgR5d+VXbWBsWbhwd5H5dLwAjqd75Ym2cDNMTuU03hAFY2uJgPcArveYpXsnVovIxxoCxmr7D7+LpZ1x7SXLEoJoJMq0ampl0t+ehNkJf/1DEsX6XwdwhWY8BBu9XQACYOom7/oeN4rjc6NhGnnq/ggyhl2d/DJ/TGxbBuSUuOI2hCBrZ8gGkGia+l9fXJFtoplboMNy6uTybEIJIdXjHyqNc0kD4Sv1nNyFn4Z2DBi93YLv6qPKYAMI6KnhizmhGKsb2wge8aF3ASlJlZmAEuhw9O38qYSwmsLm8Yh3zrs+zVWCpCupkqwZ0F7hidNLqJkVYYYA26OkZTLIe6FSBfDY/aa+O5LvMbKbHLF4YA9j2As6CsoxNh/WWb0+6Uo9Pc20ltJ8a96GR9+obfAYZltXQKbSMXI0HgGXKTMPO65/en1nDTydCrjoilwylGN4QIfLqOfdgI1VRr50boYTmQZ6TygFDl0N56lVT8ZoQvF5vv5GeBx147gh7uL70yOG85jARcqCQq9sm8fCB7zZf4QH1dkR5ScKj/LEnEhbD7gR5qRsRfn7aKNNxo5rPQhTwnNYbUwB8b7XYpqGhiUxt4rPkvdaTK/bGL4611i/Bg5sZ9H1EOwsSam34TB/9rBsUtCLMqMmXv15L8mNjeA2LDUxfPjWiHvSBqQ0YIN4AZw== 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)(55016002)(36756003)(82310400003)(356005)(2906002)(7636003)(47076005)(83380400001)(36906005)(6286002)(107886003)(70586007)(8676002)(36860700001)(16526019)(26005)(70206006)(186003)(6666004)(54906003)(7696005)(2616005)(110136005)(426003)(8936002)(4326008)(5660300002)(86362001)(4744005)(316002)(508600001)(1076003)(336012); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 09:58:33.1647 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 16a75d6b-ba9f-458b-6ccd-08d9a29e531f 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: DM6NAM11FT053.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB4674 Subject: [dpdk-dev] [PATCH v6 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. 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 | 838 +++++++++++++++++++-------------- doc/guides/tools/flow-perf.rst | 9 +- 2 files changed, 500 insertions(+), 347 deletions(-) -- 2.27.0