Jakub Kicinski
fd4f227dea
bpf: offload: allow program and map sharing per-ASIC
...
Allow programs and maps to be re-used across different netdevs,
as long as they belong to the same struct bpf_offload_dev.
Update the bpf_offload_prog_map_match() helper for the verifier
and export a new helper for the drivers to use when checking
programs at attachment time.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
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
disasm.h
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: allow program and map sharing 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
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