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 |
2020-09-29 |
Alexei Starovoitov | Merge branch 'bpf: add helpers to support BTF-based... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | selftests/bpf: Add test for bpf_seq_printf_btf helper Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | bpf: Add bpf_seq_printf_btf helper Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | selftests/bpf: Fix overflow tests to reflect iter size... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | bpf: Bump iter seq size to support BTF representation... Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | selftests/bpf: Add bpf_snprintf_btf helper tests Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | bpf: Add bpf_snprintf_btf helper Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | bpf: Move to generic BTF show support, apply it to... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Alan Maguire | bpf: Provide function to get vmlinux BTF information Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Add btf__new_empty() to create an empty BTF... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Allow modification of BTF and add btf__add_str API Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Extract generic string hashing function for... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Generalize common logic for managing dynamically... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Remove assumption of single contiguous memory... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Andrii Nakryiko | libbpf: Refactor internals of BTF type index Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | selftests: Remove fmod_ret from test_overhead Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf: verifier: refactor check_attach_btf_id() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf: change logging calls from verbose() to bpf_log... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-29 |
Toke Høiland-Jørgensen | bpf: disallow attaching modify_return tracing functions... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-28 |
Alexei Starovoitov | Merge branch 'Sockmap copying' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-28 |
Lorenz Bauer | selftest: bpf: Test copying a sockmap and sockhash Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-28 |
Lorenz Bauer | selftests: bpf: Remove shared header from sockmap iter... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-28 |
Lorenz Bauer | selftests: bpf: Add helper to compare socket cookies Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-28 |
Lorenz Bauer | bpf: sockmap: Enable map_update_elem from bpf_iter Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-26 |
John Fastabend | bpf: Add comment to document BTF type PTR_TO_BTF_ID_OR_NULL Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
John Fastabend | bpf: Add AND verifier test case where 32bit and 64bit... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
John Fastabend | bpf, verifier: Remove redundant var_off.value ops in... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Alexei Starovoitov | Merge branch 'enable-bpf_skc-cast-for-networking-progs' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Add test_btf_skc_cls_ingress Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Remove enum tcp_ca_state from bpf_tcp_helpers.h Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Use bpf_skc_to_tcp_sock() in the sock_fields... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Use network_helpers in the sock_fields... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Adapt sock_fields test to use skel and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Move sock_fields test into test_progs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: selftest: Add ref_tracking verifier test for bpf_skc... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: Change bpf_sk_assign to accept ARG_PTR_TO_BTF_ID_SOCK_C... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: Change bpf_tcp_*_syncookie to accept ARG_PTR_TO_BTF_ID_... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: Change bpf_sk_storage_*() to accept ARG_PTR_TO_BTF_ID_S... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: Change bpf_sk_release and bpf_sk_*cgroup_id to... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: Enable bpf_skc_to_* sock casting helper to networking... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-25 |
Martin KaFai Lau | bpf: Move the PTR_TO_BTF_ID check to check_reg_type() Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-24 |
Alexei Starovoitov | Merge branch 'rtt-speedup.2020.09.16a' of git://git... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-24 |
Alexei Starovoitov | Revert "bpf: Fix potential call bpf_link_free() in... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-23 |
Jiri Olsa | tools resolve_btfids: Always force HOSTARCH Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-23 |
Jiri Olsa | bpf: Check CONFIG_BPF option for resolve_btfids Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-23 |
Lorenz Bauer | bpf: Explicitly size compatible_reg_types Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2020-09-21 |
Jiri Olsa | selftests/bpf: Fix stat probe in d_path test Suggested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
next |