summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-31 19:52:37 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-01 14:11:02 -0400
commit683680165c5b71ae6abf6745fed6a29a683813e3 (patch)
treebcb676a372969d72fa32a7082e162c0cca807fba /tools
parenta6f3282e2fabcfa6a3433bbe708fc65b7f2d6a72 (diff)
downloadlinux-683680165c5b71ae6abf6745fed6a29a683813e3.tar.bz2
selftests: forwarding: mirror_gre_vlan_bridge_1q: Rename two tests
Rename test_gretap_forbidden() and test_ip6gretap_forbidden() to a more specific test_gretap_forbidden_cpu() and test_ip6gretap_forbidden_cpu(). This will make it clearer which is which when further down a patch is introduced that forbids a VLAN on regular bridge port. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh b/tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh
index 0a3bac96f883..d91b3475e6df 100755
--- a/tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_gre_vlan_bridge_1q.sh
@@ -10,8 +10,8 @@
ALL_TESTS="
test_gretap
test_ip6gretap
- test_gretap_forbidden
- test_ip6gretap_forbidden
+ test_gretap_forbidden_cpu
+ test_ip6gretap_forbidden_cpu
"
NUM_NETIFS=6
@@ -77,7 +77,7 @@ test_ip6gretap()
test_vlan_match gt6 'vlan_id 555 vlan_ethtype ipv6' "mirror to ip6gretap"
}
-test_span_gre_forbidden()
+test_span_gre_forbidden_cpu()
{
local tundev=$1; shift
local what=$1; shift
@@ -102,14 +102,14 @@ test_span_gre_forbidden()
log_test "$what: vlan forbidden at a bridge ($tcflags)"
}
-test_gretap_forbidden()
+test_gretap_forbidden_cpu()
{
- test_span_gre_forbidden gt4 "mirror to gretap"
+ test_span_gre_forbidden_cpu gt4 "mirror to gretap"
}
-test_ip6gretap_forbidden()
+test_ip6gretap_forbidden_cpu()
{
- test_span_gre_forbidden gt6 "mirror to ip6gretap"
+ test_span_gre_forbidden_cpu gt6 "mirror to ip6gretap"
}
test_all()