Message ID | 20240509112057.1167947-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 937F543F7C; Thu, 9 May 2024 13:21:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FD47402EA; Thu, 9 May 2024 13:21:12 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 0CBD5402B7 for <dev@dpdk.org>; Thu, 9 May 2024 13:21:10 +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 F1141106F; Thu, 9 May 2024 04:21:34 -0700 (PDT) Received: from localhost.localdomain (unknown [10.1.194.74]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E2E203F6A8; Thu, 9 May 2024 04:21:08 -0700 (PDT) From: Luca Vizzarro <luca.vizzarro@arm.com> To: dev@dpdk.org Cc: =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>, Jeremy Spewock <jspewock@iol.unh.edu>, Luca Vizzarro <luca.vizzarro@arm.com> Subject: [PATCH v2 0/8] dts: add testpmd params Date: Thu, 9 May 2024 12:20:49 +0100 Message-Id: <20240509112057.1167947-1-luca.vizzarro@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326190422.577028-1-luca.vizzarro@arm.com> References: <20240326190422.577028-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: add testpmd params
|
|
Message
Luca Vizzarro
May 9, 2024, 11:20 a.m. UTC
Hello, sending in v2: - refactored the params module - strengthened typing of the params module - moved the params module into its own package - refactored EalParams and TestPmdParams and moved under the params package - reworked interactions between nodes and shells - refactored imports leading to circular dependencies Best, Luca --- Depends-on: series-31896 ("dts: update mypy and clean up") --- Luca Vizzarro (8): dts: add params manipulation module dts: use Params for interactive shells dts: refactor EalParams dts: remove module-wide imports dts: add testpmd shell params dts: use testpmd params for scatter test suite dts: rework interactive shells dts: use Unpack for type checking and hinting dts/framework/params/__init__.py | 274 ++++++++ dts/framework/params/eal.py | 50 ++ dts/framework/params/testpmd.py | 608 ++++++++++++++++++ dts/framework/params/types.py | 133 ++++ dts/framework/remote_session/__init__.py | 5 +- dts/framework/remote_session/dpdk_shell.py | 104 +++ .../remote_session/interactive_shell.py | 83 ++- dts/framework/remote_session/python_shell.py | 4 +- dts/framework/remote_session/testpmd_shell.py | 102 ++- dts/framework/runner.py | 4 +- dts/framework/test_suite.py | 5 +- dts/framework/testbed_model/__init__.py | 7 - dts/framework/testbed_model/node.py | 36 +- dts/framework/testbed_model/os_session.py | 38 +- dts/framework/testbed_model/sut_node.py | 182 +----- .../testbed_model/traffic_generator/scapy.py | 6 +- dts/tests/TestSuite_hello_world.py | 9 +- dts/tests/TestSuite_pmd_buffer_scatter.py | 21 +- dts/tests/TestSuite_smoke_tests.py | 4 +- 19 files changed, 1296 insertions(+), 379 deletions(-) create mode 100644 dts/framework/params/__init__.py create mode 100644 dts/framework/params/eal.py create mode 100644 dts/framework/params/testpmd.py create mode 100644 dts/framework/params/types.py create mode 100644 dts/framework/remote_session/dpdk_shell.py
Comments
In addition to the pmd_scatter suite, I refactored my jumboframes suite to use this new module for testing purposes; everything works great, and the format looks much better too. Tested-by: Nicholas Pratte <npratte@iol.unh.edu> Reviewed-by: Nicholas Pratte <npratte@iol.unh.edu> On Thu, May 9, 2024 at 7:21 AM Luca Vizzarro <luca.vizzarro@arm.com> wrote: > > Hello, > > sending in v2: > - refactored the params module > - strengthened typing of the params module > - moved the params module into its own package > - refactored EalParams and TestPmdParams and > moved under the params package > - reworked interactions between nodes and shells > - refactored imports leading to circular dependencies > > Best, > Luca > > --- > Depends-on: series-31896 ("dts: update mypy and clean up") > --- > > Luca Vizzarro (8): > dts: add params manipulation module > dts: use Params for interactive shells > dts: refactor EalParams > dts: remove module-wide imports > dts: add testpmd shell params > dts: use testpmd params for scatter test suite > dts: rework interactive shells > dts: use Unpack for type checking and hinting > > dts/framework/params/__init__.py | 274 ++++++++ > dts/framework/params/eal.py | 50 ++ > dts/framework/params/testpmd.py | 608 ++++++++++++++++++ > dts/framework/params/types.py | 133 ++++ > dts/framework/remote_session/__init__.py | 5 +- > dts/framework/remote_session/dpdk_shell.py | 104 +++ > .../remote_session/interactive_shell.py | 83 ++- > dts/framework/remote_session/python_shell.py | 4 +- > dts/framework/remote_session/testpmd_shell.py | 102 ++- > dts/framework/runner.py | 4 +- > dts/framework/test_suite.py | 5 +- > dts/framework/testbed_model/__init__.py | 7 - > dts/framework/testbed_model/node.py | 36 +- > dts/framework/testbed_model/os_session.py | 38 +- > dts/framework/testbed_model/sut_node.py | 182 +----- > .../testbed_model/traffic_generator/scapy.py | 6 +- > dts/tests/TestSuite_hello_world.py | 9 +- > dts/tests/TestSuite_pmd_buffer_scatter.py | 21 +- > dts/tests/TestSuite_smoke_tests.py | 4 +- > 19 files changed, 1296 insertions(+), 379 deletions(-) > create mode 100644 dts/framework/params/__init__.py > create mode 100644 dts/framework/params/eal.py > create mode 100644 dts/framework/params/testpmd.py > create mode 100644 dts/framework/params/types.py > create mode 100644 dts/framework/remote_session/dpdk_shell.py > > -- > 2.34.1 >