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 A4A50A0547; Fri, 12 Feb 2021 08:41:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BF7122A24A; Fri, 12 Feb 2021 08:41:04 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 1929422A243 for ; Fri, 12 Feb 2021 08:41:03 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Fri, 12 Feb 2021 08:40:59 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C615E0@smartserver.smartshare.dk> In-Reply-To: <8eb6bf7a-f317-68e0-2cdc-e0b7d675a8f1@intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH] [RFC, v2]: adds support PPS(packet per second) on meter Thread-Index: Adb1o1ITEjLZs5wER2SPkR2nrC/KAgLbYoqg References: <20210125010235.1768333-2-lizh@nvidia.com> <20210125012023.1769769-1-lizh@nvidia.com> <20210125012023.1769769-2-lizh@nvidia.com> <8eb6bf7a-f317-68e0-2cdc-e0b7d675a8f1@intel.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Ferruh Yigit" , "Li Zhang" , , , , , "Dumitrescu, Cristian" Cc: , , Subject: Re: [dpdk-dev] [PATCH] [RFC, v2]: adds support PPS(packet per second) on 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" PiBGcm9tOiBkZXYgW21haWx0bzpk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