Skip to contentSkip to conversation

Documentation/bpf: Update PROG_TYPE for BPF_PROG_RUN

PATCH Applied SungRock Jung 3 participants 3 messages Dec 21, 2025 – Dec 31, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/bpf: Update PROG_TYPE for BPF_PROG_RUN

LWT_SEG6LOCAL no longer supports test_run starting from v6.11 so remove it from the list of program types supported by BPF_PROG_RUN.

Add TRACING and NETFILTER to reflect the
current set of program types that implement test_run support.

---
 Documentation/bpf/bpf_prog_run.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/bpf/bpf_prog_run.rst +2 -1
index 4868c909d..81ef768c7 100644
@@ -34,11 +34,12 @@ following types:
 - ``BPF_PROG_TYPE_LWT_IN``
 - ``BPF_PROG_TYPE_LWT_OUT``
 - ``BPF_PROG_TYPE_LWT_XMIT``
-- ``BPF_PROG_TYPE_LWT_SEG6LOCAL``
 - ``BPF_PROG_TYPE_FLOW_DISSECTOR``
 - ``BPF_PROG_TYPE_STRUCT_OPS``
 - ``BPF_PROG_TYPE_RAW_TRACEPOINT``
 - ``BPF_PROG_TYPE_SYSCALL``
+- ``BPF_PROG_TYPE_TRACING``
+- ``BPF_PROG_TYPE_NETFILTER``
 
 When using the ``BPF_PROG_RUN`` command, userspace supplies an input context
 object and (for program types operating on network packets) a buffer containing
Signature · 1 line
2.48.1
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · SungRock Jung

LWT_SEG6LOCAL no longer supports test_run starting from v6.11 so remove it from the list of program types supported by BPF_PROG_RUN.

Add TRACING and NETFILTER to reflect the
current set of program types that implement test_run support.

Thanks. I cross-checked the kernel and the patch LGTM.

#2 lore raw
In reply to SungRock Jung
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:

Quoted 9 lines · On Sun, 21 Dec 2025 07:00:41 +0000 you wrote:

LWT_SEG6LOCAL no longer supports test_run starting from v6.11 so remove it from the list of program types supported by BPF_PROG_RUN.

Add TRACING and NETFILTER to reflect the
current set of program types that implement test_run support.

[...]

Here is the summary with links:
- Documentation/bpf: Update PROG_TYPE for BPF_PROG_RUN

    https://git.kernel.org/bpf/bpf-next/c/17c736a7b58a

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html