Message ID | 1619398619-58601-1-git-send-email-humin29@huawei.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | akhil goyal |
Headers | show |
Series | [v2] app/bbdev: fix wrong variable | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
ci/iol-intel-Functional | success | Functional Testing PASS |
ci/iol-intel-Performance | success | Performance Testing PASS |
ci/iol-abi-testing | success | Testing PASS |
ci/iol-testing | success | Testing PASS |
ci/intel-Testing | success | Testing PASS |
ci/github-robot | success | github build: passed |
ci/iol-mellanox-Performance | success | Performance Testing PASS |
> The logging should show context by printing the two variable which > compared to each other. 'nb_harq_inputs', not 'nb_hard_outputs'; > 'nb_harq_outputs', not 'nb_hard_outputs'. > > 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> > Acked-by: Nicolas Chautru <Nicolas.chautru@intel.com> > --- Applied to dpdk-next-crypto Thanks.
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; }