aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2026-03-05 04:04:11 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2026-03-05 04:04:11 +0000
commit1abb62867f2a36acb689fdfed62af00b78d8f324 (patch)
treec7fdc1dfcc94f9d7eddcb199d5e65663d9a197d6
parent78843218b0cc4679826c15829b355f27c17d3fc1 (diff)
tests/net/bpf: skip the bpf:inject test when RSS is present
With RSS the epair(4) may reorder packets making the test flaky. See net/if_epair.c:epair_select_queue().
-rw-r--r--tests/sys/net/bpf/bpf.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sys/net/bpf/bpf.sh b/tests/sys/net/bpf/bpf.sh
index f2d647b61de0..a721c3327b19 100644
--- a/tests/sys/net/bpf/bpf.sh
+++ b/tests/sys/net/bpf/bpf.sh
@@ -69,6 +69,10 @@ inject_body()
{
vnet_init
+ if sysctl -q kern.features.rss >/dev/null; then
+ atf_skip "This test is flaky with RSS"
+ fi
+
epair=$(vnet_mkepair)
ifconfig ${epair}a inet 192.0.2.1/24 up
vnet_mkjail alcatraz ${epair}b