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 4CF16A0548; Thu, 11 Nov 2021 15:23:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 07EC440E28; Thu, 11 Nov 2021 15:23:59 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2069.outbound.protection.outlook.com [40.107.220.69]) by mails.dpdk.org (Postfix) with ESMTP id 767A340E03 for ; Thu, 11 Nov 2021 15:23:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mZdpCb7dlg4zTxYUJuLTO7oJM8teQWVu8kkNeA99jyr6Hv7Xl8J9muOYDKb5Wnrz/xNSkF0blk5ZnAiLoO9cnTOdcQl9dcf6BUuHTPpD9EBf3o1/OTxjvuoMuwiIN3yvkE56V3SJxsi8qWRgvCp/TwLuKyCy865RC0IcGgx3POuMwR+At5YswWXwNlLoOJGwRcFgkaceMHMWj71N3VyyJrumoWQeHNR6CyJni3dGCe+rKTwpTr2M8tSOectmqU4jEG8utsO+zsTjc8fZGq78g7z56Rsy2PB2fkTzPBSo7EKF7cGrQrlJ2WEw+7AnlNkS2rL0/TDi0bDI+MRCRDTDhA== 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=hinYsI/dytdmXgak4865me56KPBbpmK/A9TtxVycwEo=; b=S7JSye2Q7AcS9Gw7WoghEEAeJrBM40s/pFoZM1Vff1O4Offzt7HMX9/hNrxTu7X0bEC1hIIxHRXBn5/yiifPinfdynmtulonEY6gsOXiCNtfvy4vEukop06mtpPqAr4MsIloNxjrkF4LY+sbpchtDRSJkY1epZlRlwKZvegVofgoAu5VugLobawX2B3ycIQAZ1r+cefW9PJBpTmt4m09w/0QMTLw9QEW3cfs/45POsb3IrvythlCnmMU6+sDqMt8jPbw/wC3AmWjKGtmH70pn3v9aGyZWTG7LVDilvMHkBdYWOPKB47k0TyAuO/l+stob1JzjQJhoMp62t9PsgWMSw== 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=hinYsI/dytdmXgak4865me56KPBbpmK/A9TtxVycwEo=; b=RGOYwxn14Z8X7XUImQmBQnngf1bZ3p8tE78wMtQOQHxaViVV0WqynoybaTUOmCnilLooUeH06hhtR5cLma90PKePKSZIxyAs0/P/J617/eLAgFrs4Y5H4Ovfmwq8QtssEB+yqKFDH/A8Ypxxqzzu4N38GiVgM8Ghyd2NaRozGPw79lTcoV3WN+yzmz99qaVbHHfg1Fsii/s4EPNWrVXlNGgHga6+DSpzNCbJoAAfLVP2yL/BxiMHrOCmXG5PZjuW0m2xZ1X6gV5BfG7+gocHCAolL4E6WkdHf3H4J3buxtslmrlxIpFG38BQYFwfRCEcAVa3foxXdqOAAI8JMTIcbA== Received: from DM6PR03CA0053.namprd03.prod.outlook.com (2603:10b6:5:100::30) by DM6PR12MB4563.namprd12.prod.outlook.com (2603:10b6:5:28e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Thu, 11 Nov 2021 14:23:55 +0000 Received: from DM6NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:5:100:cafe::23) by DM6PR03CA0053.outlook.office365.com (2603:10b6:5:100::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Thu, 11 Nov 2021 14:23:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;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 DM6NAM11FT048.mail.protection.outlook.com (10.13.173.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Thu, 11 Nov 2021 14:23:55 +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; Thu, 11 Nov 2021 14:23:53 +0000 From: Rongwei Liu To: , , , CC: , Subject: [PATCH v9 0/5] add meter policy support in flow-perf Date: Thu, 11 Nov 2021 16:23:35 +0200 Message-ID: <20211111142340.2209292-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: b88976b2-fab7-471e-65bf-08d9a51ee4a1 X-MS-TrafficTypeDiagnostic: DM6PR12MB4563: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E2RecUwYciKVybGU1hsrFSABVYa2TiKyGzbH1WqBchhijIIaODvfJkFkD3b28NHnzhpPnXjWkCgAcCiL7SVN2e0dBb6+a1GVlMUtw2WMqiCbS6zVW/UiKLfgK02nY7hsdMq4DiUU74mWY3Vptov9LqeGKvzjdDnncB7JoA4RzcwhH1z3S+XMqmG4veVCf9XwIA4EOFyMgEhqSfiT27uxELRjqKC02GnBFmUmfNTi/pkTHStmBxR973qmHfsJEkGA7t1e5UTZAti+JVpjpKj/IMe0yjD0tbKMq4UJPhxqBbh4UHj6F1J0CjlZV+szO7WlxM+VtheIj+l8l+K1wpNvLZUKIQUTOjW/zyPBbSDvrwgGBdGDyZP5ChjCYtw668Puh/wr6H0NAtD4PyVtY0PSutotrNKbQo3rTkLKlWd6XmzoSRlVOi/KksWtoLGxRIs2Ue58bHWR2f/lARSsx4p28+lVqbe5SQuwCDSIWG9Cfngp6yiZDLRFWnsB1eN/J1x1bHxV0IaS5ZUa43nJjEQzjeajhTG2sCWv3OhMQYR/XKFk82wTCOD9n5o9hYRXj49jmu0l0mBBVVFW3rJiHhO4pexDawwhFv7uSCV2qQiQ5zsRaPkT3a9WaCSHHV0HOzy0kSuxUzNdBeFSGmUand1ld0yoMTQOers7/1qdgGU798u2w4Lsldd+A36v6Cft0/lKUucaVCtZPxeyblWUWeXpCQClk6Nu5kmZlgExmOPjjKJgJ5txU678SchfRBdk3EkSwiMUMH8bLQfoXRo7SC5ALvGCaLanXjymcl7jPsoounU= 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)(70586007)(55016002)(8676002)(6666004)(6286002)(36860700001)(26005)(70206006)(2906002)(107886003)(47076005)(83380400001)(4744005)(5660300002)(36756003)(186003)(16526019)(336012)(54906003)(110136005)(4326008)(7696005)(7636003)(1076003)(2616005)(426003)(508600001)(8936002)(82310400003)(356005)(86362001)(316002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2021 14:23:55.1890 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b88976b2-fab7-471e-65bf-08d9a51ee4a1 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: DM6NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4563 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 Add meter policy support and provide options to specify green/yellow/red colored actions and cir/cbs/ebs values. v9: split into more commits. v8: clean log. v7: rebase on top of dpdk.org/main and fix existed styles. v6: rebase on top of main. v5: fix intermediate werror. v4: rebase on top of master-net-mlx. v3: support yellow color action and ebs options. v2: add option to specify green color actions. Rongwei Liu (5): app/flow-perf: define flow-options as global app/flow-perf: support meter policy API app/flow-perf: support dynamic values for meter profile app/flow-perf: add packet metering mode app/flow-perf: fix previous wrong indentation app/test-flow-perf/main.c | 834 +++++++++++++++++++-------------- doc/guides/tools/flow-perf.rst | 16 +- 2 files changed, 501 insertions(+), 349 deletions(-) -- 2.27.0