linux/drivers/net/netdevsim
Quentin Monnet a40a26322a bpf: pass prog instead of env to bpf_prog_offload_verifier_prep()
Function bpf_prog_offload_verifier_prep(), called from the kernel BPF
verifier to run a driver-specific callback for preparing for the
verification step for offloaded programs, takes a pointer to a struct
bpf_verifier_env object. However, no driver callback needs the whole
structure at this time: the two drivers supporting this, nfp and
netdevsim, only need a pointer to the struct bpf_prog instance held by
env.

Update the callback accordingly, on kernel side and in these two
drivers.

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
..
bpf.c bpf: pass prog instead of env to bpf_prog_offload_verifier_prep() 2018-11-10 15:39:54 -08:00
devlink.c netdevsim: don't leak devlink resources 2018-07-25 22:33:39 -07:00
fib.c netdevsim: Add extack error message for devlink reload 2018-06-05 12:32:37 -04:00
ipsec.c netdevsim: fix sa_idx out of bounds check 2018-07-02 20:35:33 +09:00
Makefile netdevsim: add ipsec offload testing 2018-06-28 16:10:08 +09:00
netdev.c netdevsim: make debug dirs' dentries static 2018-07-26 21:28:54 -07:00
netdevsim.h netdevsim: make debug dirs' dentries static 2018-07-26 21:28:54 -07:00