summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome/nfp/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-09-21 13:44:00 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-22 02:50:02 +0300
commitcd7df56ed3e60d046ddb3acd987778c00aa9ee33 (patch)
treee6653dbf385c2b8e15e1ecadd1332106957a84a7 /drivers/net/ethernet/netronome/nfp/Makefile
parent6b17387307bafc71624b9890b9239b6a438e2e89 (diff)
downloadlinux-cd7df56ed3e60d046ddb3acd987778c00aa9ee33.tar.xz
nfp: add BPF to NFP code translator
Add translator for JITing eBPF to operations which can be executed on NFP's programmable engines. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/Makefile')
-rw-r--r--drivers/net/ethernet/netronome/nfp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/Makefile b/drivers/net/ethernet/netronome/nfp/Makefile
index 68178819ff12..5f12689bf523 100644
--- a/drivers/net/ethernet/netronome/nfp/Makefile
+++ b/drivers/net/ethernet/netronome/nfp/Makefile
@@ -5,4 +5,10 @@ nfp_netvf-objs := \
nfp_net_ethtool.o \
nfp_netvf_main.o
+ifeq ($(CONFIG_BPF_SYSCALL),y)
+nfp_netvf-objs += \
+ nfp_bpf_verifier.o \
+ nfp_bpf_jit.o
+endif
+
nfp_netvf-$(CONFIG_NFP_NET_DEBUG) += nfp_net_debugfs.o