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 71497A0C47; Thu, 28 Oct 2021 05:26:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E80084067B; Thu, 28 Oct 2021 05:26:20 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2059.outbound.protection.outlook.com [40.107.93.59]) by mails.dpdk.org (Postfix) with ESMTP id 71B2C4003F for ; Thu, 28 Oct 2021 05:26:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K21WUPRCYAcxny4s9UbKbFCC2DNjNrKBH8c7XuC3aBOVXcsUPJUT7h69YlsxPPclyNukY/ZlkAY9SdIB6NunpJyWm53TSRY3uuRWMSUmZczrX27f1fLrkEcOcH1el+qRlcFmb0pmtyWbSPRL1rnHCxsjql7Cdjz4UyVa4nz7qAsxV994pE2WBH/Ms3i8jeZd/f7FlQhHD5QLxzWPVJlq71YQNC/So5x39qkpRg+kUnPRmtmjDglWVmcYPmh21GX4W+6otXfQIDXy9zKPuiQKA/DsW+a51t1F6R/6YKzJMj1RqJ8h49TOdX2EGouq7Hi2a6Cn6S+ycw6TANkABob9aQ== 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=WNv0WFQxh/c+AnprY+Enih74TtONVMBIegikefGGy7M=; b=KssU/DgHu+sjy4xfM9bF4gXMpkwkiAvElP7cX3JKCeFE0G+bZ9JC4OSl9FeVxkKsQSC57p3YP18uJkHy2qvt87QrF2/lZoVpOCgJWAp3E0cvvLfFVR0l6UL2YA8g3ZK0Gk4mkMCfzFmHaDGP5Qiil46Xv7wDLAcJNga7JvAjtJLZ8B5zXSkGGmSOAF/gfDvbHec+aXbkqFJZuWQFMMl4sWkc80HdlsP0nXW15GLBFEJdg2VGo83pFpPuAeuDoADgdfvYwhmr/k1iexI/gIqBMTPiNHPKrTgtwyiCNbF0FgZRomXj4TEKqR93/PAiX/rBqrv/xYCS8Rym3/kY/+/v9w== 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=WNv0WFQxh/c+AnprY+Enih74TtONVMBIegikefGGy7M=; b=t8mhctLFj9pu6rq1Tp+wi3/X0re1YeoeEtI4XhCu8cFZP9RoG3X1xU9wuO7tOcwGE0WWYWEtJF/NUXWIR7p+zHPvZxjs7S4nRmOe2G/JkXZ5DebAcf0SqlkTWNeONf/cAKxkzwfdS7IFGKRVz7kjZp2BW/1xtE7AMkZNpiYSJkko0rZrYs6IFdaW5nMu327dSQYi52DWkUxLgUN0UMAgKsOMgh5yGe8Q2hbAy/9jAZoKntiDPm8+klpoCE/b+KwFNS6f/euClv9qQYJ6+W/4iUuD2yCwqUgj51HTvdfKCJmN9T0UG6Q6RPJujpVYxPjUnj2rXd9BOJy07bGNUmzgjA== Received: from DM5PR16CA0023.namprd16.prod.outlook.com (2603:10b6:3:c0::33) by MN2PR12MB3566.namprd12.prod.outlook.com (2603:10b6:208:cc::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Thu, 28 Oct 2021 03:26:17 +0000 Received: from DM6NAM11FT035.eop-nam11.prod.protection.outlook.com (2603:10b6:3:c0:cafe::23) by DM5PR16CA0023.outlook.office365.com (2603:10b6:3:c0::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 03:26:17 +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 DM6NAM11FT035.mail.protection.outlook.com (10.13.172.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 03:26:17 +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; Thu, 28 Oct 2021 03:26:14 +0000 From: Rongwei Liu To: , , , CC: , Date: Thu, 28 Oct 2021 06:25:57 +0300 Message-ID: <20211028032600.638212-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: 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: db980aa5-5819-4fd5-a7c6-08d999c2b41e X-MS-TrafficTypeDiagnostic: MN2PR12MB3566: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2399; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4nFDTgiKg6sHIr/MrQlvvNUgTxvBckCPqpVEXU0EJaKI6jEmxe/4GP4OfKnlqvVj+qVl7dz4msRkwEdpmJBkOBEAlQ1AmG5ftMxYPglyIDIcKj8bn7e7G62OgRqrRcC0sAxT+7OBMuCyvqGRZkEAAnl8rj6Ss0aQFla0JBzXyL8tTbS57Ys/mI5JhrbUYxflrwZlKDaXG0rdSn74Au1yD5bbB1r8iV3NGEggb/zw0ThIljcF0btENHH9jVprxoHcRO5a7/Rai/tr7kxhET+F5Pl3m0HJZS62B/T/lkSHOChgMjwKM1aUbsif+jbtzNxyQCeab8BhowkWHNTPdJlg6Uz3DQB+1wmIF/+WjBLFYCgbdRGI0HjzTCgcNXT6zDJOMRnwlxLY/uh+qUqt7B74ZN+SBH71OreuGGcHXTSYpY31wFtWE1ynHtjhl/ShggBzhtAsRgnCmpFR2WTQOMlfvFkrd31oU2xqg0GX+1eI1tfoERqZGn6iNEXrgoKu+HGsZV3rV+fNOs7yYyr/yNh/dXNYjWCrcqVJKTpSBPHeCmajkQj8lpW3R3iEf99DwFizyPj7QAczxwAQ1h5gFsXkhSTzztDAQYEJbbJ77lW7+tgq7VW4XngQUAI1Rzc+X/o56xviCW5luuKGvr9OdyUm7QI2/zPABAUaEEEfzeWZhgnZLtGXWBqtj7feM8LsVb9TSf5GXEifm0pIQ7NZFqn31g== 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)(47076005)(426003)(356005)(6666004)(55016002)(7636003)(82310400003)(26005)(1076003)(110136005)(7696005)(336012)(16526019)(4326008)(186003)(86362001)(8936002)(8676002)(70586007)(36756003)(83380400001)(107886003)(2616005)(4744005)(70206006)(36860700001)(6286002)(508600001)(54906003)(5660300002)(316002)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 03:26:17.3149 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db980aa5-5819-4fd5-a7c6-08d999c2b41e 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: DM6NAM11FT035.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3566 Subject: [dpdk-dev] [PATCH v3 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. 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 | 176 ++++++++++++++++++++++++++++++--- doc/guides/tools/flow-perf.rst | 9 +- 2 files changed, 169 insertions(+), 16 deletions(-) -- 2.27.0