Article View: linux.kernel.netdev
Article #21142[PATCH bpf-next v2 2/2] Documentation/bpf: Fix stale selftests file references
From: Ahmad Wicaksono
Date: Mon, 23 Nov 2026 15:52
Date: Mon, 23 Nov 2026 15:52
54 lines
13145 bytes
13145 bytes
Two selftests paths in the BPF docs no longer exist:
map_lpm_trie.rst points at tools/testing/selftests/bpf/test_lpm_map.c,
which was moved by commit 3e18f5f1e5a1 ("selftests/bpf: Move
test_lpm_map.c to map_tests") and now lives at
tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c.
btf.rst points at tools/testing/selftests/bpf/test_xdp_noinline.c, which
is now tools/testing/selftests/bpf/progs/test_xdp_noinline.c.
Update both so readers can find the code.
Signed-off-by: Ahmad Wicaksono <supersonix03@gmail.com>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
---
v2: No change.
Documentation/bpf/btf.rst | 2 +-
Documentation/bpf/map_lpm_trie.rst | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
index b61881239..94a81a9e9 100644
--- a/Documentation/bpf/btf.rst
+++ b/Documentation/bpf/btf.rst
@@ -1148,7 +1148,7 @@ information.::
The following is an example of how line_info can help debugging verification
failure.::
- /* The code at tools/testing/selftests/bpf/test_xdp_noinline.c
+ /* The code at tools/testing/selftests/bpf/progs/test_xdp_noinline.c
* is modified as below.
*/
data = (void *)(long)xdp->data;
diff --git a/Documentation/bpf/map_lpm_trie.rst b/Documentation/bpf/map_lpm_trie.rst
index f9cd57949..37ef39d0b 100644
--- a/Documentation/bpf/map_lpm_trie.rst
+++ b/Documentation/bpf/map_lpm_trie.rst
@@ -108,9 +108,9 @@ specific keys before less specific ones.
Examples
========
-Please see ``tools/testing/selftests/bpf/test_lpm_map.c`` for examples
-of LPM trie usage from userspace. The code snippets below demonstrate
-API usage.
+Please see ``tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c``
+for examples of LPM trie usage from userspace. The code snippets below
+demonstrate API usage.
Kernel BPF
----------
--
2.43.0
Technical Details
Message-ID:
<20261123155200.16676-3-supersonix03@gmail.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369555-linux-kernel-netdev=dewy.ruReferences:
<20261123155200.16676-1-supersonix03@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369555-linux-kernel-netdev=dewy.ru
From: supersonix03@gmail.com (Ahmad Wicaksono)
Newsgroups: linux.kernel.netdev
Subject: [PATCH bpf-next v2 2/2] Documentation/bpf: Fix stale selftests file references
Date: Mon, 23 Nov 2026 22:52:00 +0700
Organization: Usenet Network
Message-ID: <20261123155200.16676-3-supersonix03@gmail.com>
References: <20261123155200.16676-1-supersonix03@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="3919502"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:/lefL/X0pQ4jXp+29mWeJkAOSc8= sha256:Hi8m+6j9NTOdSK13UKpRYa8m04adadHNf0sH83pDxYg=
sha1:AOysU12GZHxOKN4KCFO3WSg3Xqs= sha256:yvNdeZX0GyaFyB8ImATdtOvIqKUdtJVPHecA4tilh2o=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id BF960125DBC; Mon, 23 Nov 2026 18:53:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Nafx0p9w_ykK;
Mon, 23 Nov 2026 18:53:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-369555-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 9A252125DB9; Mon, 23 Nov 2026 18:53:18 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id 5AE2825885; Mon, 23 Nov 2026 15:53:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1795449186;
b=YUXjKNQaNxWRVnZoHHUk6AzEkr+br79z7QW+HtzaUu1NGVyLthdMlIt5y7nP5JOPvvO8
dEtypcbAo0ZY6J2IJPz6cncjo2wZYJtk8ry4sHzWmYDKXQWJ2Q+Pj7ObJpLhPRDgERur8
zK/meNddloVUBaC/GxzQQ+bk1wubSdwRjX1s8AYJwUm1UpMh8YODOXYRSR333j1EpQLI5
Sl4HzPo06kQOM/mJMYg91m+1UJ7A0GBV11avFR7rtJNSuRTcaK4LprXzY7zuHTT33dIVx
8Z2KabyGPrSHIKh27hnn6Q6G8MW0LNoxHdNEaB3Yw0/KLqtDJAXMJowFJ9BsDkjhHXg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795449186;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Transfer-Encoding;
bh=PSpHWfHbUQIG3jx3ObKDcv5uRfpQODJi2pWjJnhhS0w=;
b=VbrGqffrz/HRjd81XwIZHMFjeKTZf/gU3PJrcfMt9GbxkiDCGNN+5mUnvWQ8GhGqp9OK
wq55+9XBs1hBKSNKG0KJJX5ugLj2BV5ZnTwX06xJzsQM0SVGviwYIDgzspKIRym3W9Dnn
rtU1Q+JSnOy9KBtL2Eu5tMB2Q0hu6jas88OJL8wNWI5XFeOAN6/5zAtE0YhpEr+68cJD8
PEAHksXxfPrZqSoWnSVthybrG/4iDC/UxjuVTH3fkKcmHAaAE82WhaRxdIL2d2aDed9Gq
CWmsu9EjTgOqiees1fbJ9xIXk9hhl0R0NnVj1KRQffxc8s1MSLje/umvtLXrQsYClaQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=UwRs8qNn;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id EBBED606A32E;
Mon, 23 Nov 2026 15:53:05 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=UwRs8qNn
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.47
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1795449185;
b=eiFl8ObsDr3mgpJriT2ciATotH9LgjvRMqUilexnnumbYxgOhVkrMUzyNpGgiQQAXUm3
hQwPgPXmdh41OEqMW9XhTJdnGbhidV06Zv/5+Z7GykKbsIrlD496OqshReqLIg7m+nvHD
wX6o/aUgIfOwErLS2XoYOQh/nWEcJ1PYa9dbtjKhOudZmkgc1b9eLWP1Dz8VpoLQ+65ZB
RWdVvsjnMLXfUPPCnYJUx1Cj7O72QcuzLPxVrIwetfaX9qWhNq2OXPGZc82ygCGKD7r0E
t7ZPmoVM3Zu8vXsinC+xmqDuI4mruibyw0lqJoy+lj/+wAODhv9NCmrq9uA0ifyDo2w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1795449185;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
MIME-Version:Content-Transfer-Encoding;
bh=PSpHWfHbUQIG3jx3ObKDcv5uRfpQODJi2pWjJnhhS0w=;
b=Z3x5geEt7QsmnfqX2T0BoKjvMahHBCV7KqttAmKRwc87a34K4AmzJMOSo3vkBcVCynkK
yuADUITpUfgQp5yStu2TXKbjw+s4ZMI0esNzKvL+5vISNRp3kOcg4xQz9qhAiqWmQlXQG
0+pnqAlS3/CiGNq3eudjTufN0Kt9gW02yvvdsUw7maonJiDvEFMAKrXqIPpznEo+1x0hd
PrHeQk9zin2f5LAkRer9pQo5bI0bhaYkK9uoUkeN6iQOHYHIuYHgiuCdOsUF1o11Zz9+1
9FWvrnkQlIFSXVcA3fz76pbxigiFyYcbPLhl6iU0S9H05kVcKqnY4GLoZwJcx2TIgkw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=UwRs8qNn;
arc=none smtp.remote-ip=209.85.216.47
X-Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35763606A31E
for <netdev@vger.kernel.org>; Mon, 23 Nov 2026 15:53:04 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 35763606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-3b155f50c24so2764676a91.3
for <netdev@vger.kernel.org>; Mon, 23 Nov 2026 07:53:04 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1795449183; x=1796053983; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=PSpHWfHbUQIG3jx3ObKDcv5uRfpQODJi2pWjJnhhS0w=;
b=UwRs8qNnEt2Qjt77vZmeJR/wZ9osqFbOpX4n+bGrK97PAqtti65W73nc0kS16pVGr8
9e5MOy8l+wGgfDsWzbTppU1CPJGe9EiHYczxZv6L4uNp3jd53zE/hcupmFL5T3qC1Wqd
LNWpCSSLWrVgPKfI3ARkkwlGRQNeBhLePleT/5mKHt+wcRETDAZKWhuBJrfZzRq7PzVF
DXEgUwVrFC6pszjoM3LjakxZhbou3pVlNqmLrHrz7eZRmcrjcegqWyQkvJ2q3NB7DhvV
KLJkpnhp7zghipS0A92L+GKyndphofIZTQdYUeh4M+PlrVXLsShLKLlU4AKHfowkmasE
BgJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1795449183; x=1796053983;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=PSpHWfHbUQIG3jx3ObKDcv5uRfpQODJi2pWjJnhhS0w=;
b=WVLWqgtmit7F+kqRPA8kjkR5w12znYMcJx9voxQpAvRtiBkYHhQ2jTlOfpAgCKQiiP
WxyQxPK/Bf7AyuJPsqyZX06ZZ1xQ1zGSiGTNTZmVPGprDAteXkO6feLJjfeFWeRqzBk+
oIqjykIBEpGYS7+8lc8SNwda/n78tKTKNVgv7OeU6dATIIKqUUgomjGUm1eG1Ee0nUVG
SK6VA1ywBL2N6qLYJX93zjFJuiQi2AbNVNoPmlrx28Rcxo+jwr4xBdVotnUPBO57keB6
e5ClD8dF5pgbrymHQlhBvf6Arkt/wALGI1ztTbU3V/HdwqwoITJCLSXrIgiaYwdGX3MW
nong==
X-Forwarded-Encrypted: i=1; AL+hErE6ccI6qYy/1+POnwIx9c4SRj9pDwGQeravB6ebrHggdAiorXiSgOsInTgWLeSKkjJlOuogrqg=@vger.kernel.org
X-Gm-Message-State: APuU4Z/6+/mPuRKkgGGWhPQEZxDjx7EnaeFO2akTgJyzj4EbrYYjujHT
Oww4b29xGWszIyDrFvQ3rCmhuEbEnTzeEGlBXL7rlngdPrSH3IalIc4C
X-Gm-Gg: AZFdTZeUF9vHxykUhDZysJ897t+suGiiI5FkK5KgWYCcoiV3t+mjgQzmUpGKiEpRs2/
j2hJKKa+2SlSgKIEwDbxRy3gICgZcrGYSV+dcq2gy91PgZTRa7Br9zdRbj4D9Ek6Lnu1cDOQvsZ
45xGpp1EfL3010VDT7JBEBYzVxTPAuSd/zrehrLhOfsl8oL6EFeedoFG4lCvJcJ/6AP3RrTL7Lf
JVaewHKtHdZdYYnzNGXHlqjzn+1CZO36oDDaMNobXb8/b749Adc1LxFmOO47hHTRljeiNu712Sg
q8lbU6fV0C4jatbbLgxCLF/EFgWFDqQO1iaV9Ap6X1Wgz/b42hIEnQhdsEkKdI/GZ3c90Yvq28n
gCL8NbNG3tt3tY2TsqmkVMzk6TFzixxWUc1pkqSumiBPc1ssamqW5fPLyW77jKLISG4xP8rGvpw
iuHPFv+vQvFM5b1elvI02rMSswlSgmMqhYq6Y4qX/KwJPDbs26mqTmLSJfT8chxvWpFv1OoBvXn
iGn0Y/MIlYzu5Otkfp/ZoGIPSbwvWIlQGEIGzzEy0WncMNN0llv9QXmagyPz619U2LF9ZJue+XD
Ym2Q2h6sReB4395CMejRCTUswBPJunHn9punOgtOeII=
X-Received: by 2002:a17:90b:4483:b0:3b0:9deb:d991 with SMTP id 98e67ed59e1d1-3b41c92cbb8mr11195881a91.35.1795449183417;
Mon, 23 Nov 2026 07:53:03 -0800 (PST)
X-Received: from LAPTOP-G6J9COQB.lan ([113.11.180.16])
by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b405d96bd3sm21596601a91.12.2026.11.23.07.52.57
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 23 Nov 2026 07:53:03 -0800 (PST)
X-Cc: jakub@cloudflare.com,
mhal@rbox.co,
ast@kernel.org,
daniel@iogearbox.net,
andrii@kernel.org,
eddyz87@gmail.com,
memxor@gmail.com,
martin.lau@linux.dev,
song@kernel.org,
yonghong.song@linux.dev,
jolsa@kernel.org,
emil@etsalapatis.com,
ihor.solodrai@linux.dev,
corbet@lwn.net,
skhan@linuxfoundation.org,
rdunlap@infradead.org,
davem@davemloft.net,
kuba@kernel.org,
hawk@kernel.org,
john.fastabend@gmail.com,
sdf@fomichev.me,
linux-doc@vger.kernel.org,
netdev@vger.kernel.org,
Ahmad Wicaksono <supersonix03@gmail.com>
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <20261123155200.16676-1-supersonix03@gmail.com>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list