app/testpmd: support VLAN attributes
authorDekel Peled <dekelp@nvidia.com>
Thu, 15 Oct 2020 15:51:47 +0000 (18:51 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:19 +0000 (19:48 +0200)
commit05292bf9317d221be3e7c13ab29a61f3806e9488
tree78b5b609a67a5e4b0f1e74b3e4620ad728fc1c89
parent09315fc83861ada1119b7ebdb258877ec68e6bd7
app/testpmd: support VLAN attributes

rte_flow update introduced has_vlan field for ETH header item,
and field has_more_vlan for VLAN header item.
The new fields are used to clearly indicate packet tagging chrasteristics.
This patch updates testpmd CLI to support the new fields.

Signed-off-by: Dekel Peled <dekelp@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
app/test-pmd/cmdline_flow.c