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 9E1674589C; Thu, 29 Aug 2024 22:03:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F03A402A5; Thu, 29 Aug 2024 22:03:23 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mails.dpdk.org (Postfix) with ESMTP id C8A6C4028A for ; Thu, 29 Aug 2024 22:03:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1724961801; x=1756497801; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xuAJw/zKNkJkLrsY7grF7oQX/IKdM8Sl2Z6ut9VYbOE=; b=K1RRgJ65aj2R3e39Dtl1jAQqmJ8/SLi6INR6vwkbGmXr+lRVKDH1C9l7 5BN+jxuV/WPv5YBG051M7fbW0axLNNU5iAi3uRrl3lrNuCVqqbGPlEc/0 zBY8uYwINycTEkclBMZP0Tv8syFa0k3Hh02L+ud9ouUXHrRFQrKi7wo+5 wlqr6qhv5OxnfNF4GHGlsRAA94st3+tyKjV1Wsw3P6et9gkPjAgPxmlaB BFm43i6edtI9mhaO5epTV311fVCKQ5kmCCbMi2xDzWZU9LJPFP9/TbEbl UDf7p6mrLn3DtgGP//KPS6x50NpWBkU1feG3KLho0hNNBAtHohmGKoLAl A==; X-CSE-ConnectionGUID: yE0gVkJYSO68vpIVAiyhTw== X-CSE-MsgGUID: W4d++OMfS9OrkkQJb/cqmA== X-IronPort-AV: E=McAfee;i="6700,10204,11179"; a="27460581" X-IronPort-AV: E=Sophos;i="6.10,186,1719903600"; d="scan'208";a="27460581" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2024 13:03:19 -0700 X-CSE-ConnectionGUID: kZPuGZNjQiiJDonCa7jhfw== X-CSE-MsgGUID: JYtF4McZS0yO3swFpri51w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,186,1719903600"; d="scan'208";a="67843692" 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; 29 Aug 2024 13:03:19 -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 0/2] bbdev: dump debug information Date: Thu, 29 Aug 2024 13:06:22 -0700 Message-Id: <20240829200624.38551-1-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 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 v2: updated with comments from Hemant and rebased. v1: Hi Maxime. Adding new support to support troubleshooting. This provides to the application an API to dump into file information to help troubleshoot issue on a queue. Some of it is tracked at bbdev level and some extra information can be tracked as an option at PMD level. This is for 24.11. In practive logging is not enabled at run time, but information can be dump into file when an issue happens and requires extra information. This collates now multiple source of errors detected notably at driver level made more explicit. Thanks, Nic Nicolas Chautru (2): bbdev: add new function to dump debug information baseband/acc: improvement to logging mechanism drivers/baseband/acc/acc_common.h | 37 +++++ drivers/baseband/acc/rte_vrb_pmd.c | 128 +++++++++++++---- lib/bbdev/rte_bbdev.c | 214 +++++++++++++++++++++++++++++ lib/bbdev/rte_bbdev.h | 41 ++++++ lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map | 4 + 6 files changed, 406 insertions(+), 27 deletions(-) -- 2.34.1