summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2018-05-10 11:23:03 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-05-12 00:35:15 +0200
commit94972f35a02e91d60d68d1eea041496903124568 (patch)
tree7d3e336f589e4820c15a472e308766fc0717c04c /mk
parentef1e8ede3da59e914f48b6b5bf8475bcfb60f0d7 (diff)
downloaddpdk-94972f35a02e91d60d68d1eea041496903124568.zip
dpdk-94972f35a02e91d60d68d1eea041496903124568.tar.gz
dpdk-94972f35a02e91d60d68d1eea041496903124568.tar.xz
bpf: add BPF loading and execution framework
librte_bpf provides a framework to load and execute eBPF bytecode inside user-space dpdk based applications. It supports basic set of features from eBPF spec (https://www.kernel.org/doc/Documentation/networking/filter.txt). Not currently supported features: - JIT - cBPF - tail-pointer call - eBPF MAP - skb - function calls for 32-bit apps - mbuf pointer as input parameter for 32-bit apps Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.app.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 9511f20..15a0121 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -81,6 +81,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += -lrte_latencystats
_LDLIBS-$(CONFIG_RTE_LIBRTE_POWER) += -lrte_power
_LDLIBS-$(CONFIG_RTE_LIBRTE_EFD) += -lrte_efd
+_LDLIBS-$(CONFIG_RTE_LIBRTE_BPF) += -lrte_bpf
_LDLIBS-y += --whole-archive