summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-24 16:27:21 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-24 22:26:19 -0400
commit91bac7f9977a5d481f1a750c613727089d7cabc0 (patch)
tree02e4a24989da2ddb2f1f8582b8b520a5a89064e4 /tools/testing/selftests/net/forwarding/mirror_gre_changes.sh
parentd5ea2bfc806a92bdeeed9a16e6dddfe44ebc37ec (diff)
selftests: forwarding: Add $h3's clsact to mirror_topo_lib.sh
Having a clsact qdisc on $h3 is useful in several tests, and will be useful in more tests to come. Move the registration from all the tests that need it into the topology file itself. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/forwarding/mirror_gre_changes.sh')
-rwxr-xr-xtools/testing/selftests/net/forwarding/mirror_gre_changes.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh b/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh
index e22a9e44db24..aa29d46186a8 100755
--- a/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_gre_changes.sh
@@ -73,7 +73,6 @@ test_span_gre_ttl()
RET=0
mirror_install $swp1 ingress $tundev "matchall $tcflags"
- tc qdisc add dev $h3 clsact
tc filter add dev $h3 ingress pref 77 prot $prot \
flower ip_ttl 50 action pass
@@ -84,7 +83,6 @@ test_span_gre_ttl()
ip link set dev $tundev type $type ttl 100
tc filter del dev $h3 ingress pref 77
- tc qdisc del dev $h3 clsact
mirror_uninstall $swp1 ingress
log_test "$what: TTL change ($tcflags)"