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 A6B29A0524; Tue, 13 Apr 2021 05:48:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3198E160A22; Tue, 13 Apr 2021 05:48:20 +0200 (CEST) Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by mails.dpdk.org (Postfix) with ESMTP id 673EC160A20 for ; Tue, 13 Apr 2021 05:48:18 +0200 (CEST) Received: by mail-qv1-f43.google.com with SMTP id o11so7439397qvh.11 for ; Mon, 12 Apr 2021 20:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3ffvlbvfWsjbkaR8yXwzOEcTNAloqIbbOSwak4gkPiQ=; b=gUni3lotIROfjWZc8nidYxcYGn4ZgEcX3ClA5QBf3+QsOEmPNkh8cWyjE3J+ryJgAV MD5S+Os4sCJxFtU58+gYusHHjHgtWWVqlNrGsk6z1B1RNT7hmlmWKDHobQ9rUli+bKB0 w4n0y1ewGlsCj9wSU8lGv0DvLsqBKqp86PBDQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3ffvlbvfWsjbkaR8yXwzOEcTNAloqIbbOSwak4gkPiQ=; b=syFlT9V9SWZ1Ja6AY1794qzzVUPR8izd6+XVU/SwSwqr0j4MoJLsh02nRMZJFDTtIt 42E/wJSLI5ctReCUbHawZJXZqw46gonJRaf0+Zo+8tC+R0bxLPLIKNCSbc65eHNAXM+c Wo8wF+dyAAxGTgjxV5b1V3kRi0yVJCHep3npuQVhhdHMal+TvLFARrkUAsTXriAPIvYW rNm1ewXuFLAFdDW4KQQkRAiTyz+7deZmvzPAk3d+E/dFF5a1HmiS2AX7pwvMsREbAjZR B3bBfSOH8Z7c5SHq7GdeGqfkZnLc0FY1uNkMk+NmD0aOnC6thEmxqgKV04wKnJQnKND0 FdeA== X-Gm-Message-State: AOAM531UQ4+2gTiUcjHsetIxprzqNHPK79XJifTHNtUuWdJ0tcAG19uk 95ZdqyUxOvttrz83vNz2saUmUKi4oHEJOw8lZlhn9w== X-Google-Smtp-Source: ABdhPJz9wPWT059Mjym80LThDnSFNua9ct0QU+U8clhO+L1OWmlOa74c+7Q7I5Y908EZhJWaVmLXSlXvBzHtoPOom74= X-Received: by 2002:a0c:ed2c:: with SMTP id u12mr31187126qvq.30.1618285697680; Mon, 12 Apr 2021 20:48:17 -0700 (PDT) MIME-Version: 1.0 References: <20210408035849.1755493-1-lizh@nvidia.com> <20210410072445.1872769-1-lizh@nvidia.com> <20210410072445.1872769-2-lizh@nvidia.com> In-Reply-To: From: Ajit Khaparde Date: Mon, 12 Apr 2021 20:48:01 -0700 Message-ID: To: Jerin Jacob Cc: "Dumitrescu, Cristian" , Li Zhang , "dekelp@nvidia.com" , "orika@nvidia.com" , "viacheslavo@nvidia.com" , "matan@nvidia.com" , "shahafs@nvidia.com" , "lironh@marvell.com" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , "dev@dpdk.org" , "rasland@nvidia.com" , "roniba@nvidia.com" Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002cff1705bfd2804f" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v3 1/4] ethdev: add packet mode in meter profile structure 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" --0000000000002cff1705bfd2804f Content-Type: text/plain; charset="UTF-8" On Mon, Apr 12, 2021 at 12:29 PM Jerin Jacob wrote: > > On Tue, Apr 13, 2021 at 12:54 AM Dumitrescu, Cristian > wrote: > > > > > > > > > -----Original Message----- > > > From: Li Zhang > > > Sent: Saturday, April 10, 2021 8:25 AM > > > To: dekelp@nvidia.com; orika@nvidia.com; viacheslavo@nvidia.com; > > > matan@nvidia.com; shahafs@nvidia.com; Dumitrescu, Cristian > > > ; lironh@marvell.com; Thomas Monjalon > > > ; Yigit, Ferruh ; Andrew > > > Rybchenko > > > Cc: dev@dpdk.org; rasland@nvidia.com; roniba@nvidia.com > > > Subject: [PATCH v3 1/4] ethdev: add packet mode in meter profile structure > > > > > > Currently meter algorithms only supports rate is bytes per second(BPS). > > > Add packet_mode flag in meter profile parameters data structure. > > > So that it can meter traffic by packet per second. > > > > > > When packet_mode is 0, the profile rates and bucket sizes are > > > specified in bytes per second and bytes > > > when packet_mode is not 0, the profile rates and bucket sizes are > > > specified in packets and packets per second. > > > > > > The below structure will be extended: > > > rte_mtr_meter_profile > > > rte_mtr_capabilities > > > > > > Signed-off-by: Li Zhang > > > Acked-by: Matan Azrad > > > Acked-by: Jerin Jacob Acked-by: Ajit Khaparde --0000000000002cff1705bfd2804f--