On Mon,  2 Feb 2026 12:36:55 +0100
Lukas Sismis <[email protected]> wrote:

> Introduce librte_flow_parser as an experimental library
> exposing the testpmd flow CLI parser as an optional 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
> - Lightweight 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.
> 
> Other applications should primarily leverage the functions for
> separately parsing rte_flow rule attributes/patterns/actions.
> 
> Signed-off-by: Lukas Sismis <[email protected]>

I fixed a couple of checkpatch warnings during merge to next-net.
The break, use strlcpy, and spelling.

Reply via email to