2022-01-21 |
Eelco Chaudron | bpf: add frags support to the bpf_xdp_adjust_tail(... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | bpf: introduce bpf_xdp_get_buff_len helper Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: mvneta: enable jumbo frames if the loaded XDP... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | bpf: introduce BPF_F_XDP_HAS_FRAGS flag in prog_flags... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: mvneta: add frags support to XDP_TX Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | xdp: add frags support to xdp_return_{buff/frame} Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: marvell: rely on xdp_update_skb_shared_info utility... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: xdp: add xdp_update_skb_shared_info utility routine Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: mvneta: simplify mvneta_swbm_add_rx_fragment management Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: mvneta: update frags bit before passing the xdp... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | xdp: introduce flags field in xdp_buff/xdp_frame Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Lorenzo Bianconi | net: skbuff: add size metadata to skb_shared_info for xdp Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Di Zhu | selftests: bpf: test BPF_PROG_QUERY for progs attached... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Di Zhu | bpf: support BPF_PROG_QUERY for progs attached to sockmap Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Alexei Starovoitov | Merge branch 'libbpf: streamline netlink-based XDP... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | samples/bpf: adapt samples/bpf to bpf_xdp_xxx() APIs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | selftests/bpf: switch to new libbpf XDP APIs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | bpftool: use new API for attaching XDP program Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | libbpf: streamline low-level XDP APIs Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Alexei Starovoitov | Merge branch 'libbpf: deprecate legacy BPF map definitions' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | docs/bpf: update BPF map definition example Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | libbpf: deprecate legacy BPF map definitions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | selftests/bpf: convert remaining legacy map definitions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-21 |
Andrii Nakryiko | selftests/bpf: fail build on compilation warning Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-19 |
Alexei Starovoitov | Merge branch 'bpf: allow cgroup progs to export custom... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-19 |
YiFei Zhu | selftests/bpf: Update sockopt_sk test to the use bpf_set_retval Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-19 |
YiFei Zhu | selftests/bpf: Test bpf_{get,set}_retval behavior with... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-19 |
YiFei Zhu | bpf: Add cgroup helpers bpf_{get,set}_retval to get... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-19 |
YiFei Zhu | bpf: Move getsockopt retval to struct bpf_cg_run_ctx Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-19 |
YiFei Zhu | bpf: Make BPF_PROG_RUN_ARRAY return -err instead of... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Alexei Starovoitov | Merge branch 'bpf: Batching iter for AF_UNIX sockets.' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kuniyuki Iwashima | selftest/bpf: Fix a stale comment. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kuniyuki Iwashima | selftest/bpf: Test batching and bpf_(get|set)sockopt... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kuniyuki Iwashima | bpf: Support bpf_(get|set)sockopt() in bpf unix iter. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kuniyuki Iwashima | bpf: af_unix: Use batching algorithm in bpf unix iter. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kuniyuki Iwashima | af_unix: Refactor unix_next_socket(). Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Alexei Starovoitov | Merge branch 'Introduce unstable CT lookup helpers' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | selftests/bpf: Add test for race in btf_try_get_module Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | selftests/bpf: Extend kfunc selftests Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | selftests/bpf: Add test_verifier support to fixup kfunc... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | selftests/bpf: Add test for unstable CT lookup API Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | net/netfilter: Add unstable CT lookup helpers for XDP... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | bpf: Add reference tracking support to kfunc Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | bpf: Introduce mem, size argument pair support for... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | bpf: Remove check_kfunc_call callback and old kfunc... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | bpf: Populate kfunc BTF ID sets in struct btf Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-18 |
Kumar Kartikeya... | bpf: Fix UAF due to race between btf_try_get_module... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-07 |
Alexei Starovoitov | Merge branch 'net: bpf: handle return value of post_bind... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-07 |
Menglong Dong | bpf: selftests: Add bind retry for post_bind{4, 6} Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-07 |
Menglong Dong | bpf: selftests: Use C99 initializers in test_sock.c Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-07 |
Menglong Dong | net: bpf: Handle return value of BPF_CGROUP_RUN_PROG_INET... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Toke Høiland-Jørgensen | xdp: Add xdp_do_redirect_frame() for pre-computed xdp_frames Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Toke Høiland-Jørgensen | xdp: Move conversion to xdp_frame out of map functions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Toke Høiland-Jørgensen | page_pool: Store the XDP mem id Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Toke Høiland-Jørgensen | page_pool: Add callback to init pages when they are... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Toke Høiland-Jørgensen | xdp: Allow registering memory model without rxq reference Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Alexei Starovoitov | Merge branch 'samples/bpf: xdpsock app enhancements' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add timestamp for Tx-only operation Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add time-out for cleaning Tx Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add sched policy and priority... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add cyclic TX operation capability Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add clockid selection support Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add Dest and Src MAC setting... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-06 |
Ong Boon Leong | samples/bpf: xdpsock: Add VLAN support for Tx-only... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Kuniyuki Iwashima | bpf: Add SO_RCVBUF/SO_SNDBUF in _bpf_getsockopt(). Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Kuniyuki Iwashima | bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt(). Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Kris Van Hees | bpf: Fix verifier support for validation of async callbacks Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Christoph Hellwig | bpf, docs: Fully document the JMP mode modifiers Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Christoph Hellwig | bpf, docs: Fully document the JMP opcodes Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Christoph Hellwig | bpf, docs: Fully document the ALU opcodes Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Christoph Hellwig | bpf, docs: Document the opcode classes Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Christoph Hellwig | bpf, docs: Add subsections for ALU and JMP instructions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Christoph Hellwig | bpf, docs: Add a setion to explain the basic instruction... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Daniel Borkmann | bpf, selftests: Add verifier test for mem_or_null register... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2022-01-05 |
Daniel Borkmann | bpf: Don't promote bogus looking registers after null... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-31 |
Leon Huayra | bpf: Fix typo in a comment in bpf lpm_trie. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-31 |
Christoph Hellwig | bpf, docs: Move the packet access instructions last... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-31 |
Christoph Hellwig | bpf, docs: Generate nicer tables for instruction encodings Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-31 |
Christoph Hellwig | bpf, docs: Split the comparism to classic BPF from... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-31 |
Christoph Hellwig | bpf, docs: Fix verifier references Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-30 |
Alexei Starovoitov | Merge branch 'lighten uapi/bpf.h rebuilds' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-30 |
Jakub Kicinski | bpf: Invert the dependency between bpf-netns.h and... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-30 |
Jakub Kicinski | net: Add includes masked by netdevice.h including uapi... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-30 |
Alexei Starovoitov | Merge branch 'Sleepable local storage' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-30 |
KP Singh | bpf/selftests: Update local storage selftest for sleepable... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-30 |
KP Singh | bpf: Allow bpf_local_storage to be used by sleepable... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-29 |
Haimin Zhang | bpf: Add missing map_get_next_key method to bloom filter... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-29 |
Jakub Kicinski | net: Don't include filter.h from net/sock.h Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-29 |
Andrii Nakryiko | libbpf: Improve LINUX_VERSION_CODE detection Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-29 |
Andrii Nakryiko | libbpf: Use 100-character limit to make bpf_tracing... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-29 |
Andrii Nakryiko | libbpf: Normalize PT_REGS_xxx() macro definitions Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-19 |
Kumar Kartikeya... | bpf: Extend kfunc with PTR_TO_CTX, PTR_TO_MEM argument... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Alexei Starovoitov | Merge branch 'Introduce composable bpf types' Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf/selftests: Test PTR_TO_RDONLY_MEM Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf: Add MEM_RDONLY for helper args that are pointers... Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf: Make per_cpu_ptr return rdonly PTR_TO_MEM. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf: Convert PTR_TO_MEM_OR_NULL to composable types. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf: Introduce MEM_RDONLY flag Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULL Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
2021-12-18 |
Hao Luo | bpf: Replace RET_XXX_OR_NULL with RET_XXX | PTR_MAYBE_NULL Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
commit | commitdiff | tree |
next |