From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 6FD43A0C4B;
	Mon,  8 Nov 2021 10:05:28 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 2F06940DF7;
	Mon,  8 Nov 2021 10:05:28 +0100 (CET)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id C360640040
 for <dev@dpdk.org>; Mon,  8 Nov 2021 10:05:26 +0100 (CET)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 6E5DA5C013C;
 Mon,  8 Nov 2021 04:05:26 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Mon, 08 Nov 2021 04:05:26 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm2; bh=
 fCwEuQ/fnW83B2KzZoCgCI4PZ6p9GZHPFwMghBtd5Ag=; b=uB/6mRPr6VDieIMt
 FZ+5trmOUYHZ1H7x+nM+tnly4uRWJR9xjinihMa/lq40rnBLIRVQFcALCdtaNaTe
 hD/akUGqPv0ZQ+/4sWnTz0wGJNINWHbc0TrrHI33QDOjTI7EcYKLBuzlGiHy8+rE
 oG+XIfceh/mC3xjdgIxk0EMG68KW+mpCLYA8gS2yLvkryjqI+I1hmPlXR/VyS0I2
 DPtk51Ll7r3BHLt481bcyyfEXaiAgrVr3B9nlVRWIghUA4fSd4Ejlhd/BsRxjyil
 dT4+LbEU7A1PLpvwBpY/AjT6t80C+UHVLwen5jTnQmCw87eKSMNM7r7nfuII2q2m
 oot5vQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; bh=fCwEuQ/fnW83B2KzZoCgCI4PZ6p9GZHPFwMghBtd5
 Ag=; b=ZnBIvRrfAT+QmJ+WziXE1kS6lOg+kF9LJdG/sxzS9G+CL3feyftBgizJQ
 sZngJo/102tpvhyiQUcEcE4hjhT5awVn/Zi6YM5qZghq+IRKSnPRmG9MbHWsaQo7
 NwVaC7oyU6yBmpwN2k7oAOR5turZd94X20+QkWeKtXKffC8GTUWjsFcv2ak/stH7
 01ZN+gImKocOY+pRHh+07Oy3WJYqFmnIBeczG6VOLcJBSouvLKGk5MK0S1CAf79Z
 kIbrpnwBJ32PBwJsjikuA3dcIZv8iCl/XOs8GoK76FxW6xQLyXYksekiL1GAUGbi
 l4mzlr18e5Kfe4yljMDiFrRnocqxw==
X-ME-Sender: <xms:VuiIYbO9airytwSsGf_k59u-uaK-ZQ2TAfyD0wYhPzMxHtBEhG-ujA>
 <xme:VuiIYV-z21iHODSYT0ZeOZP778F4W5D52ObBnAEwlg16QTsOVczBQn0RWGikd9uup
 69nxo7oGCXXKO_d9w>
X-ME-Received: <xmr:VuiIYaQRp-0nxnsOUdVDCdBHsiqKlkKKE3balf0csGnCaO1bpXVQg82nsYMlMtsAJqTXYfZXwp6YUS0tyXwLqOhRaQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddugdduvdduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepkeethedtieevhfeigeejleegudefjeehkeekteeuveeiuedvveeu
 tdejveehveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:VuiIYftGDwrPIAin-4twk0nXS72xXt-nqCjaLLzdBSws7QS3FkLaRg>
 <xmx:VuiIYTd_7lcitvjUB-2R7SZwqIZ6MvdOivIqCo_V-ZP2GUMN_atfig>
 <xmx:VuiIYb0wcjA0iwt_E0vp2gKzApwk3_K9AfgEAmvJq2wSBWC5bN25jg>
 <xmx:VuiIYVvTpCClPyCDa7s4aaGcc_WUkN6f9NAztpI9ruUFgewK3VxEhw>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 8 Nov 2021 04:05:25 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Rongwei Liu <rongweil@nvidia.com>
Cc: matan@nvidia.com, viacheslavo@nvidia.com, orika@nvidia.com,
 Wisam Jaddo <wisamm@nvidia.com>, dev@dpdk.org, rasland@nvidia.com,
 Haifei Luo <haifeil@nvidia.com>, Jiawei Wang <jiaweiw@nvidia.com>
Date: Mon, 08 Nov 2021 10:05:24 +0100
Message-ID: <6177033.fEpqbVaury@thomas>
In-Reply-To: <20211108085352.1728466-2-rongweil@nvidia.com>
References: <6106963.jHQkdsGB6Q@thomas>
 <20211108085352.1728466-1-rongweil@nvidia.com>
 <20211108085352.1728466-2-rongweil@nvidia.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-dev] [PATCH v4 1/3] app/flow-perf: support meter policy
 API
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

08/11/2021 09:53, Rongwei Liu:
> Add option "policy-mtr" to indicate if meter creation will include policy
> or not. Meter creation will keep the same without it.
>=20
> With "policy-mtr", the policy is introduced. API create_meter_policy
> is to create a policy. API create_meter_rule will use it to create
> a meter. The value of it is used to specify meter policy green color
> actions.
>=20
> Signed-off-by: Haifei Luo <haifeil@nvidia.com>
> Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
> Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
> Acked-by: Wisam Monther <wisamm@nvidia.com>
> ---
>  app/test-flow-perf/main.c      | 807 +++++++++++++++++++--------------
>  doc/guides/tools/flow-perf.rst |   3 +
>  2 files changed, 467 insertions(+), 343 deletions(-)

This patch does not compile:
app/test-flow-perf/main.c:621:15: error: unused variable =E2=80=98arg=E2=80=
=99