On Mon,  5 Jan 2026 22:30:19 +0100
Lukas Sismis <[email protected]> wrote:

> Introduce librte_flow_parser as an optional, experimental library
> exposing the testpmd flow CLI parser as a reusable component.
> 
> The library provides:
> - rte_flow_parser_init(): Initialize parser with operation callbacks
> - rte_flow_parser_parse(): Parse flow command strings into output
> - rte_flow_parser_run(): Parse and execute via registered callbacks
> - Helper functions for parsing pattern/action/attribute strings
> 
> The parser uses a single global instance design for simplicity.
> All parsing state is internal to the library. Callbacks are invoked
> for flow create, destroy, validate, query and other flow operations.
> 
> This enables applications to reuse testpmd's well-tested flow syntax
> without duplicating the parser implementation.
> 
> Signed-off-by: Lukas Sismis <[email protected]>
> ---

Any new feature like this is required to add a new standalone test
to the functional tests.

Reply via email to