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:
parent
9dfc06c26a
commit
9f8f9d91a7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
1759
test/test/test_bpf.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user