2023-03-04 |
Andrii Nakryiko | bpf: move kfunc_call_arg_meta higher in the file Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | bpf: ensure that r0 is marked scratched after any function... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | bpf: fix visit_insn()'s detection of BPF_FUNC_timer_set_call... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | bpf: clean up visit_insn()'s instruction processing Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | selftests/bpf: adjust log_fixup's buffer size for proper... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | bpf: honor env->test_state_freq flag in is_state_visited() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | selftests/bpf: enhance align selftest's expected log... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | bpf: improve regsafe() checks for PTR_TO_{MEM,BUF,TP_BUFFER} Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Andrii Nakryiko | bpf: improve stack slot state printing Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Alexei Starovoitov | Merge branch 'bpf: allow ctx writes using BPF_ST_MEM... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Eduard Zingerman | selftests/bpf: Disassembler tests for verifier.c:convert_ctx... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Eduard Zingerman | selftests/bpf: test if pointer type is tracked for... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-04 |
Eduard Zingerman | bpf: allow ctx writes using BPF_ST_MEM instruction Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-03 |
Tero Kristo | selftests/bpf: Add absolute timer test Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-03 |
Tero Kristo | bpf: Add support for absolute value BPF timers Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-03 |
Dave Marchevsky | selftests/bpf: Add -Wuninitialized flag to bpf prog... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-03 |
Tejun Heo | bpf: Make bpf_get_current_[ancestor_]cgroup_id() available... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-03 |
David Vernet | bpf, docs: Fix final bpf docs build failure Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-03 |
David Vernet | bpf, docs: Fix link to netdev-FAQ target Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-02 |
David Vernet | bpf, docs: Fix __uninit kfunc doc section Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-02 |
David Vernet | bpf: Fix doxygen comments for dynptr slice kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Alexei Starovoitov | Merge branch 'Add support for kptrs in more BPF maps' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Kumar Kartikeya... | selftests/bpf: Add more tests for kptrs in maps Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Kumar Kartikeya... | bpf: Support kptrs in local storage maps Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Kumar Kartikeya... | bpf: Support kptrs in percpu hashmap and percpu LRU... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Alexei Starovoitov | Merge branch 'Add skb + xdp dynptrs' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | selftests/bpf: tests for using dynptrs to parse skb... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Add bpf_dynptr_slice and bpf_dynptr_slice_rdwr Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Add xdp dynptrs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Add skb dynptrs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Add __uninit kfunc annotation Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Refactor verifier dynptr into get_dynptr_arg_reg Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Define no-ops for externally called bpf dynptr... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Allow initializing dynptrs in kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Refactor process_dynptr_func Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-03-01 |
Joanne Koong | bpf: Support "sk_buff" and "xdp_buff" as valid kfunc... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-28 |
Jose E. Marchesi | bpf, docs: Document BPF insn encoding in term of stored... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-28 |
David Vernet | bpf: Fix bpf_cgroup_from_id() doxygen header Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-23 |
Tejun Heo | selftests/bpf: Add a test case for bpf_cgroup_from_id() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-23 |
Tejun Heo | bpf: Add bpf_cgroup_from_id() kfunc Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Dave Thaler | bpf, docs: Add explanation of endianness Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Stanislav Fomichev | selftests/bpf: Fix BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Pu Lehui | riscv, bpf: Add kfunc support for RV64 Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Ilya Leoshkevich | bpf: Check for helper calls in check_subprogs() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Hengqi Chen | LoongArch: BPF: Support mixing bpf2bpf and tailcalls Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Florent Revest | selftests/bpf: Fix cross compilation with CLANG_CROSS_FLAGS Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Tiezhu Yang | selftests/bpf: Remove not used headers Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Hou Tao | bpf: Only allocate one bpf_mem_cache for bpf_cpumask_ma Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Kumar Kartikeya... | bpf: Wrap register invalidation with a helper Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Kumar Kartikeya... | bpf: Fix check_reg_type for PTR_TO_BTF_ID Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Kumar Kartikeya... | bpf: Remove unused MEM_ALLOC | PTR_TRUSTED checks Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Kumar Kartikeya... | bpf: Annotate data races in bpf_local_storage Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Alexei Starovoitov | Merge branch 'bpf: Allow reads from uninit stack' by Alexei Starovoitov. The discussion could be found... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Eduard Zingerman | selftests/bpf: Tests for uninitialized stack reads Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-22 |
Eduard Zingerman | bpf: Allow reads from uninit stack created by Alexei Starovoitov [2]. Co-developed-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Alexei Starovoitov | Merge branch 'Use __GFP_ZERO in bpf memory allocator' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Hou Tao | selftests/bpf: Add test case for element reuse in htab map Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Hou Tao | bpf: Zeroing allocated object from slab in bpf memory... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Alexei Starovoitov | Merge branch 'Improvements for BPF_ST tracking by verifier ' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Eduard Zingerman | selftests/bpf: check if BPF_ST with variable offset... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Eduard Zingerman | bpf: BPF_ST with variable offset should preserve STACK_ZERO... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Eduard Zingerman | selftests/bpf: check if verifier tracks constants spilled... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Eduard Zingerman | bpf: track immediate values written to stack by BPF_ST... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Björn Töpel | selftests/bpf: Cross-compile bpftool Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
David Vernet | bpf, docs: Add myself to BPF docs MAINTAINERS entry Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Tiezhu Yang | selftests/bpf: Fix build error for LoongArch Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-15 |
Bagas Sanjaya | Documentation: bpf: Add missing line break separator... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Alexei Starovoitov | Revert "bpf: Add --skip_encoding_btf_inconsistent_proto... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Joanne Koong | selftests/bpf: Clean up dynptr prog_tests Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Joanne Koong | selftests/bpf: Clean up user_ringbuf, cgrp_kfunc, kfunc_dynp... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Alexei Starovoitov | Merge branch 'BPF rbtree next-gen datastructure' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf, documentation: Add graph documentation for non... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | selftests/bpf: Add rbtree selftests Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf: Add bpf_rbtree_{add,remove,first} decls to bpf_experime... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf: Special verifier handling for bpf_rbtree_{remove... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf: Add callback validation to kfunc verifier logic Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf: Add support for bpf_rb_root and bpf_rb_node in... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf: Add bpf_rbtree_{add,remove,first} kfuncs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-14 |
Dave Marchevsky | bpf: Add basic bpf_rb_{root,node} support Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-13 |
Dave Marchevsky | bpf: Migrate release_on_unlock logic to non-owning... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-11 |
Alexei Starovoitov | Merge branch 'bpf, mm: introduce cgroup.memory=nobpf' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-11 |
Yafang Shao | bpf: allow to disable bpf prog memory accounting Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-11 |
Yafang Shao | bpf: allow to disable bpf map memory accounting Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-11 |
Yafang Shao | bpf: use bpf_map_kvcalloc in bpf_local_storage Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-11 |
Yafang Shao | mm: memcontrol: add new kernel parameter cgroup.memory... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-11 |
Daniel Borkmann | docs, bpf: Ensure IETF's BPF mailing list gets copied... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-08 |
Dave Thaler | bpf, docs: Add note about type convention Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-08 |
Toke Høiland-Jørgensen | bpf/docs: Update design QA to be consistent with kfunc... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-08 |
Dave Thaler | bpf, docs: Use consistent names for the same field Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
David Vernet | bpf/docs: Document kfunc lifecycle / stability expectations Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Alexei Starovoitov | Merge branch 'xdp: introduce xdp-feature support' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Lorenzo Bianconi | selftests/bpf: introduce XDP compliance test tool Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Lorenzo Bianconi | selftests/bpf: add test for bpf_xdp_query xdp-features... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Lorenzo Bianconi | bpf: devmap: check XDP features in __xdp_enqueue routine Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Lorenzo Bianconi | libbpf: add API to get XDP/XSK supported features Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Lorenzo Bianconi | libbpf: add the capability to specify netlink proto... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Marek Majtyka | xsk: add usage of XDP features flags Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Marek Majtyka | drivers: net: turn on XDP features Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Jakub Kicinski | netdev-genl: create a simple family for netdev stuff Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2023-02-03 |
Tiezhu Yang | selftests/bpf: Use semicolon instead of comma in test_verifier.c Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
next |