app/testpmd: add option to configure UDP tunnel port
authorShahed Shaikh <shahed.shaikh@cavium.com>
Sun, 22 Apr 2018 20:59:24 +0000 (13:59 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:43 +0000 (17:34 +0100)
commit08e0b3440baffc20a9317a5e3dc83c6de5d39c24
tree0c43eb1b2ddb3a007a482dd4dd83fcfc74b0ced4
parent175fe7d9eb5e82448c69ec33d42144842cb4aa02
app/testpmd: add option to configure UDP tunnel port

This change adds a new option to "port config" command to
add udp tunnel port for VXLAN and GENEVE tunneling protocols.
This command can be extended for other tunneling protocols
listed in "enum rte_eth_tunnel_type" as and when needed.

usage:
port config <port_id> udp_tunnel_port add|rm vxlan|geneve <udp_port>

Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst