From patchwork Thu Apr 4 21:04:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 841 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 6CE6B43E02; Thu, 4 Apr 2024 23:03:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA30840C35; Thu, 4 Apr 2024 23:03:53 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id 5A946402BC for ; Thu, 4 Apr 2024 23:03:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712264631; x=1743800631; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Uj9tKzz5aMKG3OyjwcIb9+9ep6mnZRrYKQxZEJ6vKME=; b=Hi9NqoYXDwFSlbdxWqKBKOhaLfAS19kGFaJ3fgNX30GgXfpT24R3Jk3u ANM78GL3eCx9hGc+6up0lgNrEMt18s8rVK1TVyvR9UQd1QGSpHUkEtYpP NvNn/VVeq6gE5EPlvSxZVPMrKpf6fDvbLi99OCOOg9aWOWxeBqF+Py8d7 J4YCuc8FcElVlelk7RZnfrcBJJWakQDVZBbqFm+rxwcYASu5EvWta1tMa m4Jedy0JAJJoidiHoiDRTCzbgIOiwizECSI5RwUFGe7ookbSOZjT/3pEd A0KCiz6BxXioKxNUXPUHhneImgh4pBz1WiToSMo22EHMqR/0UmocrnEhH w==; X-CSE-ConnectionGUID: RUErBxYsS+Cc4SzoA89jzw== X-CSE-MsgGUID: PcRmCWKGQNWQfz3i3qRIXQ== X-IronPort-AV: E=McAfee;i="6600,9927,11034"; a="11393378" X-IronPort-AV: E=Sophos;i="6.07,180,1708416000"; d="scan'208";a="11393378" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2024 14:03:45 -0700 X-CSE-ConnectionGUID: zZEcPjg/RECtPB89c+8/dQ== X-CSE-MsgGUID: CpUz6om4TcC1hH0kSjv6jw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,180,1708416000"; d="scan'208";a="18864451" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by fmviesa010.fm.intel.com with ESMTP; 04 Apr 2024 14:03:45 -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 v1 0/3] Additional queue stats Date: Thu, 4 Apr 2024 14:04:44 -0700 Message-Id: <20240404210447.1915517-1-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 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 These series include introducing a new paramter in the queue stat which can be used to monitor the number of available enqueue still possible. The acc PMD is then refactored to use a set of common function to update several queue status parameters including the new one. The application is also updated. Thanks Nic Nicolas Chautru (3): bbdev: new queue stat for available enqueue depth baseband/acc: refactor queue status update test/bbdev: update for queue stats app/test-bbdev/test_bbdev_perf.c | 1 + drivers/baseband/acc/acc_common.h | 18 ++++++++ drivers/baseband/acc/rte_acc100_pmd.c | 45 ++++++-------------- drivers/baseband/acc/rte_vrb_pmd.c | 61 +++++++++------------------ lib/bbdev/rte_bbdev.h | 2 + 5 files changed, 53 insertions(+), 74 deletions(-)