app/flow-perf: allow fixed values for actions
authorWisam Jaddo <wisamm@mellanox.com>
Sun, 30 Aug 2020 11:15:44 +0000 (11:15 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:11 +0000 (18:55 +0200)
commit9783092022a0cbafed8aa3b3ce6bd23f23cbd175
treecfc967ba9c7e8d19433902e9d22bae2595c62057
parent7bcd402d7e4bc602b047bf08ccc67bf52fafb439
app/flow-perf: allow fixed values for actions

Sometime the user want to have fixed values of
encap/decap or header modify for all flows.

This will introduce the ability to choose from
fixed or dynamic values by setting the flag in
config.h

To use different value for each flow:
config.h: #define FIXED_VALUES 0

To use single value for all flows:
config.h: #define FIXED_VALUES 1

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Alexander Kozyrev <akozyrev@nvidia.com>
app/test-flow-perf/actions_gen.c
app/test-flow-perf/config.h