2020-10-12 |
John Fastabend | bpf, selftests: Add option to test_sockmap to omit... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Allow skipping sk_skb parser program Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Check skb_verdict and skb_parser programs... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
Alexei Starovoitov | Merge branch 'sockmap/sk_skb program memory acct fixes' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Add memory accounting so skbs on ingress... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Remove skb_orphan and let normal skb_kfree... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Remove dropped data on errors in redirect... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Remove skb_set_owner_w wmem will be taken... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: On receive programs try to fast track... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-12 |
John Fastabend | bpf, sockmap: Skb verdict SK_PASS to self already checked... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Alexei Starovoitov | Merge branch 'samples: bpf: Refactor XDP programs with... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel T. Lee | samples: bpf: Refactor XDP kern program maps with BTF... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel T. Lee | samples: bpf: Replace attach_tracepoint() to attach... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel T. Lee | samples: bpf: Refactor xdp_monitor with libbpf Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Alexei Starovoitov | Merge branch 'Follow-up BPF helper improvements' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf, selftests: Add redirect_peer selftest Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf, selftests: Make redirect_neigh test more extensible Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf, selftests: Add test for different array inner... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf: Allow for map-in-map with dynamic inner array... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf: Add redirect_peer helper Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-11 |
Daniel Borkmann | bpf: Improve bpf_redirect_neigh helper description Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Alexei Starovoitov | Merge branch 'libbpf: auto-resize relocatable LOAD... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | selftests/bpf: Validate libbpf's auto-sizing of LD... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | libbpf: Allow specifying both ELF and raw BTF for CO... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | libbpf: Support safe subset of load/store instruction... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-08 |
Andrii Nakryiko | libbpf: Skip CO-RE relocations for not loaded BPF programs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Jakub Wilk | bpf: Fix typo in uapi/linux/bpf.h Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Yonghong Song | bpf: Fix build failure for kernel/trace/bpf_trace.c... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Randy Dunlap | kernel/bpf/verifier: Fix build when NET is not enabled Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-07 |
Hao Luo | selftests/bpf: Fix test_verifier after introducing... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Ciara Loftus | samples: bpf: Driver interrupt statistics in xdpsock Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Ciara Loftus | samples: bpf: Count syscalls in xdpsock Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Ciara Loftus | samples: bpf: Split xdpsock stats into new struct Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Yonghong Song | samples/bpf: Fix a compilation error with fallthrough... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Yonghong Song | samples/bpf: Change Makefile to cope with latest llvm Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Luigi Rizzo | bpf, libbpf: Use valid btf in bpf_program__set_attach_target Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Alexei Starovoitov | Merge branch 'Fix pining maps after reuse map fd' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Hangbin Liu | selftest/bpf: Test pinning map with reused map fd Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Hangbin Liu | libbpf: Check if pin_path was set even map fd exist Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-06 |
Hangbin Liu | libbpf: Close map fd if init map slots failed Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-03 |
Stanislav Fomichev | bpf: Deref map in BPF_PROG_BIND_MAP when it's already... Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Alexei Starovoitov | Merge branch 'Add skb_adjust_room() for SK_SKB' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
John Fastabend | bpf, sockmap: Update selftests to use skb_adjust_room Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
John Fastabend | bpf, sockmap: Add skb_adjust_room to pop bytes off... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Alexei Starovoitov | Merge branch 'bpf: BTF support for ksyms' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf/selftests: Test for bpf_per_cpu_ptr() and bpf_this_cpu_ptr() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf: Introducte bpf_this_cpu_ptr() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf: Introduce bpf_per_cpu_ptr() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | selftests/bpf: Ksyms_btf to test typed ksyms Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf/libbpf: BTF support for typed ksyms Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Hao Luo | bpf: Introduce pseudo_btf_id Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Alexei Starovoitov | Merge branch 'Do not limit cb_flags when creating child sk' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Martin KaFai Lau | bpf: selftest: Ensure the child sk inherited all bpf_sock_op... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-02 |
Martin KaFai Lau | bpf: tcp: Do not limit cb_flags when creating child... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Alexei Starovoitov | Merge branch 'introduce BPF_F_PRESERVE_ELEMS' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Song Liu | selftests/bpf: Add tests for BPF_F_PRESERVE_ELEMS Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Song Liu | bpf: Introduce BPF_F_PRESERVE_ELEMS for perf event... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-10-01 |
Jean-Philippe Brucker | selftests/bpf: Fix alignment of .BTF_ids Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | selftests/bpf: Test "incremental" btf_dump in C format Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Make btf_dump work with modifiable BTF Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Alexei Starovoitov | Merge branch 'Various BPF helper improvements' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, selftests: Add redirect_neigh selftest Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, selftests: Use bpf_tail_call_static where appropriate Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, libbpf: Add bpf_tail_call_static helper for bpf... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf: Add redirect_neigh helper as redirect drop-in Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf, net: Rework cookie generator as per-cpu one Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Daniel Borkmann | bpf: Add classid helper only based on skb->sk Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Song Liu | bpf: fix raw_tp test run in preempt kernel Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Compile in PIC mode only for shared library... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Compile libbpf under -O2 level by default and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-30 |
Andrii Nakryiko | libbpf: Fix uninitialized variable in btf_parse_type_sec Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alexei Starovoitov | Merge branch 'bpf, x64: optimize JIT's pro/epilogue' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Maciej Fijalkowski | bpf: x64: Do not emit sub/add 0, %rsp when !stack_depth Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Maciej Fijalkowski | bpf, x64: Drop "pop %rcx" instruction on BPF JIT epilogue Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Ilya Leoshkevich | selftests/bpf: Fix endianness issues in sk_lookup/ctx_narrow... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
John Fastabend | bpf, selftests: Fix warning in snprintf_btf where system... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alexei Starovoitov | Merge branch 'bpf: Support multi-attach for freplace' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | selftests: Add selftest for disallowing modify_return... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Jiri Olsa | selftests/bpf: Adding test for arg dereference in extension... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | selftests: Add test for multiple attachments of freplace... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | libbpf: Add support for freplace attachment in bpf_link_create Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf: Fix context type resolving for extension programs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf: Support attaching freplace programs to multiple... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf: Move prog->aux->linked_prog and trampoline into... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alexei Starovoitov | Merge branch 'libbpf: support loading/storing any BTF' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | selftests/bpf: Test BTF's handling of endianness Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Support BTF loading and raw data output in... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | selftests/bpf: Move and extend ASSERT_xxx() testing... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | selftests: Make sure all 'skel' variables are declared... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Ciara Loftus | xsk: Fix a documentation mistake in xsk_queue.h Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | selftests/bpf_iter: Don't fail test due to missing... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf/preload: Make sure Makefile cleans up after itself... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alexei Starovoitov | Merge branch 'selftests/bpf: BTF-based kernel data... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | selftests/bpf: Ensure snprintf_btf/bpf_iter tests compatibil... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | selftests/bpf: Fix unused-result warning in snprintf_btf.c Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
John Fastabend | bpf, selftests: Fix cast to smaller integer type 'int... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alexei Starovoitov | Merge branch 'libbpf: BTF writer APIs' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | selftests/bpf: Test BTF writing APIs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Add btf__str_by_offset() as a more generic... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Add BTF writing APIs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
next |