git: 1abb62867f2a - main - tests/net/bpf: skip the bpf:inject test when RSS is present
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Mar 2026 04:15:40 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=1abb62867f2a36acb689fdfed62af00b78d8f324
commit 1abb62867f2a36acb689fdfed62af00b78d8f324
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2026-03-05 04:04:11 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2026-03-05 04:04:11 +0000
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().
---
tests/sys/net/bpf/bpf.sh | 4 ++++
1 file changed, 4 insertions(+)
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