]> www.infradead.org Git - nvme.git/commit
selftests: mirror: Drop dual SW/HW testing
authorPetr Machata <petrm@nvidia.com>
Thu, 27 Jun 2024 14:48:44 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 09:55:37 +0000 (10:55 +0100)
commitd361d78fe2cc8a7a60e8c71825f84e70d34938af
treef725a2c682bcbdc2aa6ca031beceb012ea8aed9b
parenta86e0df9ce25d33e84ba26fa2876a2e67b8d48ff
selftests: mirror: Drop dual SW/HW testing

The mirroring tests are currently run in a skip_hw and optionally a skip_sw
mode. The former tests the SW datapath, the latter the HW datapath, if
available. In order to be able to test SW datapath on HW loopbacks, traps
are installed on ingress to get traffic from the HW datapath to the SW one.
This adds an unnecessary complexity when it would be much simpler to just
use a veth-based topology to test the SW datapath. Thus drop all the code
that supports this dual testing.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh
tools/testing/selftests/drivers/net/mlxsw/mirror_gre_scale.sh
tools/testing/selftests/net/forwarding/mirror_gre.sh
tools/testing/selftests/net/forwarding/mirror_gre_bound.sh
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1d.sh
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1d_vlan.sh
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q.sh
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q_lag.sh
tools/testing/selftests/net/forwarding/mirror_gre_changes.sh
tools/testing/selftests/net/forwarding/mirror_gre_flower.sh
tools/testing/selftests/net/forwarding/mirror_gre_lag_lacp.sh
tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
tools/testing/selftests/net/forwarding/mirror_gre_neigh.sh
tools/testing/selftests/net/forwarding/mirror_gre_nh.sh
tools/testing/selftests/net/forwarding/mirror_gre_vlan.sh
tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh
tools/testing/selftests/net/forwarding/mirror_vlan.sh