]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add a test for VxLAN symmetric routing with IPv6
authorAmit Cohen <amcohen@nvidia.com>
Tue, 21 Dec 2021 14:49:48 +0000 (16:49 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Dec 2021 01:14:34 +0000 (17:14 -0800)
commit2cc2f0f99ca3292adba3b35ebc8d8ef68fdc4378
treec14f235fb54026c62a58fa4d1f26895704e2fa4b
parentab921fdc3d012fb6085bce339931adb31d31f4ee
selftests: forwarding: Add a test for VxLAN symmetric routing with IPv6

In a similar fashion to the asymmetric test, add a test for symmetric
routing. In symmetric routing both the ingress and egress VTEPs perform
routing in the overlay network into / from the VxLAN tunnel. Packets in
different directions use the same VNI - the L3 VNI.
Different tenants (VRFs) use different L3 VNIs.

Add a test which is similar to the existing IPv4 test to check IPv6.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/vxlan_symmetric_ipv6.sh [new file with mode: 0755]