path: root/Documentation/bpf
diff options
authorJoe Stringer <>2021-03-02 09:19:46 -0800
committerAlexei Starovoitov <>2021-03-04 18:39:46 -0800
commit6197e5b7b1b5acd1e9b04bdf3527c694d84a27e2 (patch)
tree6527cf669c2bbc3e1025d5c761e66678c22caffc /Documentation/bpf
parentaccbd33a9b0328777899a85d148040e4d8921d87 (diff)
docs/bpf: Add bpf() syscall command reference
Generate the syscall command reference from the UAPI header file and include it in the main bpf docs page. Signed-off-by: Joe Stringer <> Signed-off-by: Alexei Starovoitov <> Reviewed-by: Quentin Monnet <> Acked-by: Toke Høiland-Jørgensen <> Link:
Diffstat (limited to 'Documentation/bpf')
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst
index 4f2874b729c3..a702f67dd45f 100644
--- a/Documentation/bpf/index.rst
+++ b/Documentation/bpf/index.rst
@@ -12,9 +12,6 @@ BPF instruction-set.
The Cilium project also maintains a `BPF and XDP Reference Guide`_
that goes into great technical depth about the BPF Architecture.
-The primary info for the bpf syscall is available in the `man-pages`_
-for `bpf(2)`_.
BPF Type Format (BTF)
@@ -35,6 +32,12 @@ Two sets of Questions and Answers (Q&A) are maintained.
+Syscall API
+The primary info for the bpf syscall is available in the `man-pages`_
+for `bpf(2)`_. For more information about the userspace API, see
Helper functions