ethdev: introduce GENEVE header TLV option item
authorShiri Kuzin <shirik@nvidia.com>
Sun, 17 Jan 2021 10:21:15 +0000 (12:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:15 +0000 (03:30 +0100)
commit2b4c72b4d10d7789f7d78a8ebd66282e2febef1a
tree2afba5a4799e6a52f64a0aaa00b5519c8881df26
parent92c87229a9b096a53a5a9763bfee0198d20a91ea
ethdev: introduce GENEVE header TLV option item

The Geneve tunneling protocol is designed to allow the
user to specify some data context on the packet.
The GENEVE TLV (Type-Length-Variable) Option
is the mean intended to present the user data.

In order to support GENEVE TLV Option the new rte_flow
item "rte_flow_item_geneve_opt" is added.
The new item contains the values and masks for the
following fields:
-option class
-option type
-length
-data

New item will be added to testpmd to support match and
raw encap/decap actions.

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/rel_notes/release_21_02.rst
lib/librte_ethdev/rte_flow.c
lib/librte_ethdev/rte_flow.h