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 92772A0C4B; Mon, 8 Nov 2021 10:23:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20E6C40DF7; Mon, 8 Nov 2021 10:23:39 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2046.outbound.protection.outlook.com [40.107.237.46]) by mails.dpdk.org (Postfix) with ESMTP id 0BC3240040 for ; Mon, 8 Nov 2021 10:23:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BvuUIF9Se++xtnotkamd0WMn8zfLOqJ+zL8V4y0fvHGwz0LpUM26JmmO+voI3HQJs/Tvv9b5J0GsoytrKaQOEVEk4aB6+3dRQUl6G13GXtXtEgEcqOjVdoJf1oaqxM/Mq85NRHSgV6OEuvf5x+azAtGI/mPOk5LRJZO/pdjqvVqPp0KTuuGryLGIEGHY8bTe1/2pv9Iob8MzSNqvPwXrrIAgYM+GFCbZtDiK//d9s+jCP1YD7rYBvxDKYoRMGqDb9CEX8jVWMYr48zAFbHyrh3q+O6ZQG75kGKwK+cHk3RrlyOh7dA9lkQkVEMhrbmyZw4QHG1DBuYL61Zf2KLkqNw== 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=q7GSvyK+dOKz78xTZCYs+iuYE9ZyvDpda/Tzv80aLzA=; b=ROhHRAtP1b8619L+yW9nFdlIwiOvYkV9zJ2S9IidVoFnvUXzst6tQzCvpVVpQnXag017yIG80r8fncFUmXJPltEBiuXgsz/1WxPqeyMxNDGyaL4aHe1DtFc3GgFa0oX7MfSptoGTqAJJRXSjmcHmDLEaocl7MYLBTe0ZydVwqQ9CynQh4WMPGhrBTgpuzLLTkXX/nzsXmnOzw61OY/48VilislTt02WlGDs6b+4WGMWsIM6ArUjSBuNAN1cy/mo6m2cWvHCUzMH2gSOTvWgsAaYlOeqHq5tghbTZaQ8v4XtdIMfpPzBeYVk0lrChJ6LLnoVDUJ0BE/jLE04DMg899A== 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=q7GSvyK+dOKz78xTZCYs+iuYE9ZyvDpda/Tzv80aLzA=; b=iBt3zMD0tQ+Ob1jnVcMWA4PwLCy+6nDSQIpCl/2+cyb5p/F3HKSS+sQYqT9v7+WcogKTqtUhdNQIkPmsdGq76wxR17r2cSapF1trQM5jQy8mBti7dx3VxucASuOCbYCXmDrNVyLSM/Wq6Xm4jiEhlvAtBnV3Bm9muuAIoTiXJHYzmI+2/VedV8Nnka83d6kg9rMqw6JgfIJG0RQg9NKPB3YflmhhT5wPt/D0SDNJQn6yPohAd8XecxruSgCLzSMckrmsI6UEU8ALc15mRQXNwFukHvFh4qBSGe5qG5+77btB681MmkUQhEdSFM88yhaesWGxP3tXI5P6miy1BD4V6A== Received: from BN7PR02CA0011.namprd02.prod.outlook.com (2603:10b6:408:20::24) by CY4PR12MB1878.namprd12.prod.outlook.com (2603:10b6:903:123::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Mon, 8 Nov 2021 09:23:34 +0000 Received: from BN8NAM11FT014.eop-nam11.prod.protection.outlook.com (2603:10b6:408:20:cafe::dd) by BN7PR02CA0011.outlook.office365.com (2603:10b6:408:20::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 09:23: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 BN8NAM11FT014.mail.protection.outlook.com (10.13.177.142) 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:23: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:23:31 +0000 From: Rongwei Liu To: , , , CC: , Date: Mon, 8 Nov 2021 11:23:16 +0200 Message-ID: <20211108092319.1780719-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: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 453e88dc-1259-4fbd-dc5e-08d9a2996fb5 X-MS-TrafficTypeDiagnostic: CY4PR12MB1878: 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: G5pZkoLq2qLvuFqzVXlZf/vsVe8DQMZW737adhjY6wgzDohX9BJFEHO6iLlzPuUP/t9w0RgNIZPJ88vxo/HGNW2j/9nHKOT83ba7LA7d6R4C1kQU+b1Y+32DdEcXsFuVKpvfu31UpU5UxIe9UZq1dK2hftcsDH4ViQT4JR8ge7Mn5/gOJlGOLa0aJWQsS8/C2HyODoddcg70Y55idXVoX8v3JLj+nr0Hf56WwyL9iJMBuMaoK7CfJAGBnKSkMd5IG3LVucIKnFtZlVBmsNZmy+gK5cOIFsbKhgKea5DctYljfzYsrHdZXc0Yds4u2F1O/BsEQodPsiiZMSFLq7opepbyWGoxFZZhKqTcWpOkJY3nY3PbGqdA3W1V9WtlrXwLP2+WnzBBK5gPIKcMd3GMTcbLL1R8M5oCIDxA2lPgdnlCQYnOv7jahQOqP6x8D80PBJKpU4AVBI3V7uNHlXHOl9N9g4BujROu2kygy6TFYvLaucbDenDK8Mb9CAaDrd0g/LwZyEf9grwln1RE5nN3kIaT9OBeoqoPzziZCvpuJWmynEJSpRcGvqPaRhPkaIjOz4yJ6n/JHysdeuUMFBhr4mdsTk7GQxm6HY+2mih4JZTuLeaj1MeUSTDyWROCk7jhxBR0nvkv2vaitnKpHo5Yc2zOFavCstiHA8De2Wz7C6lgPMTe0UESKcwuj1VlXzoi0wTsAdlFFtAWjhFSvsi0lw== 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)(46966006)(36840700001)(86362001)(4744005)(54906003)(36756003)(8676002)(8936002)(82310400003)(186003)(316002)(36906005)(6666004)(55016002)(336012)(110136005)(2906002)(1076003)(70206006)(70586007)(4326008)(7636003)(508600001)(6286002)(5660300002)(2616005)(26005)(36860700001)(356005)(7696005)(47076005)(426003)(107886003)(83380400001)(16526019); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 09:23:33.5822 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 453e88dc-1259-4fbd-dc5e-08d9a2996fb5 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: BN8NAM11FT014.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1878 Subject: [dpdk-dev] [PATCH v5 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. 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