app/flow-perf: add random priority option
authorSatheesh Paul <psatheesh@marvell.com>
Tue, 2 Nov 2021 10:50:41 +0000 (16:20 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 8 Nov 2021 09:33:08 +0000 (10:33 +0100)
commitfda3750de619617a258da4281de7535b4bad7401
treeb1e8cd5881fdded765cbfb85bb39f1d72dd8b5e1
parentf66898ebd0d96462bd037b37157054175a75f049
app/flow-perf: add random priority option

Added support to create flows with priority attribute set
randomly between 0 and a user supplied maximum value. This
is useful to measure performance on NICs which may have to
rearrange flows to honor flow priority.

Removed the lower limit of 100000 flows per batch.

Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Acked-by: Wisam Jaddo <wisamm@nvidia.com>
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