numam-dpdk/doc/guides
Ori Kam 3e77031be8 app/testpmd: add MPLSoGRE encapsulation
Example for MPLSoGRE tunnel:
ETH / IPV4 / GRE / MPLS / IP / L4..L7

In order to encapsulate such a tunnel there is a need to remove L2 of
the inner packet and encap the remaining tunnel, this is done by
applying 2 rte flow commands l2_decap followed by mplsogre_encap.
Both commands must appear in the same flow, and from the point of the
packet it both actions are applied at the same time. (There is no part
where a packet doesn't have L2 header).

Decapsulating such a tunnel works the other way, first we need to decap
the outer tunnel header and then apply the new L2.
So the commands will be mplsogre_decap / l2_encap

Due to the complex encapsulation of MPLSoGRE flow action and
based on the fact testpmd does not allocate memory, this patch adds a
new command in testpmd to initialise a global structure containing the
necessary information to make the outer layer of the packet.  This same
global structures will then be used by the flow commands in testpmd when
the action mplsogre_encap, mplsogre_decap, will be parsed, at this
point, the conversion into such action becomes trivial.

Signed-off-by: Ori Kam <orika@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-10-26 22:14:05 +02:00
..
bbdevs baseband/turbo_sw: update for FlexRAN 1.6.0 2018-07-25 08:22:14 +02:00
compressdevs use registered name for OCTEON TX references 2018-10-26 14:16:05 +02:00
contributing drivers/net: fix log type string 2018-10-11 18:53:49 +02:00
cryptodevs doc: add CAAM JR guide 2018-10-17 12:23:40 +02:00
eventdevs doc: fix spelling in PMD guides 2018-10-26 22:14:05 +02:00
faq doc: update preferred log level syntax in guides 2018-04-25 12:16:50 +02:00
freebsd_gsg doc: update memory option usage for FreeBSD 2018-04-28 00:07:31 +02:00
howto doc: fix typos in the flow API guide 2018-10-11 18:53:49 +02:00
linux_gsg eal: add option to limit memory allocation on sockets 2018-07-13 11:44:15 +02:00
mempool use registered name for OCTEON TX references 2018-10-26 14:16:05 +02:00
nics doc: fix spelling in PMD guides 2018-10-26 22:14:05 +02:00
platform use registered name for OCTEON TX references 2018-10-26 14:16:05 +02:00
prog_guide ethdev: add raw encapsulation action 2018-10-26 22:14:05 +02:00
rawdevs raw/ifpga: add Intel FPGA bus rawdev driver 2018-05-11 17:09:26 +02:00
rel_notes ethdev: complete closing of port 2018-10-26 22:14:05 +02:00
sample_app_ug examples/kni: monitor and update link state continually 2018-10-26 19:46:23 +02:00
testpmd_app_ug app/testpmd: add MPLSoGRE encapsulation 2018-10-26 22:14:05 +02:00
tools doc: update eventdev app guide for Tx adapter 2018-10-01 16:54:15 +02:00
conf.py doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
custom.css doc: improve HTML spacing in release notes 2018-02-14 00:23:25 +01:00
index.rst doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00