app/flow-perf: fix raw encapsulation size
authorXiaoyu Min <jackmin@nvidia.com>
Mon, 16 Nov 2020 07:55:15 +0000 (15:55 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 22 Nov 2020 16:07:34 +0000 (17:07 +0100)
commit8b91a7cd2c1e8ac0f816a5fe4dfb02753b420c01
tree35850d88bc66a4a9644b3880521fd888116fddcf
parent1ce051a4cc636698359b31008674754690c15e1c
app/flow-perf: fix raw encapsulation size

The rte_flow_item_eth and rte_flow_item_vlan items are refined.
The structs do not exactly represent the packet bits captured on the
wire anymore so add_*_header functions should use real header instead of
the using rte_flow_item_* struct.

Replace the rte_flow_item_* with the existing corresponding rte_*_hdr.

Fixes: 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN items")

Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>
app/test-flow-perf/actions_gen.c