[PATCH v5 4/5] dts: add `show port info` command to TestPmdShell

Juraj Linkeš juraj.linkes at pantheon.tech
Fri Jun 7 13:16:35 CEST 2024



On 6. 6. 2024 23:34, Luca Vizzarro wrote:
> Add a new TestPmdPort data structure to represent the output
> returned by `show port info`, which is implemented as part of
> TestPmdShell.
> 
> The TestPmdPort data structure and its derived classes are modelled
> based on the relevant testpmd source code.
> 
> This implementation makes extensive use of regular expressions, which
> all parse individually. The rationale behind this is to lower the risk
> of the testpmd output changing as part of development. Therefore
> minimising breakage.
> 
> Bugzilla ID: 1407
> 
> Signed-off-by: Luca Vizzarro <luca.vizzarro at arm.com>
> Reviewed-by: Paul Szczepanek <paul.szczepanek at arm.com>

Reviewed-by: Juraj Linkeš <juraj.linkes at pantheon.tech>


More information about the dev mailing list