app/flow-perf: add runtime option to use unique data
authorWisam Jaddo <wisamm@nvidia.com>
Sun, 14 Mar 2021 09:54:22 +0000 (11:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 12 Apr 2021 13:51:04 +0000 (15:51 +0200)
commiteb4df25f53364833f89a7e5a360c31238c76ecac
tree54642522586a45677f886d680639d4305e3eb04b
parentb611605b053a5d82e2c1c7b2da32f97e3d81f7af
app/flow-perf: add runtime option to use unique data

Current support for unique data is to compile with config.h
var FIXED_VALUES as 0, and this is only supported on
compilation time, as a result the user may use only single
mode for each compilation.

Starting with this commit the user will have the ability to
use this feature on the fly by using this new option:
--unique-data

Example of unique data usage:
Insert many rules with different encap data for a flows that
have encap action in it.

Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
Acked-by: Alexander Kozyrev <akozyrev@nvidia.com>
app/test-flow-perf/actions_gen.c
app/test-flow-perf/actions_gen.h
app/test-flow-perf/config.h
app/test-flow-perf/flow_gen.c
app/test-flow-perf/flow_gen.h
app/test-flow-perf/main.c
doc/guides/tools/flow-perf.rst