[dpdk-dev] [PATCH v3] app/testpmd: add tos and ttl field to vxlan encapsulation
Ferruh Yigit
ferruh.yigit at intel.com
Thu Feb 7 13:08:37 CET 2019
On 1/23/2019 7:45 PM, Ori Kam wrote:
>
>
>> -----Original Message-----
>> From: dev <dev-bounces at dpdk.org> On Behalf Of Viacheslav Ovsiienko
>> Sent: Tuesday, January 22, 2019 12:57 PM
>> To: dev at dpdk.org
>> Cc: Shahaf Shuler <shahafs at mellanox.com>
>> Subject: [dpdk-dev] [PATCH v3] app/testpmd: add tos and ttl field 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 at mellanox.com>
>
> Acked-by: Ori Kam <orika at mellanox.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list