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 DF365437F7; Tue, 2 Jan 2024 03:12:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEC6B406B4; Tue, 2 Jan 2024 03:12:03 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by mails.dpdk.org (Postfix) with ESMTP id DD77B402BE for ; Tue, 2 Jan 2024 03:12:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704161522; x=1735697522; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EQwVtuagQMVm1qnFNnWEgKGxQSgzAZ7eDJxPY6tplVQ=; b=eqRq4u5NOEXijnuMcr4DbvBhJC75bqceZ/0o7haVlkJl1Eqt4mmM74Xh 9Q7Sz0VPKBR3A2UI2Pu9VhqOjWe3hT30X7i6ylO8Z1j9MI89nEtuDaUwS SPgchaI44cdnm4j94KsUcmZ7Ota12pVaMWmlVyBCNn6/33AIrmvAU6Dzq kDPO7XcS7nZbFhLIgSS7SE7m6rjnFp8dxFlgxSsPdKENOLRwQmOdbDu3V ZUAP20eDsogrhny7fRYBJ6zzQrOESmG7bV9sj8kru2sLjBu2T15Hg0bGD pbi3oSiJhypQyVfS3R1LWOD5cIcyoDEJPLKCwMSJVeu28f7hwsQQNgcrw w==; X-IronPort-AV: E=McAfee;i="6600,9927,10940"; a="4161537" X-IronPort-AV: E=Sophos;i="6.04,324,1695711600"; d="scan'208";a="4161537" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jan 2024 18:11:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10940"; a="772701518" X-IronPort-AV: E=Sophos;i="6.04,324,1695711600"; d="scan'208";a="772701518" Received: from dpdk-qzhan15-test02.sh.intel.com ([10.67.115.37]) by orsmga007.jf.intel.com with ESMTP; 01 Jan 2024 18:11:45 -0800 From: Qi Zhang To: qiming.yang@intel.com, wenjun1.wu@intel.com Cc: dev@dpdk.org, Qi Zhang Subject: [PATCH 2/2] doc: add document for diagnostic utilities Date: Tue, 2 Jan 2024 05:32:46 -0500 Message-Id: <20240102103246.3435636-2-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240102103246.3435636-1-qi.z.zhang@intel.com> References: <20231226185428.3158880-1-qi.z.zhang@intel.com> <20240102103246.3435636-1-qi.z.zhang@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 Document CLI for diagnose purpose. Signed-off-by: Qi Zhang --- doc/guides/nics/ice.rst | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index 820a385b06..29309abe4d 100644 --- a/doc/guides/nics/ice.rst +++ b/doc/guides/nics/ice.rst @@ -411,6 +411,42 @@ To start ``testpmd``, and add vlan 10 to port 0: testpmd> rx_vlan add 10 0 +Diagnostic Utilities +-------------------- + +Dump DDP Package +~~~~~~~~~~~~~~~~ + +Dump the runtime packet processing pipeline configuration into a +binary file. This helps the support team diagnose hardware +configuration issues. + +Usage:: + + testpmd>ddp dump + +Dump Switch Configurations +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Dump detail hardware configurations related to the switch pipeline +stage into a binary file. + +Usage:: + + testpmd>ddp dump switch + +Dump Tx Scheduling Tree +~~~~~~~~~~~~~~~~~~~~~~~ + +Dump the runtime Tx scheduling tree into a DOT file. + +Usage:: + + testpmd>txsched dump + +In "brief" mode, all scheduling nodes in the tree are displayed. +In "detail" mode, each node's configuration parameters are also displayed. + Limitations or Known issues --------------------------- -- 2.31.1