From patchwork Fri Apr 12 11:11:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Vizzarro X-Patchwork-Id: 857 Return-Path: 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 D4B6343E51; Fri, 12 Apr 2024 13:11:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 772D8402A2; Fri, 12 Apr 2024 13:11:52 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id AED69400D6 for ; Fri, 12 Apr 2024 13:11:51 +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 48575339; Fri, 12 Apr 2024 04:12:20 -0700 (PDT) Received: from localhost.localdomain (unknown [10.57.19.212]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 255073F766; Fri, 12 Apr 2024 04:11:49 -0700 (PDT) From: Luca Vizzarro To: dev@dpdk.org Cc: =?utf-8?q?Juraj_Linke=C5=A1?= , Jeremy Spewock , Luca Vizzarro Subject: [PATCH 0/5] dts: testpmd show port info/stats Date: Fri, 12 Apr 2024 12:11:31 +0100 Message-Id: <20240412111136.3470304-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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, As previously mentioned in the DTS meeting, here is the patch series relating show port info and stats. It also includes a proposal for a generic parsing utility. From my existing testpmd params series I recognise there are quite a few improvements that can also be added to this series. But I am reserving them for v2. Feel free to point them out here as well. Best, Luca 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 | 147 +++++ .../remote_session/interactive_shell.py | 10 +- dts/framework/remote_session/testpmd_shell.py | 531 +++++++++++++++++- 3 files changed, 685 insertions(+), 3 deletions(-) create mode 100644 dts/framework/parser.py