[PATCH v3 0/5] dts: testpmd show port info/stats

Luca Vizzarro luca.vizzarro at arm.com
Wed Jun 5 16:44:59 CEST 2024


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                       | 228 +++++++
 .../remote_session/interactive_shell.py       |  10 +-
 dts/framework/remote_session/testpmd_shell.py | 612 +++++++++++++++++-
 4 files changed, 856 insertions(+), 3 deletions(-)
 create mode 100644 dts/framework/parser.py

-- 
2.34.1



More information about the dev mailing list