Message ID | 20240913231811.969965-1-nicolas.chautru@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 0190945984; Sat, 14 Sep 2024 01:17:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE5AD4026C; Sat, 14 Sep 2024 01:17:45 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id C2B664026A for <dev@dpdk.org>; Sat, 14 Sep 2024 01:17:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726269464; x=1757805464; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Af/XiKRteZ0+btsPeQcQM5ffESPeMswICXVYZDfbZe8=; b=jlA1NbtDz4oOqSTxLr6wqVlhq/dZaxUnx+7owuXYGUqiNjMsbLAaOxVL ejo6qFtFY/Q/N2bJU/JYXRFsuO2GWZhaZame9IZoAQDeYV8TAUlF015r/ zAOUTJbNfgCcSs7pqhETufhp/DV4o58ofQlDlUHV4vaPLEN1gmhQczRYK 4sYcFr23gmMtlYE6+WrUnc175gqAlnNBuXK0kwSO8gG97PHbZUg7EAzm+ eJspDbgPblZxb9Vf6Zz+vMl3eMGAgRypbsOeLxkeKHr6jwhfE7DLhThEm GNywhfQ0JUo8E+N1DR0UdQn8lxekhLrNjhtUESIUjbKlQ6+WmnwG3b4P8 A==; X-CSE-ConnectionGUID: 1+HrBnnYRLGBQsZrNZ4zYg== X-CSE-MsgGUID: p0YRB7F/TJq97c1qoYGb4A== X-IronPort-AV: E=McAfee;i="6700,10204,11194"; a="35858425" X-IronPort-AV: E=Sophos;i="6.10,227,1719903600"; d="scan'208";a="35858425" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2024 16:17:43 -0700 X-CSE-ConnectionGUID: cQf50icpRBm48vQvqmbGZw== X-CSE-MsgGUID: EFsPn/QFQVao+67PKV2OHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,227,1719903600"; d="scan'208";a="67853094" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by fmviesa006.fm.intel.com with ESMTP; 13 Sep 2024 16:17:43 -0700 From: Nicolas Chautru <nicolas.chautru@intel.com> To: dev@dpdk.org, maxime.coquelin@redhat.com Cc: hemant.agrawal@nxp.com, david.marchand@redhat.com, hernan.vargas@intel.com, Nicolas Chautru <nicolas.chautru@intel.com> Subject: [PATCH v3 0/2] bbdev: dump debug information Date: Fri, 13 Sep 2024 16:18:09 -0700 Message-Id: <20240913231811.969965-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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
bbdev: dump debug information
|
|
Message
Nicolas Chautru
Sept. 13, 2024, 11:18 p.m. UTC
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/acc_common.h | 38 +++++ drivers/baseband/acc/rte_vrb_pmd.c | 129 +++++++++++++---- lib/bbdev/rte_bbdev.c | 213 +++++++++++++++++++++++++++++ lib/bbdev/rte_bbdev.h | 47 +++++++ lib/bbdev/rte_bbdev_pmd.h | 9 ++ lib/bbdev/version.map | 4 + 6 files changed, 413 insertions(+), 27 deletions(-)
Comments
Hi Nicolas, I have ack your patches. One suggestion, if you can use "--in-reply-to=" in you patch series, it will be helpful. This will link your new series with old series. Regards Hemant On 14-09-2024 04:48, Nicolas Chautru wrote: > 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/acc_common.h | 38 +++++ > drivers/baseband/acc/rte_vrb_pmd.c | 129 +++++++++++++---- > lib/bbdev/rte_bbdev.c | 213 +++++++++++++++++++++++++++++ > lib/bbdev/rte_bbdev.h | 47 +++++++ > lib/bbdev/rte_bbdev_pmd.h | 9 ++ > lib/bbdev/version.map | 4 + > 6 files changed, 413 insertions(+), 27 deletions(-) >