numam-dpdk/app
Viacheslav Ovsiienko 62e8a5a8c8 app/testpmd: add TOS and TTL fields to VXLAN encapsulation
The new testpmd set vxlan-tos-ttl command is added. It
allows to specify tos and tll fields for encapsulation IP
header.

IPv4 VXLAN outer header:

  testpmd> set vxlan-tos-ttl ip-version ipv4 vni 4 udp-src 4
           udp-dst 4 ip-tos 0 ip-ttl 255 ip-src 127.0.0.1
           ip-dst 128.0.0.1 eth-src 11:11:11:11:11:11
           eth-dst 22:22:22:22:22:22

IPv6 VXLAN outer header:
  testpmd> set vxlan-tos-ttl ip-version ipv6 vni 4 udp-src 4
           udp-dst 4 ip-tos 0 ip-ttl 255 ::1 ip-dst ::2222
           eth-src 11:11:11:11:11:11 eth-dst
           22:22:22:22:22:22

Note: ip-ttl parameter corresponds the nop_limits field for IPv6.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2019-02-07 12:59:17 +01:00
..
pdump app/pdump: fix vdev cleanup 2019-01-17 21:27:37 +01:00
proc-info app/procinfo: add --iter-mempool 2019-01-11 15:45:30 +01:00
test-bbdev app/bbdev: fix return value check 2019-01-10 16:57:22 +01:00
test-compress-perf app/compress-perf: refactor code 2018-12-19 11:19:11 +01:00
test-crypto-perf app/crypto-perf: use separate session mempools 2019-01-10 16:57:22 +01:00
test-eventdev app/eventdev: detect deadlock for timer event producer 2018-12-16 17:58:06 +01:00
test-pmd app/testpmd: add TOS and TTL fields to VXLAN encapsulation 2019-02-07 12:59:17 +01:00
Makefile app/compress-perf: add parser 2018-12-19 11:19:10 +01:00
meson.build app/compress-perf: add parser 2018-12-19 11:19:10 +01:00