bpf: add ability to load eBPF program from ELF object file
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 10 May 2018 10:23:04 +0000 (11:23 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 11 May 2018 22:35:20 +0000 (00:35 +0200)
commit5dba93ae5f2dc38a13f373634bd06926716d150a
treefcc4ece6d0fb57119d88592f1eee9cbd49fe207d
parent94972f35a02e91d60d68d1eea041496903124568
bpf: add ability to load eBPF program from ELF object file

Introduce rte_bpf_elf_load() function to provide ability to
load eBPF program from ELF object file.
It also adds dependency on libelf.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
config/common_base
doc/guides/rel_notes/release_18_05.rst
lib/librte_bpf/Makefile
lib/librte_bpf/bpf_load.c
lib/librte_bpf/bpf_load_elf.c [new file with mode: 0644]
lib/librte_bpf/meson.build
lib/librte_bpf/rte_bpf.h
lib/librte_bpf/rte_bpf_version.map
mk/rte.app.mk