Merge branch 'ip6gre-tests'
authorDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 15:41:00 +0000 (16:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 15:41:00 +0000 (16:41 +0100)
commit36ee7281c586eca7bd1c9ce2cc1530059518df06
treee3b52feda60e207e028a6d0f39507cc577cf2a78
parent4c1e34c0dbffb17accdfe16ac97ab432df9024ff
parent7f63cdde50302bcdf48c35afbb057a8d3d3e0d85
Merge branch 'ip6gre-tests'

Ido Schimmel says:

====================
selftests: forwarding: Add ip6gre tests

This patchset adds forwarding selftests for ip6gre. The tests can be run
with veth pairs or with physical loopbacks.

Patch #1 adds a new config option to determine if 'skip_sw' / 'skip_hw'
flags are used when installing tc filters. By default, it is not set
which means the flags are not used. 'skip_sw' is useful to ensure
traffic is forwarded by the hardware data path.

Patch #2 adds a new helper function.

Patches #3-#4 add the forwarding selftests.

Patch #5 adds a mlxsw-specific selftest to validate correct behavior of
the 'decap_error' trap with IPv6 underlay.

Patches #6-#8 align the corresponding IPv4 underlay test to the IPv6
one.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>