[PATCH v10 3/6] flow_parser: add shared parser library

Stephen Hemminger stephen at networkplumber.org
Fri Feb 13 20:16:36 CET 2026


On Fri, 13 Feb 2026 08:46:04 +0100
Lukáš Šišmiš <sismis at dyna-nic.com> wrote:

> Ok, I can move it there then. Should I proceed with Patch v11 - that would
> include moving the ethdev directory and addressing the kernel's checkpatch
> issues?
> 
> The initializer doesn't seem like a bad idea. I didn't know about that one.
> The parser_ops are not needed for purely parsing, but to remain compatible
> with the testpmd's code, which is using, e.g., the hints on the commandline
> I added parser_ops.
> The simple public library API is for converting strings to rte_flow
> structures,
> the parser_ops is for hooking up the testpmd.

Testpmd can change as needed.
In general testpmd shouldn't be using "special" API's; that would indicate
a architecture issue.


More information about the dev mailing list