]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add IPv6 GRE flat tests
authorAmit Cohen <amcohen@nvidia.com>
Fri, 8 Oct 2021 13:12:36 +0000 (16:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 15:40:58 +0000 (16:40 +0100)
commit0d41c235ee6922170c16ec4c3244a3118e5d863d
tree42f1852d24c3881adee07e50aa6652bd4607942f
parent6f9886ea6c132b0993e3174ad66aa7ba79596f6b
selftests: forwarding: Add IPv6 GRE flat tests

Add tests that check IPv6-in-IPv6, IPv4-in-IPv6 and MTU change of GRE
tunnel. The tests use flat model - overlay and underlay share the same VRF.

These tests can be run with TC_FLAG=skip_sw, so then they will verify
that packets go through hardware as part of enacp and decap phases.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/ip6gre_flat.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/ip6gre_flat_key.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/ip6gre_flat_keys.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/ip6gre_lib.sh [new file with mode: 0644]