xref: /openbmc/linux/Documentation/bpf/index.rst (revision 176f011b)
1=================
2BPF Documentation
3=================
4
5This directory contains documentation for the BPF (Berkeley Packet
6Filter) facility, with a focus on the extended BPF version (eBPF).
7
8This kernel side documentation is still work in progress.  The main
9textual documentation is (for historical reasons) described in
10`Documentation/networking/filter.txt`_, which describe both classical
11and extended BPF instruction-set.
12The Cilium project also maintains a `BPF and XDP Reference Guide`_
13that goes into great technical depth about the BPF Architecture.
14
15The primary info for the bpf syscall is available in the `man-pages`_
16for `bpf(2)`_.
17
18
19
20Frequently asked questions (FAQ)
21================================
22
23Two sets of Questions and Answers (Q&A) are maintained.
24
25.. toctree::
26   :maxdepth: 1
27
28   bpf_design_QA
29   bpf_devel_QA
30
31
32.. Links:
33.. _Documentation/networking/filter.txt: ../networking/filter.txt
34.. _man-pages: https://www.kernel.org/doc/man-pages/
35.. _bpf(2): http://man7.org/linux/man-pages/man2/bpf.2.html
36.. _BPF and XDP Reference Guide: http://cilium.readthedocs.io/en/latest/bpf/
37