diff options
author | Petr Machata <petrm@nvidia.com> | 2024-06-27 16:48:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-06-28 10:55:38 +0100 |
commit | 4e9cd3d03af26eda951af577ddad72c4a468502a (patch) | |
tree | 1a2ed1c2d3760b7b94443b158f1967b0a3cbb7c8 | |
parent | 95d33989cee5844a4bcc561dcad0f78a72a24a6d (diff) |
selftests: libs: Drop slow_path_trap_install()/_uninstall()
These functions are not used anymore.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | tools/testing/selftests/net/forwarding/lib.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh index df7cacb29160..ff96bb7535ff 100644 --- a/tools/testing/selftests/net/forwarding/lib.sh +++ b/tools/testing/selftests/net/forwarding/lib.sh @@ -1225,22 +1225,6 @@ trap_uninstall() tc filter del dev $dev $direction pref 1 flower } -slow_path_trap_install() -{ - # For slow-path testing, we need to install a trap to get to - # slow path the packets that would otherwise be switched in HW. - if [ "${tcflags/skip_hw}" != "$tcflags" ]; then - trap_install "$@" - fi -} - -slow_path_trap_uninstall() -{ - if [ "${tcflags/skip_hw}" != "$tcflags" ]; then - trap_uninstall "$@" - fi -} - __icmp_capture_add_del() { local add_del=$1; shift |