ethdev: add VLAN attributes to ethernet and VLAN items
authorDekel Peled <dekelp@nvidia.com>
Thu, 15 Oct 2020 15:51:46 +0000 (18:51 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:19 +0000 (19:48 +0200)
commit09315fc83861ada1119b7ebdb258877ec68e6bd7
tree50c3b5c7cb04948da5bde8dfed4b2bc85f7f5f0e
parent01817b10d27c8d1376210d4798bf504dffaa8ccd
ethdev: add VLAN attributes to ethernet and VLAN items

This patch implements the change proposes in RFC [1], adding dedicated
fields to ETH and VLAN items structs, to clearly define the required
characteristic of a packet, and enable precise match criteria.
Documentation is updated accordingly.

[1] https://mails.dpdk.org/archives/dev/2020-August/177536.html

Signed-off-by: Dekel Peled <dekelp@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
doc/guides/prog_guide/rte_flow.rst
doc/guides/rel_notes/deprecation.rst
doc/guides/rel_notes/release_20_11.rst
lib/librte_ethdev/rte_flow.h