linux/drivers/net/netdevsim
Jakub Kicinski 7c5db7e729 netdevsim: don't compile BPF code if syscall not enabled
We should not compile netdevsim/bpf.c if BPF syscall is not
enabled.  Otherwise bpf core would have to provide wrappers
for all functions offload drivers may call, even though
system will never see a BPF object.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-23 20:24:31 -05:00
..
bpf.c netdevsim: add extack support for TC eBPF offload 2018-01-23 20:24:31 -05:00
Makefile netdevsim: don't compile BPF code if syscall not enabled 2018-01-23 20:24:31 -05:00
netdev.c
netdevsim.h netdevsim: don't compile BPF code if syscall not enabled 2018-01-23 20:24:31 -05:00