[PATCH v9 4/5] app/graph: add custom feature nodes for ip4 output arc

Jerin Jacob jerinjacobk at gmail.com
Fri May 30 15:15:40 CEST 2025


On Mon, Apr 21, 2025 at 11:16 PM Nitin Saxena <nsaxena at marvell.com> wrote:
>
> - Added cmdline argument "--enable-graph-feature-arc" to call
>   rte_graph_feature_arc_init() before rte_graph_create() which creates
>   in-built arcs and feature nodes
> - Added custom feature nodes in app/graph which are added to ip4 output
>   arc.
> - Custom features can be enabled/disabled at runtime on any ethdev via
>   CLI.
>
> graph> help feature
> graph> feature enable <arc name> <feature name> <port-id>
> graph> feature disable <arc name> <feature name> <port-id>
> graph> graph stats show
>
> Signed-off-by: Nitin Saxena <nsaxena at marvell.com>
> ---
>  app/graph/commands.list     |   6 ++
>  app/graph/feature.c         | 141 ++++++++++++++++++++++++++++
>  app/graph/feature.h         |  13 +++
>  app/graph/graph.c           |   4 +
>  app/graph/ip4_output_hook.c | 180 ++++++++++++++++++++++++++++++++++++
>  app/graph/main.c            |  15 ++-
>  app/graph/meson.build       |   2 +
>  app/graph/module_api.h      |   2 +

Update doc/guides/tools/graph.rst


More information about the dev mailing list