5 This directory contains documentation for the BPF (Berkeley Packet
6 Filter) facility, with a focus on the extended BPF version (eBPF).
8 This kernel side documentation is still work in progress. The main
9 textual documentation is (for historical reasons) described in
10 `Documentation/networking/filter.txt`_, which describe both classical
11 and extended BPF instruction-set.
12 The Cilium project also maintains a `BPF and XDP Reference Guide`_
13 that goes into great technical depth about the BPF Architecture.
15 The primary info for the bpf syscall is available in the `man-pages`_
20 Frequently asked questions (FAQ)
21 ================================
23 Two sets of Questions and Answers (Q&A) are maintained.
25 * QA for common questions about BPF see: bpf_design_QA_
27 * QA for developers interacting with BPF subsystem: bpf_devel_QA_
31 .. _bpf_design_QA: bpf_design_QA.rst
32 .. _bpf_devel_QA: bpf_devel_QA.rst
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/