linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Machata <petrm@nvidia.com>
To: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	<netdev@vger.kernel.org>
Cc: Danielle Ratson <danieller@nvidia.com>,
	Petr Machata <petrm@nvidia.com>, Ido Schimmel <idosch@nvidia.com>,
	Hangbin Liu <liuhangbin@gmail.com>,
	Benjamin Poirier <bpoirier@nvidia.com>,
	Shuah Khan <shuah@kernel.org>, <linux-kselftest@vger.kernel.org>,
	Simon Horman <horms@kernel.org>, <mlxsw@nvidia.com>
Subject: [PATCH net-next 11/12] selftests: libs: Drop unused functions
Date: Thu, 27 Jun 2024 16:48:48 +0200	[thread overview]
Message-ID: <ce8c777b6a40d7708ffb9cc92d8c7be42f56fef3.1719497773.git.petrm@nvidia.com> (raw)
In-Reply-To: <cover.1719497773.git.petrm@nvidia.com>

Nothing calls these.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
---
 .../selftests/net/forwarding/mirror_gre_lib.sh | 11 -----------
 .../selftests/net/forwarding/mirror_lib.sh     | 18 ------------------
 2 files changed, 29 deletions(-)

diff --git a/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh b/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
index aa96644e3866..20078cc55f24 100644
--- a/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_gre_lib.sh
@@ -101,17 +101,6 @@ fail_test_span_gre_dir()
 	fail_test_span_gre_dir_ips "$tundev" 192.0.2.1 192.0.2.2
 }
 
-test_span_gre_dir()
-{
-	local tundev=$1; shift
-	local direction=$1; shift
-	local forward_type=$1; shift
-	local backward_type=$1; shift
-
-	test_span_gre_dir_ips "$tundev" "$direction" "$forward_type" \
-			      "$backward_type" 192.0.2.1 192.0.2.2
-}
-
 full_test_span_gre_dir()
 {
 	local tundev=$1; shift
diff --git a/tools/testing/selftests/net/forwarding/mirror_lib.sh b/tools/testing/selftests/net/forwarding/mirror_lib.sh
index 1fc8545da6e0..6bf9d5ae933c 100644
--- a/tools/testing/selftests/net/forwarding/mirror_lib.sh
+++ b/tools/testing/selftests/net/forwarding/mirror_lib.sh
@@ -88,16 +88,6 @@ quick_test_span_dir_ips()
 			     "$forward_type" "$backward_type"
 }
 
-fail_test_span_dir_ips()
-{
-	local dev=$1; shift
-	local direction=$1; shift
-	local ip1=$1; shift
-	local ip2=$1; shift
-
-	do_test_span_dir_ips 0 "$dev" "$direction" "$ip1" "$ip2"
-}
-
 test_span_dir_ips()
 {
 	local dev=$1; shift
@@ -118,14 +108,6 @@ test_span_dir_ips()
 	icmp_capture_uninstall $dev
 }
 
-fail_test_span_dir()
-{
-	local dev=$1; shift
-	local direction=$1; shift
-
-	fail_test_span_dir_ips "$dev" "$direction" 192.0.2.1 192.0.2.2
-}
-
 test_span_dir()
 {
 	local dev=$1; shift
-- 
2.45.0


  parent reply	other threads:[~2024-06-27 14:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27 14:48 [PATCH net-next 00/12] selftest: Clean-up and stabilize mirroring tests Petr Machata
2024-06-27 14:48 ` [PATCH net-next 01/12] selftests: libs: Expand "$@" where possible Petr Machata
2024-06-27 14:48 ` [PATCH net-next 02/12] selftests: mirror: Drop direction argument from several functions Petr Machata
2024-06-27 14:48 ` [PATCH net-next 03/12] selftests: lib: tc_rule_stats_get(): Move default to argument definition Petr Machata
2024-06-27 14:48 ` [PATCH net-next 04/12] selftests: mirror_gre_lag_lacp: Check counters at tunnel Petr Machata
2024-06-27 14:48 ` [PATCH net-next 05/12] selftests: mirror: do_test_span_dir_ips(): Install accurate taps Petr Machata
2024-06-27 14:48 ` [PATCH net-next 06/12] selftests: mirror: mirror_test(): Allow exact count of packets Petr Machata
2024-06-27 14:48 ` [PATCH net-next 07/12] selftests: mirror: Drop dual SW/HW testing Petr Machata
2024-06-27 14:48 ` [PATCH net-next 08/12] selftests: mlxsw: mirror_gre: Simplify Petr Machata
2024-06-27 14:48 ` [PATCH net-next 09/12] selftests: mirror_gre_lag_lacp: Drop unnecessary code Petr Machata
2024-06-27 14:48 ` [PATCH net-next 10/12] selftests: libs: Drop slow_path_trap_install()/_uninstall() Petr Machata
2024-06-27 14:48 ` Petr Machata [this message]
2024-06-27 14:48 ` [PATCH net-next 12/12] selftests: mlxsw: mirror_gre: Obey TESTS Petr Machata
2024-06-28 10:00 ` [PATCH net-next 00/12] selftest: Clean-up and stabilize mirroring tests patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce8c777b6a40d7708ffb9cc92d8c7be42f56fef3.1719497773.git.petrm@nvidia.com \
    --to=petrm@nvidia.com \
    --cc=bpoirier@nvidia.com \
    --cc=danieller@nvidia.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=liuhangbin@gmail.com \
    --cc=mlxsw@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).