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 6BF2745A1F; Fri, 27 Sep 2024 02:30:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2044940294; Fri, 27 Sep 2024 02:30:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mails.dpdk.org (Postfix) with ESMTP id 7CF824003C for ; Fri, 27 Sep 2024 02:30:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727397023; x=1758933023; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=R2+CK+jo2LC8T7JW4Mn+TB9A8l8lyNXaX7vzyqa7Trk=; b=nVKA9gZJXpE+/cUgU6cRyvTzvVExT29VB4TfHwvDlAsRXzRXICKCSWNK NIc1d9m0OigIUVNJsobhzYoutHGDyybwt8fbFLoyA3N3PhU6UqFjJy9oC ITbFWzI0tUqfJL4EXs0b7hF0I62IkQILaKFUVwr+XfFIYNBd3WTJHlBCF kOw1m/nXd4OyUckVxTUvKszfbeEYICKJe7vP8ImRN5cmjSENbtJN9nE/0 pw2RLtxIuV6Ui8UkXz5OtnfBBSUG6pfwI8D0dfunPLMfwrqH95jY0vKQf 5S77X4WapOpXiNLdzigxQDVlZCVx7SKOMi/usgID96KA8FpN+YCGR9tpS g==; X-CSE-ConnectionGUID: 7Dh8UUyKQg+ZHqtOFFV94w== X-CSE-MsgGUID: tpBniPhnTz+3wbAsD0RR7Q== X-IronPort-AV: E=McAfee;i="6700,10204,11207"; a="26399436" X-IronPort-AV: E=Sophos;i="6.11,157,1725346800"; d="scan'208";a="26399436" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2024 17:30:21 -0700 X-CSE-ConnectionGUID: J+SK/vJzSDWEIVtEr8vF8g== X-CSE-MsgGUID: ypw66SHxSlain5g5B1Xcdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,157,1725346800"; d="scan'208";a="72342851" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by fmviesa009.fm.intel.com with ESMTP; 26 Sep 2024 17:30:20 -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 v4 0/2] bbdev: dump debug information Date: Thu, 26 Sep 2024 17:31:25 -0700 Message-Id: <20240927003127.1512013-1-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240913231811.969965-1-nicolas.chautru@intel.com> References: <20240913231811.969965-1-nicolas.chautru@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 v4: updated to remove device error logging part which may use different mechanism in the future, possibly rte trace point. v3: updated based on Maxime comments related to passing string through function prototype. Thanks 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/rte_vrb_pmd.c | 59 +++++++- lib/bbdev/rte_bbdev.c | 213 +++++++++++++++++++++++++++++ lib/bbdev/rte_bbdev.h | 47 +++++++ lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map | 4 + 5 files changed, 331 insertions(+), 1 deletion(-) -- 2.34.1