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

Jeremy Spewock jspewock at iol.unh.edu
Fri Jun 7 15:11:06 CEST 2024


On Thu, Jun 6, 2024 at 5:34 PM Luca Vizzarro <luca.vizzarro at arm.com> 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: Jeremy Spewock <jspewock at iol.unh.edu>


More information about the dev mailing list