From: Thomas Monjalon <thomas@monjalon.net>
To: david.hunt@intel.com, reshma.pattan@intel.com, anatoly.burakov@intel.com
Cc: dev@dpdk.org, ferruh.yigit@intel.com,
"Min Hu (Connor)" <humin29@huawei.com>
Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd-power: fix assignment errors
Date: Wed, 12 May 2021 21:34:56 +0200 [thread overview]
Message-ID: <2396448.yDCKYcRf91@thomas> (raw)
In-Reply-To: <1618977219-49589-1-git-send-email-humin29@huawei.com>
Ping for review please.
21/04/2021 05:53, Min Hu (Connor):
> From: HongBo Zheng <zhenghongbo3@huawei.com>
>
> 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 <zhenghongbo3@huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
> ---
> 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 {
>
next prev parent reply other threads:[~2021-05-12 19:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-21 3:53 Min Hu (Connor)
2021-05-12 19:34 ` Thomas Monjalon [this message]
2021-05-13 9:09 ` Pattan, Reshma
2021-05-13 9:47 ` David Hunt
2021-05-19 6:43 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2396448.yDCKYcRf91@thomas \
--to=thomas@monjalon.net \
--cc=anatoly.burakov@intel.com \
--cc=david.hunt@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=humin29@huawei.com \
--cc=reshma.pattan@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).