From patchwork Mon Aug 12 23:42:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Chautru X-Patchwork-Id: 143110 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E9BB457A5; Tue, 13 Aug 2024 01:40:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 739D440E4B; Tue, 13 Aug 2024 01:39:52 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id 6C6AA402AE for ; Tue, 13 Aug 2024 01:39:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723505989; x=1755041989; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bJh7HIGnHgCdPABqsq4Zb93DId1K3YbSh1O1CqtbkDY=; b=X/+Q0xdFJwyUuegUAgUYATBKJzJO0FknGCHAPQfdvXBEHpfFkqfE8eIl QQE81tkh1tcxpAypySoL3/WC8pDUynnEhBR7sO96Drur3540Hp3oDbK7O jblac1M3DZZV+zuzoxtKPp3C/vFqPbPz1d38RbhDe/Ym7jFZMpcZzSpFS ZaNyAAPQw2vAArvZuC1GjKHwKOhuydJcXVCAKqT5cavOMuBk2Eb3gAQOn 8rTd3E2PxRW/HsKovykoONUu7unUMhzdJjUWyvWHKrZNWtJuiFOr4f3Qz OASuwVyOAHpjyQWPDAQdpY+54m5pLOPiCw5GcT2K+F9GvHYTcrhukmLY3 w==; X-CSE-ConnectionGUID: 2q81GNVZRkyqTMTIrp5hsg== X-CSE-MsgGUID: WO23F55XQ3S/T6mO+47zCA== X-IronPort-AV: E=McAfee;i="6700,10204,11162"; a="32323307" X-IronPort-AV: E=Sophos;i="6.09,284,1716274800"; d="scan'208";a="32323307" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2024 16:39:47 -0700 X-CSE-ConnectionGUID: am1fu26hQ3u4e4yqfP3T+g== X-CSE-MsgGUID: DUohBphoTD6pmyk5nN/UkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,284,1716274800"; d="scan'208";a="62630022" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by fmviesa003.fm.intel.com with ESMTP; 12 Aug 2024 16:39:47 -0700 From: Nicolas Chautru To: dev@dpdk.org, maxime.coquelin@redhat.com Cc: hemant.agrawal@nxp.com, david.marchand@redhat.com, hernan.vargas@intel.com, Nicolas Chautru Subject: [PATCH v2 3/3] test/bbdev: update for queue stats Date: Mon, 12 Aug 2024 16:42:01 -0700 Message-Id: <20240812234201.2196633-4-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812234201.2196633-1-nicolas.chautru@intel.com> References: <20240812234201.2196633-1-nicolas.chautru@intel.com> MIME-Version: 1.0 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 Update to include in test application the queue stats for the enqueue_depth_avail counter. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 3a94f15a30..259192c670 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -5816,6 +5816,7 @@ get_bbdev_queue_stats(uint16_t dev_id, uint16_t queue_id, 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; + stats->enqueue_depth_avail = q_stats->enqueue_depth_avail; return 0; }