Message ID | 20240606213420.254260-1-luca.vizzarro@arm.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 99E8744178; Thu, 6 Jun 2024 23:34:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6AAA640EDF; Thu, 6 Jun 2024 23:34:29 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 9C0DD40EAB for <dev@dpdk.org>; Thu, 6 Jun 2024 23:34:27 +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 784AD2F4; Thu, 6 Jun 2024 14:34:51 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5661C3F792; Thu, 6 Jun 2024 14:34:26 -0700 (PDT) From: Luca Vizzarro <luca.vizzarro@arm.com> To: dev@dpdk.org Cc: Jeremy Spewock <jspewock@iol.unh.edu>, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>, Luca Vizzarro <luca.vizzarro@arm.com> Subject: [PATCH v5 0/5] dts: testpmd show port info/stats Date: Thu, 6 Jun 2024 22:34:15 +0100 Message-Id: <20240606213420.254260-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 <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 |
dts: testpmd show port info/stats
|
|
Message
Luca Vizzarro
June 6, 2024, 9:34 p.m. UTC
v5: - fixed docstrings typos v4: - fixed up TextParser class wording v3: - fixed docstrings - changed TextParser.compose signature - explained TextParser further - introduced new DTSError InternalError v2: - refactored parsing utility - changed functionality of the parser for conciseness - added a usage example to the parsing module --- Depends-on: series-32026 ("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/exception.py | 9 + dts/framework/parser.py | 229 +++++++ .../remote_session/interactive_shell.py | 10 +- dts/framework/remote_session/testpmd_shell.py | 612 +++++++++++++++++- 4 files changed, 857 insertions(+), 3 deletions(-) create mode 100644 dts/framework/parser.py
Comments
> 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 Applied, thanks.