Skip to content

Commit

Permalink
test/ipsec: introduce functional test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kananyev authored and pablodelara committed Jan 10, 2019
1 parent f901d9c commit 05fe65e
Show file tree
Hide file tree
Showing 3 changed files with 2,571 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test/Makefile
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions test/test/meson.build
Expand Up @@ -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',
Expand Down Expand Up @@ -117,6 +118,7 @@ test_deps = ['acl',
'eventdev',
'flow_classify',
'hash',
'ipsec',
'lpm',
'member',
'metrics',
Expand Down Expand Up @@ -182,6 +184,7 @@ test_names = [
'hash_readwrite_autotest',
'hash_readwrite_lf_autotest',
'interrupt_autotest',
'ipsec_autotest',
'kni_autotest',
'kvargs_autotest',
'link_bonding_autotest',
Expand Down

0 comments on commit 05fe65e

Please sign in to comment.