Incorrect bbdev member name used in test code under
RTE_BBDEV_OFFLOAD_COST build flag.

Fixes: 4f08028c5e24 ("bbdev: expose queue related warning and status")

Signed-off-by: Nicolas Chautru <nicolas.chau...@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 b285d3f3a7..1859952901 100644
--- a/app/test-bbdev/test_bbdev_perf.c
+++ b/app/test-bbdev/test_bbdev_perf.c
@@ -4933,8 +4933,8 @@ get_bbdev_queue_stats(uint16_t dev_id, uint16_t queue_id,
        stats->dequeued_count = q_stats->dequeued_count;
        stats->enqueue_err_count = q_stats->enqueue_err_count;
        stats->dequeue_err_count = q_stats->dequeue_err_count;
-       stats->enqueue_warning_count = q_stats->enqueue_warning_count;
-       stats->dequeue_warning_count = q_stats->dequeue_warning_count;
+       stats->enqueue_warn_count = q_stats->enqueue_warn_count;
+       stats->dequeue_warn_count = q_stats->dequeue_warn_count;
        stats->acc_offload_cycles = q_stats->acc_offload_cycles;
 
        return 0;
-- 
2.37.1

Reply via email to