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 C052CA0C41; Wed, 12 May 2021 21:35:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EE824003F; Wed, 12 May 2021 21:35:00 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 98B8A4003E for ; Wed, 12 May 2021 21:34:59 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 097155C00F5; Wed, 12 May 2021 15:34:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 12 May 2021 15:34:59 -0400 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=fm1; bh= DFOJL+i8tr4W8ehbzGuxQeOcMlTE68f+wqVVFyWfHME=; b=5hZ/RR7gvB5VEMkN neMGodGnIrFO3ijLisC10+7el1E1O2ivzoJVN3Qc32H7W2CP6CTZPHgKS7m3aTlh YHGO/9OCcRtKwMXK4nBYoY7j1CES+LHg1iRdMqhLCwvc2L0mRzuYGt7oGJJVm4SZ NuIHKCvKIEt+D+uDkMz9ZhVpqPwkkawnj/jdlwLNOimNZKt49RPyvV+JH0wj0Rjb dhKPz18dalwY2/gwnss27G0BQMpUXCrHYJBZLNt6EliCeegJ3oDtJ2WIFrfbTzRv 5UesrsmXWCoIklMy6O1P32iKZrpJtxE251hjGLruXhkLlvtVUeZ0yTElmfq8OEQV hfCcgQ== 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=fm2; bh=DFOJL+i8tr4W8ehbzGuxQeOcMlTE68f+wqVVFyWfH ME=; b=eraB0gdyiF8CN7qM8O20+AkFbyMRmTb4PC8gZgX6q45Qvh6T6hBDvBua+ BMusqcBQASnj88OyoEqw3CKRfClUg2c+P8UHfsUujZYoBwAJYLjC/5avqx+QO/UF rR5JBcQuD6DC0Fa0KhA0EWXPLvcabwRR/kdC0ibsOurbYu5luWizgJ1EwTH54uxF 6fDH/XsGhfsHZNTnTjWrxsWjN0dHVpiPELJnSJzkyWc3r7zPxAfgoT84GzDAPILM hnXJF1KttRJKyuRMxS7EYTHymtVpyFI1SXBbcdFM2Thjipk79GPu4w4vp7rnjTee /LMusfWQ9r/W0FQDoBvu969TvljYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 May 2021 15:34:57 -0400 (EDT) From: Thomas Monjalon To: david.hunt@intel.com, reshma.pattan@intel.com, anatoly.burakov@intel.com Cc: dev@dpdk.org, ferruh.yigit@intel.com, "Min Hu (Connor)" Date: Wed, 12 May 2021 21:34:56 +0200 Message-ID: <2396448.yDCKYcRf91@thomas> In-Reply-To: <1618977219-49589-1-git-send-email-humin29@huawei.com> References: <1618977219-49589-1-git-send-email-humin29@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd-power: fix assignment errors 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" Ping for review please. 21/04/2021 05:53, Min Hu (Connor): > From: HongBo Zheng > > Fix assignment errors of ep_hgh_edpi in function parse_ep_config. > > Fixes: a137d012a0dd ("examples/l3fwd-power: support traffic pattern aware control") > Cc: stable@dpdk.org > > Signed-off-by: HongBo Zheng > Signed-off-by: Min Hu (Connor) > --- > examples/l3fwd-power/main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c > index 0af8810..f8dfed1 100644 > --- a/examples/l3fwd-power/main.c > +++ b/examples/l3fwd-power/main.c > @@ -1748,7 +1748,7 @@ parse_ep_config(const char *q_arg) > int hgh_edpi; > > ep_med_edpi = EMPTY_POLL_MED_THRESHOLD; > - ep_hgh_edpi = EMPTY_POLL_MED_THRESHOLD; > + ep_hgh_edpi = EMPTY_POLL_HGH_THRESHOLD; > > strlcpy(s, p, sizeof(s)); > > @@ -1771,7 +1771,7 @@ parse_ep_config(const char *q_arg) > if (med_edpi > 0) > ep_med_edpi = med_edpi; > > - if (med_edpi > 0) > + if (hgh_edpi > 0) > ep_hgh_edpi = hgh_edpi; > > } else { >