ethdev: add tunnel encap/decap actions
authorDeclan Doherty <declan.doherty@intel.com>
Thu, 26 Apr 2018 17:29:16 +0000 (18:29 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:57 +0000 (18:00 +0100)
commit3850cf0c8c3702323a081f8948a5c94bd773ba35
tree34f8df3fa60d1b7f29b22078277b29da45034abb
parent3cefef5491fb4007e0efdceed770d8f64fb723ee
ethdev: add tunnel encap/decap actions

Add new flow action types and associated action data structures to
support the encapsulation and decapsulation of VXLAN and NVGRE tunnel
endpoints.

The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_ENCAP action will cause the
matching flow to be encapsulated in the tunnel endpoint overlay
defined in the [vxlan/nvgre]_encap action data.

The RTE_FLOW_ACTION_TYPE_[VXLAN/NVGRE]_DECAP action will cause all
headers associated with the outer most tunnel endpoint of the specified
type for the matching flows.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
doc/guides/prog_guide/rte_flow.rst
lib/librte_ether/rte_flow.h