app/flow-perf: add insertion rate calculation
authorWisam Jaddo <wisamm@mellanox.com>
Thu, 4 Jun 2020 13:34:59 +0000 (13:34 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jun 2020 13:47:36 +0000 (15:47 +0200)
commitbf3688f1e81632daa2a88dc7bd7120b46ed35d4e
treea0b7e8eb4b7787001d960f1b728e25ecd428afb0
parent3344cf2e30011f7ed8b98313c5732ba6c29b3f9e
app/flow-perf: add insertion rate calculation

Add insertion rate calculation feature into flow
performance application.

The application now provide the ability to test
insertion rate of specific rte_flow rule, by
stressing it to the NIC, and calculate the
insertion rate.

The application offers some options in the command
line, to configure which rule to apply.

After that the application will start producing
rules with same pattern but increasing the outer IP
source address by 1 each time, thus it will give
different flow each time, and all other items will
have open masks.

The current design have single core insertion rate.

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Xiaoyu Min <jackmin@mellanox.com>
12 files changed:
app/test-flow-perf/Makefile
app/test-flow-perf/actions_gen.c [new file with mode: 0644]
app/test-flow-perf/actions_gen.h [new file with mode: 0644]
app/test-flow-perf/config.h
app/test-flow-perf/flow_gen.c [new file with mode: 0644]
app/test-flow-perf/flow_gen.h [new file with mode: 0644]
app/test-flow-perf/items_gen.c [new file with mode: 0644]
app/test-flow-perf/items_gen.h [new file with mode: 0644]
app/test-flow-perf/main.c
app/test-flow-perf/meson.build
doc/guides/rel_notes/release_20_08.rst
doc/guides/tools/flow-perf.rst