app/flow-perf: fix hairpin queues setup
authorWisam Jaddo <wisamm@mellanox.com>
Thu, 16 Jul 2020 14:16:56 +0000 (14:16 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 19 Jul 2020 13:10:30 +0000 (15:10 +0200)
commitc75f0367236145180213227a8566e30296d6d900
tree291ebbd42b5419baa9ab0dc07ad029a1d2f5e72b
parentf1602b4a86e8c0622326fad4f12a23e6ae0d435c
app/flow-perf: fix hairpin queues setup

The hairpin queue is the one that start from normal rxq,
and will be less than nr_queues where nr_queues is the
sum of normal and hairpin.

Fixes: bf3688f1e816 ("app/flow-perf: add insertion rate calculation")

Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Reviewed-by: Asaf Penso <asafp@mellanox.com>
app/test-flow-perf/main.c