[PATCH] Documentation/bpf: Update PROG_TYPE for BPF_PROG_RUN

SungRock Jung posted 1 patch 1 month, 2 weeks ago
Documentation/bpf/bpf_prog_run.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] Documentation/bpf: Update PROG_TYPE for BPF_PROG_RUN
Posted by SungRock Jung 1 month, 2 weeks ago
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.

Signed-off-by: SungRock Jung <tjdfkr2421@gmail.com>
---
 Documentation/bpf/bpf_prog_run.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/bpf/bpf_prog_run.rst b/Documentation/bpf/bpf_prog_run.rst
index 4868c909d..81ef768c7 100644
--- a/Documentation/bpf/bpf_prog_run.rst
+++ b/Documentation/bpf/bpf_prog_run.rst
@@ -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
-- 
2.48.1
Re: [PATCH] Documentation/bpf: Update PROG_TYPE for BPF_PROG_RUN
Posted by Yonghong Song 1 month, 2 weeks ago

On 12/20/25 11:00 PM, SungRock Jung 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.
>
> Signed-off-by: SungRock Jung <tjdfkr2421@gmail.com>

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

Acked-by: Yonghong Song <yonghong.song@linux.dev>