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 F039DA0C4B; Mon, 8 Nov 2021 09:54:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D763A410E4; Mon, 8 Nov 2021 09:54:10 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2057.outbound.protection.outlook.com [40.107.237.57]) by mails.dpdk.org (Postfix) with ESMTP id 1D4C140DF7 for ; Mon, 8 Nov 2021 09:54:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z0koqWN3As3UY6XZnjTpu5narCidJfKDdk4/3zN7AzrWvLT/onsxnSE6wywbIDJKWfpckdqUZOv5a1gyDPb9tdj06snaT6eO5d5AHztbwa+rdhdeEYQBTV7u4ApuWSkFecucon0Ksloa8MXuGglbKSbO3W3DX/6dWF3q3UkxORfiqkP3QtT2bz96qDZHQ7rQupdsRSIBFSavjPbuW08q6kYX+5J3plUAQsCj54xsYJjZUu6JftJPkrV4uMok3mvVw263Gu9Pz5e+WmSm20FmREFV75U+clVaOcP5BfgPdwJirzraSTE2PyzgSeKWpGpN52Z62gqd6cjPxVcfaVUy0w== 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=YzHkasZ70svzaYtm64MunHFlIS5dCTnzNT5F4ay5J1A=; b=UvJY0gks2nZ4skQPZMlGMqu7W5rUMYKCK8Or4nBVEjN2EgbgFQOJIkbRWUgL2Z0eMlKzZGaH2iaKF2ivTMi3Hm5dNmjNLe7RQiylHi+YBiPAjciAYVA161qLJa8/Wxxd5vOSxxtWKdN3Tnd2qc6lJ6TcPk8mClYc0W7B4Vk9a9s4AWlXx9DWUWVzvGZ3GFUrhJukt//yIP5IqT/M7GMIbtsIF3rXe62wOXy95TTtRi0CV8u/NosLgDaWe8sfMXS0ww1WkI7h71BG5HKgiObV4m0498YywE8TwZQujeqNDYnPsCvFQ1hnc2CCApPPGAdJPCwnwLs/QDj5CaUHI8pUWg== 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=YzHkasZ70svzaYtm64MunHFlIS5dCTnzNT5F4ay5J1A=; b=VBzS84cIIQBMUyqJNxwENOLpBe3i+pGBf8eEsufWf/yClFJnU5Fg9R6V+kHsBhDKXQ0HvKarY48dUVZvlOvYkDsCl2vGwDKXrMF3rwZzjXVGcWO1JF0ZBkHty6F7To2ZgwBkaB14qaLhFJuNpjycqgOoxfWjg9TH63mF58Z1RIO5ro9EbcPMYtfzLR6Fhb4c55Vkkf6GGdX8iKIoHBv2P1uAae2NJycau6T++6/+smKGMtTJCOQ+fYWZd3zz8cLgv2wf6Ynct0eSDkpTjErCCvhFAYozuvpykTnDFLLnSZ8HZ2xGswRhdIsz4tTOZ3HdovhqFIp7zuGLLhDExPTdCg== Received: from MW2PR16CA0026.namprd16.prod.outlook.com (2603:10b6:907::39) by CH2PR12MB3767.namprd12.prod.outlook.com (2603:10b6:610:26::21) 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 08:54:07 +0000 Received: from CO1NAM11FT051.eop-nam11.prod.protection.outlook.com (2603:10b6:907:0:cafe::a9) by MW2PR16CA0026.outlook.office365.com (2603:10b6:907::39) 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 08:54:07 +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 CO1NAM11FT051.mail.protection.outlook.com (10.13.174.114) 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 08:54:06 +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 08:54:04 +0000 From: Rongwei Liu To: , , , CC: , Date: Mon, 8 Nov 2021 10:53:49 +0200 Message-ID: <20211108085352.1728466-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <6106963.jHQkdsGB6Q@thomas> References: <6106963.jHQkdsGB6Q@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: ea2ad1c1-af30-4922-24ee-08d9a29552a4 X-MS-TrafficTypeDiagnostic: CH2PR12MB3767: 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: QNIz1rzLp+HUYxyUF9+9IWjBVtckmQPilGf11jGrVxuIYFffYMg3/xQu5npbRCn8VVZZDGZouLQ+j6xIhDDzOQDSzIYlsRq4DyWXC3t6vNUXQ6pRSZczm0kunykG/pDHzMeQEjpwDZY9qNeuvmCAByt6uoGH6MJ5RmorvKPQ2ptaajKLmIHaYBjCCTkZ9WOg2iAm1HjVDJOkj//AzuCo+ziVBy+WL1SVjxXsXs+bc1Sg+f4321mrekA1GJGQ4kIuiOiV8napqk9RO1cugWldkPQVYYOCgeVTpTQId36kUVCAifTUmq6upJBOuLBqM2XYz9gLK0XVUm7k0FLzYK+e5WwvFlRqoQ8kgnO9fhZjEK+SvaYD/dP5ITeFDZ6vdxESFFyQUOSQ6ZWL3By41MQYzAhmWazsEHxa3BymAmroTRvCXs7g9pVqeNcaeLd/Re14Vkf+f+j5219LJ3bSsSqrj7Ns7U/aVC5Pq7QvwDhUD055eQj/lut2ot/BUDtAQ3msSQlvbSiHst4hegPq5JIIh5XyxuXkqAImZ72/ytZAd44DK5UMXhQ2JWQFLoVoyk1rab9LsPF8XWVQFRJZIJLZZvmAStxd9UmkaxI4TS0yVQH2+kamofBY8fb3OK0TkY5FSkoOALU0K8/8gu9MEzOksJmON/Lw3Dh31F9Ha5PTjmy8CSzjEb76GfyEY2X3R/sRARgxbN+GCQWIj0wXxxKPeA== 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)(426003)(82310400003)(336012)(86362001)(83380400001)(356005)(1076003)(16526019)(186003)(110136005)(47076005)(8676002)(54906003)(316002)(4744005)(36756003)(8936002)(36906005)(26005)(7696005)(6286002)(107886003)(5660300002)(6666004)(7636003)(70206006)(70586007)(36860700001)(508600001)(4326008)(2616005)(2906002)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 08:54:06.8952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea2ad1c1-af30-4922-24ee-08d9a29552a4 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: CO1NAM11FT051.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB3767 Subject: [dpdk-dev] [PATCH v4 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 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