From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5DFAA423FE; Tue, 17 Jan 2023 17:51:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B58742D4D; Tue, 17 Jan 2023 17:50:36 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id B893942D2D for ; Tue, 17 Jan 2023 17:50:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673974229; x=1705510229; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o9R5C/dgXrE4QcKl9dHEbFJRgWHqpGikvDFe+MFNUUg=; b=W+VE7vgrdjENhzVYl8doX/KeVpTOKCGgG59xN+dk3hWUv2RNIxXIhNcD OKQDiEtfARrBaiUMTWCIBF/oYHB0Cds6chY6qK4kenoG152cnBdLd2dT4 1fWT9AK+MNZQZjcn+2TmmwaVy+ItbMayEmGSKdkdXtayxGkVBKb2eAkqC AytNKURcIeVc1dbBOTevLKaI24MOI76orfHezCSR3p2idmWQp2usZmthY eQqtzDjQeZn9cEKzwfIYn5StF9d+hBNKSe3exoHx4XKKRJfPzudxuGgv5 vqngM+ar8DejEyhOPJUnXoju/aDm+Be7jlto1oPOSdMix2zPdgVef3iD6 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10592"; a="326022092" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="326022092" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 08:50:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10592"; a="833235119" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="833235119" Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103]) by orsmga005.jf.intel.com with ESMTP; 17 Jan 2023 08:50:27 -0800 From: Hernan Vargas To: dev@dpdk.org, maxime.coquelin@redhat.com, gakhil@marvell.com, trix@redhat.com Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com, Hernan Vargas Subject: [PATCH v1 11/13] test/bbdev: expose warning counters Date: Tue, 17 Jan 2023 08:50:21 -0800 Message-Id: <20230117165023.20567-12-hernan.vargas@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230117165023.20567-1-hernan.vargas@intel.com> References: <20230117165023.20567-1-hernan.vargas@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Print warnings reported on queues for offload test. No functional impact. Signed-off-by: Hernan Vargas --- 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