Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2026 04:15:40 +0000
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1abb62867f2a - main - tests/net/bpf: skip the bpf:inject test when RSS is present
Message-ID:  <69a9036c.3ca6c.ef38a0e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a9036c.3ca6c.ef38a0e>