summaryrefslogtreecommitdiffstats
path: root/Documentation/bpf/index.rst
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2022-07-21 15:42:37 +0200
committerAlexei Starovoitov <ast@kernel.org>2022-07-22 06:03:16 +0200
commit63e564ebd1fd91c7194266a2169ab5be984f08bc (patch)
treebbf2fd0558675e42405d64d28d649a1f066077d4 /Documentation/bpf/index.rst
parentbpf: Add support for forcing kfunc args to be trusted (diff)
downloadlinux-63e564ebd1fd91c7194266a2169ab5be984f08bc.tar.xz
linux-63e564ebd1fd91c7194266a2169ab5be984f08bc.zip
bpf: Add documentation for kfuncs
As the usage of kfuncs grows, we are starting to form consensus on the kinds of attributes and annotations that kfuncs can have. To better help developers make sense of the various options available at their disposal to present an unstable API to the BPF users, document the various kfunc flags and annotations, their expected usage, and explain the process of defining and registering a kfunc set. Cc: KP Singh <kpsingh@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20220721134245.2450-6-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf/index.rst')
-rw-r--r--Documentation/bpf/index.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst
index 96056a7447c7..1bc2c5c58bdb 100644
--- a/Documentation/bpf/index.rst
+++ b/Documentation/bpf/index.rst
@@ -19,6 +19,7 @@ that goes into great technical depth about the BPF Architecture.
faq
syscall_api
helpers
+ kfuncs
programs
maps
bpf_prog_run