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:
parent
f901d9c826
commit
05fe65eb66
@ -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
|
||||
|
@ -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
2565
test/test/test_ipsec.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user