From: "Chautru, Nicolas" <nicolas.chautru@intel.com>
To: "Min Hu (Connor)" <humin29@huawei.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "Yigit, Ferruh" <ferruh.yigit@intel.com>,
"thomas@monjalon.net" <thomas@monjalon.net>
Subject: Re: [dpdk-dev] [PATCH] app/bbdev: fix wrong variable
Date: Fri, 23 Apr 2021 18:50:46 +0000 [thread overview]
Message-ID: <BY5PR11MB4451EBB13BEA8F6DBB3062E7F8459@BY5PR11MB4451.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1619163776-39125-1-git-send-email-humin29@huawei.com>
> -----Original Message-----
> From: Min Hu (Connor) <humin29@huawei.com>
> Sent: Friday, April 23, 2021 12:43 AM
>
> This patch corrected misused variable.
>
> Fixes: d819c08327f3 ("app/bbdev: update for 5GNR")
> Cc: stable@dpdk.org
>
> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Thanks
Acked-by: Nicolas Chautru <Nicolas.chautru@intel.com>
> ---
> app/test-bbdev/test_bbdev_perf.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-
> bbdev/test_bbdev_perf.c
> index 45b85b9..b8bf512 100644
> --- a/app/test-bbdev/test_bbdev_perf.c
> +++ b/app/test-bbdev/test_bbdev_perf.c
> @@ -372,14 +372,14 @@ check_dev_cap(const struct rte_bbdev_info
> *dev_info)
> if (nb_harq_inputs > cap->num_buffers_hard_out) {
> printf(
> "Too many HARQ inputs defined: %u,
> max: %u\n",
> - nb_hard_outputs,
> + nb_harq_inputs,
> cap->num_buffers_hard_out);
> return TEST_FAILED;
> }
> if (nb_harq_outputs > cap->num_buffers_hard_out)
> {
> printf(
> "Too many HARQ outputs defined:
> %u, max: %u\n",
> - nb_hard_outputs,
> + nb_harq_outputs,
> cap->num_buffers_hard_out);
> return TEST_FAILED;
> }
> --
> 2.7.4
next prev parent reply other threads:[~2021-04-23 18:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-23 7:42 Min Hu (Connor)
2021-04-23 18:50 ` Chautru, Nicolas [this message]
2021-04-25 16:30 ` Thomas Monjalon
2021-04-26 0:57 ` Min Hu (Connor)
2021-04-26 0:56 ` [dpdk-dev] [PATCH v2] " Min Hu (Connor)
2021-05-05 14:43 ` [dpdk-dev] [EXT] " Akhil Goyal
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=BY5PR11MB4451EBB13BEA8F6DBB3062E7F8459@BY5PR11MB4451.namprd11.prod.outlook.com \
--to=nicolas.chautru@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=humin29@huawei.com \
--cc=thomas@monjalon.net \
/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).