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 D5BD541CA8; Wed, 15 Feb 2023 18:13:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 092F042D46; Wed, 15 Feb 2023 18:13:11 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id CA2B342D17 for ; Wed, 15 Feb 2023 18:13:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676481182; x=1708017182; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CLta0CkWtVH+/0LppbT2E7DG+moJ4n7uhH38FPX7HAc=; b=f0MG172c+VuHesTgL1mF0McpSCRXWzJKGJuAhvRUN6sYdQ5jMv9rw0nD kb0if4bjVSJGnr+yrhMwqdZplqpk16TbrINfFgKq05Tve3ToFAiFGr/Au gtmhKgbbUj+yK/Uj7lsewOmVUhBn9W+PUQZS64qcGYiYImhUonEKtIFXq NNYXQfCWqS8KNATNDdODbi+rkVaElhHdU1f7M98K7U8o/EzS9dhgJejn+ uwIodcv7xnkX5sFx269Y9AGIoCD3IrWZEDCB6X2lf/aCYfhLOQ3KJ2x5l ypdC2sx90u/C91hF+cWqYeRBadxRrxN4XItz0ZyDuYoaMa6KHCtgOaEMP A==; X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="332789833" X-IronPort-AV: E=Sophos;i="5.97,300,1669104000"; d="scan'208";a="332789833" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2023 09:10:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="758489648" X-IronPort-AV: E=Sophos;i="5.97,300,1669104000"; d="scan'208";a="758489648" Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103]) by FMSMGA003.fm.intel.com with ESMTP; 15 Feb 2023 09:10:00 -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 v2 11/16] test/bbdev: expose warning counters Date: Wed, 15 Feb 2023 09:09:44 -0800 Message-Id: <20230215170949.60569-12-hernan.vargas@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230215170949.60569-1-hernan.vargas@intel.com> References: <20230215170949.60569-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 00090f863f..a19eda2de8 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -5673,6 +5673,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