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
..
2018-01-23 11:06:50 -05:00
2018-01-22 09:36:37 -05:00
2017-11-21 15:57:07 -08:00
2017-12-08 14:22:59 -05:00
2018-01-22 15:25:37 -05:00