Print warnings reported on queues for offload test. No functional impact. Signed-off-by: Hernan Vargas <hernan.var...@intel.com> --- app/test-bbdev/test_bbdev_perf.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 1d18d9e054..0930786fda 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -5679,6 +5679,9 @@ offload_cost_test(struct active_device *ad, struct rte_bbdev_stats stats = {0}; get_bbdev_queue_stats(ad->dev_id, queue_id, &stats); + if (stats.enqueue_warn_count > 0) + printf("Warning reported on the queue : %10"PRIu64"\n", + stats.enqueue_warn_count); if (op_type != RTE_BBDEV_OP_LDPC_DEC) { TEST_ASSERT_SUCCESS(stats.enqueued_count != num_to_process, "Mismatch in enqueue count %10"PRIu64" %d", -- 2.37.1