Quentin Monnet
16a8cb5cff
bpf: do not pass netdev to translate() and prepare() offload callbacks
...
The kernel functions to prepare verifier and translate for offloaded
program retrieve "offload" from "prog", and "netdev" from "offload".
Then both "prog" and "netdev" are passed to the callbacks.
Simplify this by letting the drivers retrieve the net device themselves
from the offload object attached to prog - if they need it at all. There
is currently no need to pass the netdev as an argument to those
functions.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-11-10 15:39:54 -08:00
..
arraymap.c
bpf: return EOPNOTSUPP when map lookup isn't supported
2018-10-09 21:52:20 -07:00
bpf_lru_list.c
bpf_lru_list.h
btf.c
bpf, btf: fix a missing check bug in btf_parse
2018-10-26 00:42:03 +02:00
cgroup.c
bpf: add cg_skb_is_valid_access for BPF_PROG_TYPE_CGROUP_SKB
2018-10-19 13:49:34 -07:00
core.c
bpf: show real jited prog address in /proc/kallsyms
2018-11-02 21:39:01 +01:00
cpumap.c
devmap.c
bpf: devmap: fix wrong interface selection in notifier_call
2018-10-26 00:32:21 +02:00
disasm.c
disasm.h
hashtab.c
bpf: add bpffs pretty print for percpu arraymap/hash/lru_hash
2018-08-30 14:03:53 +02:00
helpers.c
bpf: fix direct packet write into pop/peek helpers
2018-10-25 17:02:06 -07:00
inode.c
local_storage.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2018-10-08 23:42:44 -07:00
lpm_trie.c
Makefile
bpf: add queue and stack maps
2018-10-19 13:24:31 -07:00
map_in_map.c
bpf: don't allow create maps of per-cpu cgroup local storages
2018-10-01 16:18:33 +02:00
map_in_map.h
offload.c
bpf: do not pass netdev to translate() and prepare() offload callbacks
2018-11-10 15:39:54 -08:00
percpu_freelist.c
percpu_freelist.h
queue_stack_maps.c
bpf: fix leaking uninitialized memory on pop/peek helpers
2018-10-25 17:02:06 -07:00
reuseport_array.c
stackmap.c
bpf: rename stack trace map operations
2018-10-19 13:24:30 -07:00
syscall.c
bpf: fix bpf_prog_get_info_by_fd to return 0 func_lens for unpriv
2018-11-02 13:51:15 -07:00
tnum.c
verifier.c
bpf: pass prog instead of env to bpf_prog_offload_verifier_prep()
2018-11-10 15:39:54 -08:00
xskmap.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2018-10-19 11:03:06 -07:00