[PATCH v6 02/25] ethdev: add flow graph API
Thomas Monjalon
thomas at monjalon.net
Fri Oct 9 15:26:08 CEST 2026
09/10/2026 12:58, Anatoly Burakov:
> This commit adds a flow graph parsing API. This is a helper API intended to
> aid ethdev drivers in implementing rte_flow parsers, as common usages map
> to graph traversal problem very well.
>
> Features provided by the API:
> - Flow graph, edge, and node definitions
> - Graph traversal logic
> - Declarative validation against common flow item types
> - Per-node validation and state processing callbacks
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> doc/guides/prog_guide/ethdev/flow_graph.rst | 750 ++++++++++++++++++++
> doc/guides/prog_guide/ethdev/index.rst | 1 +
> doc/guides/rel_notes/release_26_11.rst | 5 +
> lib/ethdev/flow_graph.c | 273 +++++++
> lib/ethdev/flow_graph.h | 149 ++++
This is a driver helper and you use it in some Intel drivers,
so I believe it is useful for you.
Let's merge it and see how it is useful for other drivers.
If something need to be rearranged, I assume it will be possible.
Thank you
More information about the dev
mailing list