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 EA5C843F7C; Thu, 9 May 2024 13:26:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B11C402EE; Thu, 9 May 2024 13:26:49 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id C7A4A402ED for ; Thu, 9 May 2024 13:26:47 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B9931106F; Thu, 9 May 2024 04:27:12 -0700 (PDT) Received: from localhost.localdomain (unknown [10.1.194.74]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AA08D3F6A8; Thu, 9 May 2024 04:26:46 -0700 (PDT) From: Luca Vizzarro To: dev@dpdk.org Cc: =?UTF-8?q?Juraj=20Linke=C5=A1?= , Jeremy Spewock , Luca Vizzarro Subject: [PATCH v2 0/5] dts: testpmd show port info/stats Date: Thu, 9 May 2024 12:26:30 +0100 Message-Id: <20240509112635.1170557-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412111136.3470304-1-luca.vizzarro@arm.com> References: <20240412111136.3470304-1-luca.vizzarro@arm.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 Hello, sending in v2: - refactored parsing utility - changed functionality of the parser for conciseness - added a usage example to the parsing module Best, Luca --- Depends-on: series-31896 ("dts: update mypy and clean up") --- Luca Vizzarro (5): dts: fix InteractiveShell command prompt filtering dts: skip first line of send command output dts: add parsing utility module dts: add `show port info` command to TestPmdShell dts: add `show port stats` command to TestPmdShell dts/framework/parser.py | 199 +++++++ .../remote_session/interactive_shell.py | 10 +- dts/framework/remote_session/testpmd_shell.py | 558 +++++++++++++++++- 3 files changed, 764 insertions(+), 3 deletions(-) create mode 100644 dts/framework/parser.py -- 2.34.1