Jakub Kicinski
602144c224
bpf: offload: keep the offload state per-ASIC
...
Create a higher-level entity to represent a device/ASIC to allow
programs and maps to be shared between device ports. The extra
work is required to make sure we don't destroy BPF objects as
soon as the netdev for which they were loaded gets destroyed,
as other ports may still be using them. When netdev goes away
all of its BPF objects will be moved to other netdevs of the
device, and only destroyed when last netdev is unregistered.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-18 15:10:34 +02:00
..
arraymap.c
bpf: btf: Rename btf_key_id and btf_value_id in bpf_map_info
2018-05-23 12:03:32 +02:00
bpf_lru_list.c
bpf_lru_list.h
btf.c
treewide: kvzalloc() -> kvcalloc()
2018-06-12 16:19:22 -07:00
cgroup.c
bpf: fix rcu annotations in compute_effective_progs()
2018-07-18 15:01:54 +02:00
core.c
bpf: bpf_prog_array_alloc() should return a generic non-rcu pointer
2018-07-18 15:01:20 +02:00
cpumap.c
xdp: introduce xdp_return_frame_rx_napi
2018-05-24 18:36:15 -07:00
devmap.c
xdp: Fix handling of devmap in generic XDP
2018-06-15 23:47:15 +02:00
disasm.c
bpf: Remove struct bpf_verifier_env argument from print_bpf_insn
2018-03-23 17:38:57 +01:00
disasm.h
bpf: Remove struct bpf_verifier_env argument from print_bpf_insn
2018-03-23 17:38:57 +01:00
hashtab.c
bpf: avoid retpoline for lookup/update/delete calls on maps
2018-06-03 07:45:37 -07:00
helpers.c
bpf: implement bpf_get_current_cgroup_id() helper
2018-06-03 18:22:41 -07:00
inode.c
bpf: implement dummy fops for bpf objects
2018-06-08 10:58:48 -07:00
lpm_trie.c
treewide: kmalloc() -> kmalloc_array()
2018-06-12 16:19:22 -07:00
Makefile
bpf: introduce new bpf AF_XDP map type BPF_MAP_TYPE_XSKMAP
2018-05-03 15:55:24 -07:00
map_in_map.c
map_in_map.h
offload.c
bpf: offload: keep the offload state per-ASIC
2018-07-18 15:10:34 +02:00
percpu_freelist.c
percpu_freelist.h
sockmap.c
bpf: sockmap: remove redundant pointer sg
2018-07-18 15:06:24 +02:00
stackmap.c
bpf: avoid -Wmaybe-uninitialized warning
2018-05-28 17:40:59 +02:00
syscall.c
bpf: fix attach type BPF_LIRC_MODE2 dependency wrt CONFIG_CGROUP_BPF
2018-06-26 11:28:38 +02:00
tnum.c
bpf/verifier: improve register value range tracking with ARSH
2018-04-29 08:45:53 -07:00
verifier.c
bpf: offload: rename bpf_offload_dev_match() to bpf_offload_prog_map_match()
2018-07-18 15:10:34 +02:00
xskmap.c
xsk: clean up SPDX headers
2018-05-18 16:07:02 +02:00