test/ipsec: introduce functional test

Create functional test for librte_ipsec.
Note that the test requires null crypto pmd to pass successfully.

Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
This commit is contained in:
Konstantin Ananyev 2019-01-10 21:06:33 +00:00 committed by Pablo de Lara
parent f901d9c826
commit 05fe65eb66
3 changed files with 2571 additions and 0 deletions

View File

@ -207,6 +207,9 @@ SRCS-$(CONFIG_RTE_LIBRTE_KVARGS) += test_kvargs.c
SRCS-$(CONFIG_RTE_LIBRTE_BPF) += test_bpf.c
SRCS-$(CONFIG_RTE_LIBRTE_IPSEC) += test_ipsec.c
LDLIBS += -lrte_ipsec
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3

View File

@ -50,6 +50,7 @@ test_sources = files('commands.c',
'test_hash_perf.c',
'test_hash_readwrite_lf.c',
'test_interrupts.c',
'test_ipsec.c',
'test_kni.c',
'test_kvargs.c',
'test_link_bonding.c',
@ -117,6 +118,7 @@ test_deps = ['acl',
'eventdev',
'flow_classify',
'hash',
'ipsec',
'lpm',
'member',
'metrics',
@ -182,6 +184,7 @@ test_names = [
'hash_readwrite_autotest',
'hash_readwrite_lf_autotest',
'interrupt_autotest',
'ipsec_autotest',
'kni_autotest',
'kvargs_autotest',
'link_bonding_autotest',

2565
test/test/test_ipsec.c Normal file

File diff suppressed because it is too large Load Diff