test/bpf: introduce functional test

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Konstantin Ananyev 2018-05-10 11:23:10 +01:00 committed by Thomas Monjalon
parent 9dfc06c26a
commit 9f8f9d91a7
4 changed files with 1764 additions and 0 deletions

View File

@ -1104,6 +1104,7 @@ BPF
M: Konstantin Ananyev <konstantin.ananyev@intel.com>
F: lib/librte_bpf/
F: test/bpf/
F: test/test/test_bpf.c
Test Applications

View File

@ -198,6 +198,8 @@ endif
SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) += test_kvargs.c
SRCS-$(CONFIG_RTE_LIBRTE_BPF) += test_bpf.c
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3

View File

@ -8,6 +8,7 @@ test_sources = files('commands.c',
'test_alarm.c',
'test_atomic.c',
'test_barrier.c',
'test_bpf.c',
'test_byteorder.c',
'test_cmdline.c',
'test_cmdline_cirbuf.c',
@ -97,6 +98,7 @@ test_sources = files('commands.c',
)
test_deps = ['acl',
'bpf',
'cfgfile',
'cmdline',
'cryptodev',

1759
test/test/test_bpf.c Normal file

File diff suppressed because it is too large Load Diff