mbox

[v2,0/4] app: introduce testgraph application

Message ID 20230425131516.3308612-1-vattunuru@marvell.com (mailing list archive)
Headers

Message

Vamsi Krishna Attunuru April 25, 2023, 1:15 p.m. UTC
  This patch series introduces testgraph application that verifies graph
architecture, it provides an infra to verify the graph & node libraries
and scale the test coverage by adding newer configurations to exercise
various graph topologies & graph-walk models required by the DPDK
applications.

Also this series adds two new nodes (punt_kernel & kernel_recv) to the
node library.

V2:
* Handle error checks in testgraph application
* Extend supported test node patterns
* Fix warnings

Vamsi Attunuru (4):
  node: add pkt punt to kernel node
  node: add a node to receive pkts from kernel
  node: remove hardcoded node next details
  app: add testgraph application

 app/meson.build                     |    1 +
 app/test-graph/cmdline.c            |  211 ++++
 app/test-graph/cmdline_graph.c      |  294 ++++++
 app/test-graph/cmdline_graph.h      |   19 +
 app/test-graph/meson.build          |   14 +
 app/test-graph/parameters.c         |  157 +++
 app/test-graph/testgraph.c          | 1426 +++++++++++++++++++++++++++
 app/test-graph/testgraph.h          |   91 ++
 doc/guides/prog_guide/graph_lib.rst |   17 +
 doc/guides/tools/index.rst          |    1 +
 doc/guides/tools/testgraph.rst      |  131 +++
 lib/node/ethdev_rx.c                |    2 -
 lib/node/kernel_recv.c              |  276 ++++++
 lib/node/kernel_recv_priv.h         |   74 ++
 lib/node/meson.build                |    2 +
 lib/node/punt_kernel.c              |  125 +++
 lib/node/punt_kernel_priv.h         |   36 +
 17 files changed, 2875 insertions(+), 2 deletions(-)
 create mode 100644 app/test-graph/cmdline.c
 create mode 100644 app/test-graph/cmdline_graph.c
 create mode 100644 app/test-graph/cmdline_graph.h
 create mode 100644 app/test-graph/meson.build
 create mode 100644 app/test-graph/parameters.c
 create mode 100644 app/test-graph/testgraph.c
 create mode 100644 app/test-graph/testgraph.h
 create mode 100644 doc/guides/tools/testgraph.rst
 create mode 100644 lib/node/kernel_recv.c
 create mode 100644 lib/node/kernel_recv_priv.h
 create mode 100644 lib/node/punt_kernel.c
 create mode 100644 lib/node/punt_kernel_priv.h