[PATCH v5 0/8] dts: add testpmd params
Luca Vizzarro
luca.vizzarro at arm.com
Mon Jun 17 16:54:01 CEST 2024
v5:
- fixed typo
v4:
- fixed up docstrings
- made refactoring changes
- removed params value only
- rebased on top of show port info/stats
v3:
- refactored InteractiveShell methods
- fixed docstrings
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
---
Depends-on: series-32112 ("dts: testpmd show port info/stats")
---
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 | 358 +++++++++++
dts/framework/params/eal.py | 50 ++
dts/framework/params/testpmd.py | 607 ++++++++++++++++++
dts/framework/params/types.py | 133 ++++
dts/framework/remote_session/__init__.py | 7 +-
dts/framework/remote_session/dpdk_shell.py | 106 +++
.../remote_session/interactive_shell.py | 83 ++-
dts/framework/remote_session/python_shell.py | 4 +-
dts/framework/remote_session/testpmd_shell.py | 99 +--
dts/framework/runner.py | 4 +-
dts/framework/test_suite.py | 5 +-
dts/framework/testbed_model/__init__.py | 9 -
dts/framework/testbed_model/node.py | 36 +-
dts/framework/testbed_model/os_session.py | 38 +-
dts/framework/testbed_model/sut_node.py | 194 +-----
.../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, 1384 insertions(+), 389 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
More information about the dev
mailing list