aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/bpf
AgeCommit message (Expand)AuthorFilesLines
2024-03-04bpf, docs: Rename legacy conformance group to packetDave Thaler1-2/+2
2024-03-02bpf, docs: Use IETF format for field definitions in instruction-set.rstDave Thaler1-241/+290
2024-02-29bpf: Replace bpf_lpm_trie_key 0-length array with flexible arrayKees Cook1-1/+1
2024-02-22bpf, docs: specify which BPF_ABS and BPF_IND fields were zeroDave Thaler1-3/+4
2024-02-22bpf, docs: Fix typos in instruction-set.rstDave Thaler1-37/+37
2024-02-13bpf, docs: Update ISA document titleDave Thaler1-4/+4
2024-02-06bpf, docs: Fix typos in instructions-set.rstDave Thaler1-3/+4
2024-02-05bpf, docs: Expand set of initial conformance groupsDave Thaler1-12/+36
2024-02-01bpf, docs: Clarify which legacy packet instructions existedDave Thaler1-1/+3
2024-01-31bpf: treewide: Annotate BPF kfuncs in BTFDaniel Xu1-4/+4
2024-01-29docs/bpf: Improve documentation of 64-bit immediate instructionsYonghong Song1-9/+4
2024-01-26bpf, docs: Clarify definitions of various instructionsDave Thaler1-24/+27
2024-01-23bpf, docs: Clarify that MOVSX is only for BPF_X not BPF_KDave Thaler1-1/+2
2024-01-23docs/bpf: Fix an incorrect statement in verifier.rstYonghong Song1-1/+1
2024-01-23Introduce concept of conformance groupsDave Thaler1-1/+25
2024-01-11Merge tag 'docs-6.8' of git://git.lwn.net/linuxLinus Torvalds1-4/+2
2023-12-09bpf: Add bpf_cpumask_weight() kfuncDavid Vernet1-1/+1
2023-12-01Documentation/bpf: Add documentation for filesystem kfuncsSong Liu2-0/+22
2023-11-17docs: automarkup: linkify git revsVegard Nossum1-4/+2
2023-11-09bpf: Introduce KF_ARG_PTR_TO_CONST_STRSong Liu1-0/+24
2023-11-01bpf: Add __bpf_kfunc_{start,end}_defs macrosDave Marchevsky1-4/+2
2023-10-19bpf, docs: Define signed modulo as using truncated divisionDave Thaler1-0/+8
2023-10-11documentation/bpf: Document cgroup unix socket address hooksDaan De Meyer1-0/+10
2023-09-13docs/bpf: update out-of-date doc in BPF flow dissectorQuan Tian1-1/+1
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds7-37/+370
2023-09-01docs/bpf: Fix "file doesn't exist" warnings in {llvm_reloc,btf}.rstEduard Zingerman2-2/+2
2023-08-30Merge tag 'docs-6.6' of git://git.lwn.net/linuxLinus Torvalds2-2/+2
2023-08-30bpf, docs: s/eBPF/BPF in standards documentsDavid Vernet1-11/+11
2023-08-30bpf, docs: Add abi.rst document to standardization subdirectoryDavid Vernet3-16/+26
2023-08-30bpf, docs: Move linux-notes.rst to root bpf docs treeDavid Vernet3-1/+1
2023-08-30docs/bpf: Add description for CO-RE relocationsEduard Zingerman2-6/+329
2023-08-30bpf, docs: Correct source of offset for program-local callWill Hawkins1-3/+3
2023-08-18Documentation: Fix typosBjorn Helgaas2-2/+2
2023-08-08bpf, docs: Fix small typo and define semantics of sign extensionWill Hawkins1-9/+30
2023-08-07bpf, docs: Formalize type notation and function semantics in ISA standardWill Hawkins1-8/+74
2023-07-29docs/bpf: Fix malformed documentationYonghong Song1-21/+24
2023-07-28docs/bpf: Improve documentation for cpu=v4 instructionsYonghong Song1-22/+32
2023-07-27docs/bpf: Add documentation for new instructionsYonghong Song2-41/+79
2023-07-27bpf, docs: fix BPF_NEG entry in instruction-set.rstJose E. Marchesi1-1/+1
2023-07-10bpf,docs: Create new standardization subdirectoryDavid Vernet4-3/+21
2023-06-29bpf, docs: Fix definition of BPF_NEG operationDave Thaler1-1/+1
2023-06-29bpf: Replace deprecated -target with --target= for ClangFangrui Song3-10/+10
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-5/+5
2023-06-22bpf, docs: Document existing macros instead of deprecatedAnton Protopopov1-6/+32
2023-06-22bpf, docs: BPF Iterator DocumentAnton Protopopov1-5/+2
2023-06-12bpf/docs: Update documentation for new cpumask kfuncsDavid Vernet1-2/+3
2023-05-17bpf, docs: Shift operations are defined to use a maskDave Thaler1-3/+6
2023-05-16Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski5-11/+312
2023-05-13bpf: Document EFAULT changes for sockoptStanislav Fomichev1-1/+56
2023-05-06bpf: Allow NULL buffers in bpf_dynptr_slice(_rw)Daniel Rosenberg1-1/+22
2023-05-05bpf, docs: Update llvm_relocs.rst with typo fixesWill Hawkins1-8/+10
2023-04-29Merge tag 'lsm-pr-20230428' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-04-28lsm: move hook comments docs to security/security.cRandy Dunlap1-1/+1
2023-04-27docs/bpf: Add LRU internals description and graphJoe Stringer2-0/+214
2023-04-27docs/bpf: Add table to describe LRU propertiesJoe Stringer1-1/+10
2023-04-16bpf,docs: Remove KF_KPTR_GET from documentationDavid Vernet1-15/+6
2023-04-13Daniel Borkmann says:Jakub Kicinski8-141/+451
2023-04-12bpf,docs: Remove references to bpf_cgroup_kptr_get()David Vernet1-68/+0
2023-04-02bpf, docs: Add docs on extended 64-bit immediate instructionsDave Thaler2-8/+72
2023-04-01bpf,docs: Update documentation to reflect new task kfuncsDavid Vernet1-6/+43
2023-03-25bpf, docs: Add extended call instructionsDave Thaler1-22/+37
2023-03-25bpf: Treat KF_RELEASE kfuncs as KF_TRUSTED_ARGSDavid Vernet1-3/+4
2023-03-18bpf, docs: Libbpf overview documentationSreevani Sreejith2-8/+245
2023-03-17bpf, docs: Use internal linking for link to netdev subsystem docBagas Sanjaya1-8/+12
2023-03-16bpf,docs: Remove bpf_cpumask_kptr_get() from documentationDavid Vernet1-20/+10
2023-03-13bpf, docs: Add signed comparison exampleDave Thaler1-1/+10
2023-03-10bpf, docs: Explain helper functionsDave Thaler3-1/+22
2023-03-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+5
2023-03-06bpf, doc: Link to submitting-patches.rst for general patch submission infoBagas Sanjaya1-3/+2
2023-03-06bpf, doc: Do not link to docs.kernel.org for kselftest linkBagas Sanjaya1-4/+2
2023-03-03bpf: Introduce kptr_rcu.Alexei Starovoitov1-5/+7
2023-03-03bpf: Rename __kptr_ref -> __kptr and __kptr -> __kptr_untrusted.Alexei Starovoitov3-5/+5
2023-03-02bpf, docs: Fix final bpf docs build failureDavid Vernet1-3/+4
2023-03-02bpf, docs: Fix link to netdev-FAQ targetDavid Vernet1-7/+7
2023-03-01bpf, docs: Fix __uninit kfunc doc sectionDavid Vernet1-1/+1
2023-03-01bpf: Add __uninit kfunc annotationJoanne Koong1-0/+17
2023-02-28bpf, docs: Document BPF insn encoding in term of stored bytesJose E. Marchesi1-22/+24
2023-02-27bpf, docs: Fix link to BTF docBagas Sanjaya1-2/+1
2023-02-23bpf: Add bpf_cgroup_from_id() kfuncTejun Heo1-3/+7
2023-02-22bpf, docs: Add explanation of endiannessDave Thaler1-2/+14
2023-02-15Documentation: bpf: Add missing line break separator in node_data struct code...Bagas Sanjaya1-0/+1
2023-02-13bpf, documentation: Add graph documentation for non-owning refsDave Marchevsky2-1/+268
2023-02-08bpf, docs: Add note about type conventionDave Thaler1-0/+7
2023-02-08bpf/docs: Update design QA to be consistent with kfunc lifecycle docsToke Høiland-Jørgensen1-7/+18
2023-02-07bpf, docs: Use consistent names for the same fieldDave Thaler1-36/+77
2023-02-03bpf/docs: Document kfunc lifecycle / stability expectationsDavid Vernet1-5/+120
2023-02-02docs/bpf: Add description of register liveness tracking algorithmEduard Zingerman1-0/+295
2023-02-02bpf: Document usage of the new __bpf_kfunc macroDavid Vernet1-3/+17
2023-01-28Documentation: bpf: correct spellingRandy Dunlap4-7/+7
2023-01-25bpf/docs: Document the nocast aliasing behavior of ___initDavid Vernet1-0/+43
2023-01-25bpf/docs: Document how nested trusted fields may be definedDavid Vernet1-1/+21
2023-01-25bpf/docs: Document cpumask kfuncs in a new fileDavid Vernet3-0/+405
2023-01-24bpf, docs: Fix modulo zero, division by zero, overflow, and underflowDave Thaler1-2/+14
2023-01-04Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+498
2022-12-20docs: BPF_MAP_TYPE_SOCK[MAP|HASH]Maryam Tahhan1-0/+498
2022-12-14docs/bpf: Reword docs for BPF_MAP_TYPE_SK_STORAGEDonald Hunter1-26/+30
2022-12-09docs/bpf: Add documentation for BPF_MAP_TYPE_SK_STORAGEDonald Hunter1-0/+155
2022-12-07bpf/docs: Document struct cgroup * kfuncsDavid Vernet1-0/+115
2022-12-07bpf/docs: Document struct task_struct * kfuncsDavid Vernet1-0/+83
2022-12-04bpf, docs: BPF Iterator DocumentSreevani Sreejith2-0/+486
2022-12-04docs/bpf: Add KF_RCU documentationYonghong Song1-0/+9
2022-12-02bpf, docs: Correct the example of BPF_XORZheng Yejian1-2/+2
2022-11-25docs/bpf: Add BPF_MAP_TYPE_XSKMAP documentationMaryam Tahhan1-0/+192
2022-11-25docs/bpf: Update btf selftests program and add linkRong Tao1-1/+6
2022-11-24docs/bpf: Fix sphinx warnings in BPF map docsDonald Hunter5-20/+99
2022-11-23docs/bpf: Document BPF_MAP_TYPE_BLOOM_FILTERDonald Hunter1-0/+174
2022-11-23docs/bpf: Fix sphinx warnings for devmapMaryam Tahhan1-26/+42
2022-11-23docs/bpf: Fix sphinx warnings for cpumapMaryam Tahhan1-22/+34
2022-11-23docs/bpf: Add table of BPF program types to libbpf docsDonald Hunter3-0/+209
2022-11-20bpf: Allow trusted pointers to be passed to KF_TRUSTED_ARGS kfuncsDavid Vernet1-16/+14
2022-11-18bpf, docs: DEVMAPs and XDP_REDIRECTMaryam Tahhan3-0/+304
2022-11-17bpf: Support constant scalar arguments for kfuncsKumar Kartikeya Dwivedi1-0/+24
2022-11-17bpf/docs: Include blank lines between bullet points in bpf_devel_QA.rstDaniel Müller1-0/+3
2022-11-15docs/bpf: Fix sample code in MAP_TYPE_ARRAY docsDonald Hunter1-1/+1
2022-11-15bpf/docs: Document how to run CI without patch submissionDaniel Müller1-0/+24
2022-11-14bpf: Remove local kptr references in documentationKumar Kartikeya Dwivedi1-5/+6
2022-11-14bpf, docs: Fixup cpumap sphinx >= 3.1 warningMaryam Tahhan1-2/+1
2022-11-11bpf, docs: Document BPF_MAP_TYPE_ARRAYDave Tucker1-0/+250
2022-11-11docs/bpf: Document BPF map types QUEUE and STACKDonald Hunter1-0/+122
2022-11-11docs/bpf: Document BPF ARRAY_OF_MAPS and HASH_OF_MAPSDonald Hunter1-0/+126
2022-11-11docs/bpf: Document BPF_MAP_TYPE_CPUMAP mapMaryam Tahhan1-0/+166
2022-11-11docs/bpf: Document BPF_MAP_TYPE_LPM_TRIE mapDonald Hunter1-0/+181
2022-11-04Documentation: bpf: Escape underscore in BPF type name prefixBagas Sanjaya1-4/+4
2022-11-03bpf: Document UAPI details for special BPF typesKumar Kartikeya Dwivedi1-0/+44
2022-10-25docs/bpf: Add documentation for new cgroup local storageYonghong Song1-0/+109
2022-10-20bpf, docs: Reformat BPF maps page to be more readableDonald Hunter1-36/+65
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds5-185/+255
2022-10-03Documentation: bpf: Add implementation notes documentations to table of contentsBagas Sanjaya1-0/+2
2022-10-01bpf, docs: Delete misformatted table.Alexei Starovoitov1-17/+0
2022-09-30bpf, docs: Add TOC and fix formatting.Dave Thaler1-132/+136
2022-09-30bpf, docs: Add Clang note about BPF_ALUDave Thaler1-0/+6
2022-09-30bpf, docs: Move Clang notes to a separate fileDave Thaler2-6/+24
2022-09-30bpf, docs: Linux byteswap noteDave Thaler2-4/+5
2022-09-30bpf, docs: Move legacy packet instructions to a separate fileDave Thaler2-35/+68
2022-09-27Delete duplicate words from kernel docsAkhil Raj1-1/+1
2022-09-27Remove duplicate words inside documentationAkhil Raj1-2/+2
2022-09-21bpf: Tweak definition of KF_TRUSTED_ARGSKumar Kartikeya Dwivedi1-8/+16
2022-08-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+15
2022-08-10bpf: add destructive kfunc flagArtem Savkov1-0/+9
2022-08-09btf: Add a new kfunc flag which allows to mark a function to be sleepableBenjamin Tissoires1-0/+6
2022-08-04bpf: Update bpf_design_QA.rst to clarify that BTF_ID does not ABIify a functionPaul E. McKenney1-0/+7
2022-08-04bpf: Update bpf_design_QA.rst to clarify that attaching to functions is not ABIPaul E. McKenney1-0/+12
2022-08-04bpf: Update bpf_design_QA.rst to clarify that kprobes is not ABIPaul E. McKenney1-0/+6
2022-07-21bpf: Add documentation for kfuncsKumar Kartikeya Dwivedi2-0/+171
2022-07-19bpf, docs: document BPF_MAP_TYPE_HASH and variantsDonald Hunter1-0/+185
2022-07-19docs/bpf: Update documentation for BTF_KIND_FUNCIndu Bhagat1-1/+5
2022-07-08bpf, docs: Remove deprecated xsk libbpf APIs descriptionPu Lehui1-11/+2
2022-06-24bpf, docs: Fix the code formatting in instruction-setShahab Vahedi1-1/+1
2022-06-09bpf, docs: Fix typo "BFP_ALU" to "BPF_ALU"Kosuke Fujimoto1-1/+1
2022-06-07docs/bpf: Update documentation for BTF_KIND_ENUM64 supportYonghong Song1-6/+37
2022-04-28bpf, docs: Fix typo "respetively" to "respectively"Tiezhu Yang1-1/+1
2022-04-28bpf, docs: BPF_FROM_BE exists as alias for BPF_TO_BETiezhu Yang1-1/+1
2022-04-28bpf, docs: Remove duplicated word "instructions"Tiezhu Yang1-1/+1
2022-04-22libbpf: Improve libbpf API documentation link positionGrant Seltzer1-2/+1
2022-03-31docs: netdev: move the netdev-FAQ to the process pagesJakub Kicinski1-1/+1
2022-03-09Documentation/bpf: Add documentation for BPF_PROG_RUNToke Høiland-Jørgensen2-0/+118
2022-02-28bpf, docs: Add a missing colon in verifier.rstWan Jiabing1-1/+1
2022-02-03bpf, docs: Better document the atomic instructionsChristoph Hellwig1-27/+49
2022-02-03bpf, docs: Better document the extended instruction formatChristoph Hellwig1-7/+19
2022-02-03bpf, docs: Better document the legacy packet access instructionChristoph Hellwig1-22/+32
2022-02-03bpf, docs: Better document the regular load and store instructionsChristoph Hellwig1-5/+12
2022-02-03bpf, docs: Document the byte swapping instructionsChristoph Hellwig1-4/+40
2022-01-27docs/bpf: clarify how btf_type_tag gets encoded in the type chainYonghong Song1-0/+13
2022-01-20docs/bpf: update BPF map definition exampleAndrii Nakryiko1-18/+14
2022-01-05bpf, docs: Fully document the JMP mode modifiersChristoph Hellwig1-6/+6
2022-01-05bpf, docs: Fully document the JMP opcodesChristoph Hellwig1-17/+17
2022-01-05bpf, docs: Fully document the ALU opcodesChristoph Hellwig1-15/+15
2022-01-05bpf, docs: Document the opcode classesChristoph Hellwig1-12/+12
2022-01-05bpf, docs: Add subsections for ALU and JMP instructionsChristoph Hellwig1-20/+32
2022-01-05bpf, docs: Add a setion to explain the basic instruction encodingChristoph Hellwig1-1/+15
2021-12-30bpf, docs: Move the packet access instructions last in instruction-set.rstChristoph Hellwig1-28/+27
2021-12-30bpf, docs: Generate nicer tables for instruction encodingsChristoph Hellwig1-63/+95
2021-12-30bpf, docs: Split the comparism to classic BPF from instruction-set.rstChristoph Hellwig3-311/+446
2021-12-30bpf, docs: Fix verifier referencesChristoph Hellwig1-5/+2
2021-11-30bpf, docs: Split general purpose eBPF documentation out of filter.rstChristoph Hellwig3-5/+1000
2021-11-30bpf, docs: Move handling of maps to Documentation/bpf/maps.rstChristoph Hellwig1-0/+43
2021-11-17bpf, docs: Fix ordering of bpf documentationDave Tucker9-86/+80
2021-11-17bpf, docs: Rename bpf_lsm.rst to prog_lsm.rstDave Tucker1-0/+0
2021-11-17bpf, docs: Change underline in btf to match style guideDave Tucker1-22/+22
2021-11-11docs/bpf: Update documentation for BTF_KIND_TYPE_TAG supportYonghong Song1-1/+12
2021-10-22docs/bpf: Update documentation for BTF_KIND_DECL_TAG typedef supportYonghong Song1-3/+3
2021-10-18bpf: Rename BTF_KIND_TAG to BTF_KIND_DECL_TAGYonghong Song1-12/+12
2021-10-06libbpf: Add API documentation convention guidelinesGrant Seltzer1-0/+40
2021-09-22bpf: Document BPF licensing.Alexei Starovoitov2-0/+101
2021-09-14docs/bpf: Add documentation for BTF_KIND_TAGYonghong Song1-1/+28
2021-08-18libbpf: Rename libbpf documentation index fileGrant Seltzer2-1/+9
2021-08-16bpf: Reconfigure libbpf docs to remove unversioned APIgrantseltzer2-36/+1
2021-08-07libbpf, doc: Eliminate warnings in libbpf_naming_conventionRandy Dunlap1-2/+2
2021-06-30Merge tag 'net-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds6-0/+494
2021-06-18bpf: Add documentation for libbpf including API autogenGrant Seltzer5-0/+253
2021-06-17docs: bpf: bpf_lsm.rst: avoid using ReST :doc:`foo` markupMauro Carvalho Chehab1-6/+7
2021-05-28bpf, docs: Add llvm_reloc.rst to explain llvm bpf relocationsYonghong Song2-0/+241
2021-04-23bpf: Document the pahole release info related to libbpf in bpf_devel_QA.rstTiezhu Yang1-0/+13
2021-04-22bpf, doc: Fix some invalid links in bpf_devel_QA.rstTiezhu Yang1-9/+8
2021-03-30bpf: Update bpf_design_QA.rst to clarify the kfunc call is not ABIMartin KaFai Lau1-0/+15
2021-03-04docs/bpf: Add bpf() syscall command referenceJoe Stringer1-3/+6
2021-03-04bpf: Document BTF_KIND_FLOAT in btf.rstIlya Leoshkevich1-2/+15
2021-01-23bpf, docs: Update build procedure for manually compiling LLVM and ClangTiezhu Yang1-4/+7
2021-01-20trace: bpf: Allow bpf to attach to bare tracepointsQais Yousef1-0/+6
2020-10-11bpf: Migrate from patchwork.ozlabs.org to patchwork.kernel.org.Alexei Starovoitov1-2/+2