Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

bpf: Update BPF_PROG_RUN documentation

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 program types to reflect the
current set of types that implement test_run.

Signed-off-by: SungRock Jung <tjdfkr2421@gmail.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20251221070041.26592-1-tjdfkr2421@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

SungRock Jung and committed by
Alexei Starovoitov
17c736a7 453dece5

+2 -1
+2 -1
Documentation/bpf/bpf_prog_run.rst
··· 34 34 - ``BPF_PROG_TYPE_LWT_IN`` 35 35 - ``BPF_PROG_TYPE_LWT_OUT`` 36 36 - ``BPF_PROG_TYPE_LWT_XMIT`` 37 - - ``BPF_PROG_TYPE_LWT_SEG6LOCAL`` 38 37 - ``BPF_PROG_TYPE_FLOW_DISSECTOR`` 39 38 - ``BPF_PROG_TYPE_STRUCT_OPS`` 40 39 - ``BPF_PROG_TYPE_RAW_TRACEPOINT`` 41 40 - ``BPF_PROG_TYPE_SYSCALL`` 41 + - ``BPF_PROG_TYPE_TRACING`` 42 + - ``BPF_PROG_TYPE_NETFILTER`` 42 43 43 44 When using the ``BPF_PROG_RUN`` command, userspace supplies an input context 44 45 object and (for program types operating on network packets) a buffer containing