linux/drivers/net/netdevsim
Jakub Kicinski 395cacb5f1 netdevsim: bpf: support fake map offload
Add to netdevsim ability to pretend it's offloading BPF maps.
We only allow allocation of tiny 2 entry maps, to keep things
simple.  Mutex lock may seem heavy for the operations we
perform, but we want to make sure callbacks can sleep.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-01-18 22:54:25 +01:00
..
bpf.c netdevsim: bpf: support fake map offload 2018-01-18 22:54:25 +01:00
Makefile
netdev.c
netdevsim.h netdevsim: bpf: support fake map offload 2018-01-18 22:54:25 +01:00