summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/mlxsw
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-06-27 16:48:39 +0200
committerDavid S. Miller <davem@davemloft.net>2024-06-28 11:55:36 +0200
commit28e67746b73da72f57609c7250d514051e787e65 (patch)
tree2bb37dd221723340d03bbf8ca94ea5ecaaffd909 /tools/testing/selftests/drivers/net/mlxsw
parentselftests: libs: Expand "$@" where possible (diff)
downloadlinux-28e67746b73da72f57609c7250d514051e787e65.tar.xz
linux-28e67746b73da72f57609c7250d514051e787e65.zip
selftests: mirror: Drop direction argument from several functions
The argument is not used by these functions except to propagate it for ultimately no purpose. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers/net/mlxsw')
-rwxr-xr-xtools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh b/tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh
index 76f1ab4898d9..47be3b269088 100755
--- a/tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh
+++ b/tools/testing/selftests/drivers/net/mlxsw/mirror_gre.sh
@@ -119,11 +119,11 @@ test_span_gre_ttl_inherit()
ip link set dev $tundev type $type ttl inherit
mirror_install $swp1 ingress $tundev "matchall $tcflags"
- fail_test_span_gre_dir $tundev ingress
+ fail_test_span_gre_dir $tundev
ip link set dev $tundev type $type ttl 100
- quick_test_span_gre_dir $tundev ingress
+ quick_test_span_gre_dir $tundev
mirror_uninstall $swp1 ingress
log_test "$what: no offload on TTL of inherit ($tcflags)"
@@ -139,10 +139,10 @@ test_span_gre_tos_fixed()
ip link set dev $tundev type $type tos 0x10
mirror_install $swp1 ingress $tundev "matchall $tcflags"
- fail_test_span_gre_dir $tundev ingress
+ fail_test_span_gre_dir $tundev
ip link set dev $tundev type $type tos inherit
- quick_test_span_gre_dir $tundev ingress
+ quick_test_span_gre_dir $tundev
mirror_uninstall $swp1 ingress
log_test "$what: no offload on a fixed TOS ($tcflags)"
@@ -158,9 +158,9 @@ test_span_failable()
mirror_install $swp1 ingress $tundev "matchall $tcflags"
if ((should_fail)); then
- fail_test_span_gre_dir $tundev ingress
+ fail_test_span_gre_dir $tundev
else
- quick_test_span_gre_dir $tundev ingress
+ quick_test_span_gre_dir $tundev
fi
mirror_uninstall $swp1 ingress