app/flow-perf: fix encap/decap actions
authorWisam Jaddo <wisamm@nvidia.com>
Sun, 14 Mar 2021 09:54:27 +0000 (11:54 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 12 Apr 2021 14:30:50 +0000 (16:30 +0200)
commit83f9be10f237890587fb7639484ea757c20fdad8
treed7ea0efa542ca789c85b95426d5581a697a166aa
parent96923debefe3f38b56c7fb5a4c171a54e3892e08
app/flow-perf: fix encap/decap actions

When using decap actions it's been set to the data to decap
into the encap_data instead of decap_data, as a results we end
up with bad encap and decap data in many cases.

Fixes: 0c8f1f4ab90e ("app/flow-perf: support raw encap/decap actions")
Cc: stable@dpdk.org
Signed-off-by: Wisam Jaddo <wisamm@nvidia.com>
Acked-by: Alexander Kozyrev <akozyrev@nvidia.com>
app/test-flow-perf/main.c