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
..
2018-07-12 09:37:16 +02:00
2018-05-12 00:37:51 +02:00
2019-02-07 12:59:17 +01:00
2018-11-18 22:32:47 +01:00
2018-01-10 00:51:31 +01:00
2018-12-22 00:22:57 +01:00
2018-10-08 17:53:03 +02:00
2019-02-07 12:59:17 +01:00
2018-10-26 22:14:06 +02:00
2018-11-14 00:35:53 +01:00
2018-11-05 15:01:25 +01:00
2018-02-01 02:33:20 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-04-27 20:11:33 +02:00
2018-12-21 16:22:40 +01:00
2019-01-14 17:44:29 +01:00
2018-12-21 16:22:40 +01:00
2018-12-21 16:22:40 +01:00
2018-10-22 11:28:27 +02:00
2018-10-27 15:21:33 +02:00
2018-10-11 18:56:02 +02:00
2018-10-26 22:14:05 +02:00
2018-10-18 10:24:39 +02:00
2018-11-12 17:45:31 +01:00
2019-02-07 12:59:17 +01:00
2019-02-07 12:59:17 +01:00
2018-10-26 22:14:06 +02:00
2019-01-15 02:40:40 +01:00