[dpdk-dev] [PATCH v2 0/3] app/testpmd: add l3 encap/decap cmd
Ori Kam
orika at mellanox.com
Sun Oct 7 16:41:50 CEST 2018
Currently testpmd have support only for encapsulation and decapsulation
for L2 tunnels.
This series adds commands for L3 tunnels types, L3 tunnel is a tunnel
that the inner packet is missing the L2 part. The encapsulation uses
the encap_l3 command in-order to remove the inner l2.
For decapsulation since the inner packet is missing the L2 there is
a need to supply it to the NIC using the decap_l3.
The tunnels are are implemented are: MPLSoGRE and MPLSoUDP
while the decap can be used for all L3 tunnels.
This series is based on add generic L2/L3 tunnel encapsulation actions [1]
[1] https://mails.dpdk.org/archives/dev/2018-September/111781.html
v2:
* rebase on tip.
Ori Kam (3):
app/testpmd: add MPLSoUDP encapsulation
app/testpmd: add MPLSoGRE encapsulation
app/testpmd: add decap l3 command
app/test-pmd/cmdline.c | 434 ++++++++++++++++++++++++++++
app/test-pmd/cmdline_flow.c | 316 ++++++++++++++++++++
app/test-pmd/testpmd.h | 42 +++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 131 +++++++++
4 files changed, 923 insertions(+)
--
1.8.3.1
More information about the dev
mailing list