[dpdk-dev] [PATCH v2] app: test: measure libipsec performance
David Marchand
david.marchand at redhat.com
Mon Mar 2 13:51:29 CET 2020
On Mon, Mar 2, 2020 at 12:43 PM Savinay Dharmappa
<savinay.dharmappa at intel.com> wrote:
>
> test app to measures the performance of libipsec
> api rte_ipsec_pkt_crypto and rte_ipsec_pkt_process.
>
> Signed-off-by: Savinay Dharmappa <savinay.dharmappa at intel.com>
Missing MAINTAINERS update.
> ---
> app/test/Makefile | 2 +-
> app/test/meson.build | 2 +
> app/test/test_ipsec_perf.c | 637 +++++++++++++++++++++++++++++++++++++
> 3 files changed, 640 insertions(+), 1 deletion(-)
> create mode 100644 app/test/test_ipsec_perf.c
>
> diff --git a/app/test/Makefile b/app/test/Makefile
> index 1f080d162..83cf4c09d 100644
> --- a/app/test/Makefile
> +++ b/app/test/Makefile
> @@ -231,7 +231,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_BPF) += test_bpf.c
>
> SRCS-$(CONFIG_RTE_LIBRTE_RCU) += test_rcu_qsbr.c test_rcu_qsbr_perf.c
>
> -SRCS-$(CONFIG_RTE_LIBRTE_IPSEC) += test_ipsec.c
> +SRCS-$(CONFIG_RTE_LIBRTE_IPSEC) += test_ipsec.c test_ipsec_perf.c
> SRCS-$(CONFIG_RTE_LIBRTE_IPSEC) += test_ipsec_sad.c
> ifeq ($(CONFIG_RTE_LIBRTE_IPSEC),y)
> LDLIBS += -lrte_ipsec
> diff --git a/app/test/meson.build b/app/test/meson.build
> index 0a2ce710f..7a2ec1331 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -60,6 +60,7 @@ test_sources = files('commands.c',
> 'test_interrupts.c',
> 'test_ipsec.c',
> 'test_ipsec_sad.c',
> + 'test_ipsec_perf.c',
> 'test_kni.c',
> 'test_kvargs.c',
> 'test_link_bonding.c',
> @@ -225,6 +226,7 @@ fast_test_names = [
> 'fbarray_autotest',
> 'hash_readwrite_func_autotest',
> 'ipsec_autotest',
> + 'ipsec_perf_autotest',
> 'kni_autotest',
> 'kvargs_autotest',
> 'member_autotest',
This test ends with a timeout in Travis.
Perf tests should be in the appropriate list.
https://travis-ci.com/ovsrobot/dpdk/jobs/292924971
--
David Marchand
More information about the dev
mailing list