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 D1213A0C4D; Wed, 21 Jul 2021 09:05:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 95FE240689; Wed, 21 Jul 2021 09:05:56 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2049.outbound.protection.outlook.com [40.107.243.49]) by mails.dpdk.org (Postfix) with ESMTP id A7A154014E for ; Wed, 21 Jul 2021 09:05:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MSTx3Q0R8SJ8hzcNuUEzzQOXBHUknApP3IiGEzQe9dlNc7WbghArIuahrlRjMTjUQvSurFSa7pkxHlIjiJYss/XxC90KQz/RqaLAhbw9zBWW97Zko96O1W3/LaPuS8lEXPrFr+6Ho+a55sg5q9xyrLmi1i9Qc2NNzvFzMM7Z7k3HQLQY1M37n73N0aD99fOLZtOYQaQCMt4ybppSFII+IxdBCupp9Vrsj4UzeY5eKuCc0P2qJ4u53eeXORj7qhfQxxHtAXlqP6ZZ8TfazpxUuty287WD8VBXHdqY58j8S+j0WA50ZqhTYRNqUz5JWufTLoPPYoqXfgSP+xAxIeg+/w== 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-SenderADCheck; bh=qxftjdPAGayGyEDfCy04iBw8OcXnZArPcFsV8/rHdjw=; b=dMu5y4pJ8exYJxqoQVucHlTxXR7ZeRwo50hy081mc3rrgxpiLU0cnQSsZQeqBSkW06zK8REC908oGhoYJ2MW1bV+JPnQ5EOsmBKbKaigMlGw8GpULgHJ3ALwz23dB9kEwnEaC4+6WF8idUWmvJbd79koLDs4KmVsie1FKRC73YRHv0p033F9GTpkyM38Wp7Q1cw6eMBs2ssOiDlQN31IMtL7noh1Y/CuLf48HCvT/ynXjBe/MndTdj7juMbLf8VG1J7ok6e563xezMNYytGeD1IO4o1OYXCbA7m7g5CFmEoj05zKWVEub1pw5ctRZ9gq/QrBAvGXFda5QiGDSSrHEw== 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=none 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=qxftjdPAGayGyEDfCy04iBw8OcXnZArPcFsV8/rHdjw=; b=OJSVSp4q3vVxgBtFaLQJ+1LMDcMgKdTVKOxHG4Fy3iKDx39VVVBUYmk/RPr7R4av3ULAYEGjM08qW9lhyutijNS/TlQNLTiBYW4yQSU3DUJqbsTM2OJEr2xkSUQraM6cVxQ7IqlTmYrcmEQ9kl4VugrKnFg5eyF8UkNInjQLFoKb04sS2rUtT9j1TrCY6LCMPYaySYmKiSv40GHMTqbTVtvqkTDzWoRBRcbk3XgS1gZEPLTNF8EFyhHFN2/k3qzGumVi60vSDYtgpcX8kidL4t6+yx2YVhr1jQuiqjyo1RKZZ9utIpxvEHww22uKtWO70try17URADSm/aAQ/FvXTQ== Received: from BN6PR22CA0026.namprd22.prod.outlook.com (2603:10b6:404:37::12) by CH2PR12MB4972.namprd12.prod.outlook.com (2603:10b6:610:69::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Wed, 21 Jul 2021 07:05:54 +0000 Received: from BN8NAM11FT034.eop-nam11.prod.protection.outlook.com (2603:10b6:404:37:cafe::eb) by BN6PR22CA0026.outlook.office365.com (2603:10b6:404:37::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.23 via Frontend Transport; Wed, 21 Jul 2021 07:05:54 +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 BN8NAM11FT034.mail.protection.outlook.com (10.13.176.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4352.24 via Frontend Transport; Wed, 21 Jul 2021 07:05:53 +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.2; Wed, 21 Jul 2021 07:05:51 +0000 From: Rongwei Liu To: , , , CC: , Date: Wed, 21 Jul 2021 10:05:39 +0300 Message-ID: <20210721070542.1153843-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <1617691848-94564-1-git-send-email-haifeil@nvidia.com> References: <1617691848-94564-1-git-send-email-haifeil@nvidia.com> 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: 35672a71-a8f9-4ced-763a-08d94c15fb63 X-MS-TrafficTypeDiagnostic: CH2PR12MB4972: 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: qaaqDpkDnYQtQ33VWeWZpctubch4Ho1XjDl92nPbINedHhFJMDiWjgXtkn9FkPj/SKPUrz4EyirLYSvBQdc1itUg0ah+ub+rhbnUn/Ug1+ksMzURY9rlbU26myTUUG0GynxDNh9YmLeyzgkxtj5eowtuK4I1AktgOKGwsKjCyzFdj5v1AoM6+MTFSRUZCMFOZiXuYKl+ukeKom3FHd28JSy4hehUmkeBzq5KTNZ4bQhO0Zqvfv39dkJfKhL9KRIkNO7am1LX1kKKzc9ufL0kbLDYNq4My56ZKD+Re2vBOM+JbxfTtvXAaytF2QXEeJaF1AEKW9i001H/DbmQo4MsTEHOq8ISfsfxng567CK4medawZ4UiAQGOhw7z9DwXxxPwyhW2K7R/VIbVKqsg1jy2jT3J7c02gtmPHrsRMcsYUJQzMgs8Xu0kFIoIKNzS+mX0EHTgyxnUZaegYPRwQp3UJbRPnwU/892WVC8j1Jn2ZTWS/EeOoovYsDOMNe2uytiP2Ky4M9EjOA3lu0Z/fZRfbBIOBzrUwZDCJz4QogCzwxGU2SlXVTA+ywXaEE9A0fy4sgPQzzd+ThbdbOU13Y+mgZPzyrb8rPhA3pxTd4kHXxMvK8NOvPIlbPbHsDXchcTIVfVPVEMvwY3JBaI1FaXk/YhfCQGzXRKGs+H2OoIcxkOsy0mnln8dv9VB9hCuHXeGggO+P662r/8gQ14NYcLIA== 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)(376002)(136003)(39860400002)(396003)(346002)(46966006)(36840700001)(186003)(16526019)(83380400001)(2906002)(8676002)(82310400003)(107886003)(36906005)(70586007)(70206006)(26005)(6286002)(86362001)(55016002)(8936002)(4326008)(82740400003)(36860700001)(6666004)(7636003)(478600001)(356005)(54906003)(4744005)(316002)(36756003)(1076003)(110136005)(5660300002)(426003)(7696005)(47076005)(336012)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 07:05:53.8783 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 35672a71-a8f9-4ced-763a-08d94c15fb63 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: BN8NAM11FT034.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4972 Subject: [dpdk-dev] [PATCH v2 0/3] support new format meter 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 option "policy-mtr" and "policy-g_actions" for meter with policy Add option "meter-cir" to specify meter CIR value Add option "packet-mode" to identify pps or bps based profile Rongwei Liu (3): app/flow-perf: support meter policy API app/flow-perf: add new meter CIR Configuration app/flow-perf: add the supports for meter PPS app/test-flow-perf/main.c | 133 +++++++++++++++++++++++++++++++-- doc/guides/tools/flow-perf.rst | 12 +++ 2 files changed, 137 insertions(+), 8 deletions(-) -- 2.27.0