On Mon, Jul 03, 2017 at 08:54:43PM +, Yongseok Koh wrote:
>
> > On Jul 3, 2017, at 7:06 AM, Nélio Laranjeiro
> > wrote:
> >
> > On Fri, Jun 30, 2017 at 12:23:31PM -0700, Yongseok Koh wrote:
> >> When searching LKEY, if search key is mempool pointer, the 2nd cacheline
> >> has to be accessed
-Original Message-
> Date: Fri, 30 Jun 2017 14:24:35 +0530
> From: Nipun Gupta
> To: dev@dpdk.org
> CC: hemant.agra...@nxp.com, jerin.ja...@caviumnetworks.com,
> harry.van.haa...@intel.com, bruce.richard...@intel.com,
> gage.e...@intel.com, shreyansh.j...@nxp.com, Nipun Gupta
>
> Subje
-Original Message-
> Date: Mon, 3 Jul 2017 13:01:47 +
> From: "Van Haaren, Harry"
> To: Jerin Jacob
> CC: "olivier.m...@6wind.com" , "Richardson, Bruce"
> , "dev@dpdk.org"
> Subject: RE: [dpdk-dev] [PATCH v2 5/5] event/sw: change worker rings to
> standard event rings
>
> > ri
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d9dbf8f8f..9b43589cf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -795,6 +795,12 @@ M: Reshma Pattan
F: app/proc_info/
F: doc/guides
Signed-off-by: Jerin Jacob
---
doc/guides/rel_notes/release_17_08.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_17_08.rst
b/doc/guides/rel_notes/release_17_08.rst
index 842f46f75..129762dde 100644
--- a/doc/guides/rel_notes/release_17_08.rst
+++ b/do
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_perf_atq_test.svg | 3188 +++
doc/guides/tools/testeventdev.rst | 76 +
2 files changed, 3264 insertions(+)
create mod
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: John McNamara
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_perf_queue_test.svg | 2599 +
doc/guides/tools/testeventdev.rst | 87 +
2 files changed, 268
From: Guduri Prathyusha
Add documentation to describe usage of eventdev test application and
supported command line arguments.
CC: John McNamara
Signed-off-by: Guduri Prathyusha
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
Acked-by: John McNamara
---
doc/guides/tools/index.rst
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: John McNamara
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_order_atq_test.svg | 1576 ++
doc/guides/tools/testeventdev.rst| 62 +
2 files changed, 1638
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: John McNamara
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_order_queue_test.svg | 1673
doc/guides/tools/testeventdev.rst | 84 +
2 files changed, 17
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_atq.c | 140 ++
1 file changed, 140 insertions(+)
diff --git a/app/test-eventdev/test_perf_atq.c
b/app/test-eventdev/test_perf_atq.c
index 1beb7042c..f2f57727f 100644
--- a
This is a performance test case that aims at testing the following:
1. Measure the number of events can be processed in a second.
2. Measure the latency to forward an event.
The atq queue test functions as same as "perf_queue" test.
The difference is, it uses, "all type queue" scheme instead of se
This is a performance test case that aims at testing the following:
1. Measure the number of events can be processed in a second.
2. Measure the latency to forward an event.
The perf queue test configures the eventdev with Q queues and P ports,
where Q is nb_producers * nb_stages and P is nb_worke
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.h | 60
app/test-eventdev/test_perf_queue.c | 136 +++
2 files changed, 196 insertions(+)
diff --git a/app/test-eventdev/test_perf_common.h
b/app/test
The event producer and master lcore's test termination and
the logic to print the mpps and latency are common for the
queue and all types queue test.
Move them as the common function.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 199 +
add functions to create mempool, destroy mempool and print the test result.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 53
app/test-eventdev/test_perf_common.h | 8 ++
2 files changed, 61 insertions(
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 109 +++
app/test-eventdev/test_perf_common.h | 9 +++
2 files changed, 118 insertions(+)
diff --git a/app/test-eventdev/test_perf_common.c
b/app/test-eventdev/tes
perf test has the queue and all types queue variants.
Introduce test_perf_common* to share the common code between those tests.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile | 2 +
app/test-eventdev/test_perf_common.c | 71 ++
Setup one port per worker and link to all queues and setup
N producer ports to inject the events.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 65
app/test-eventdev/test_perf_common.h | 2 ++
2 files chang
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.h | 47
app/test-eventdev/test_order_queue.c | 100 ++
2 files changed, 147 insertions(+)
diff --git a/app/test-eventdev/test_order_common.h
b/app/te
This test verifies the same aspects of order_queue test,
The difference is the number of queues used, this test
operates on a single "all types queue"(atq) instead of two
different queues for ordered and atomic.
Example command to run order all types queue test:
sudo build/app/dpdk-test-eventdev -
The order queue test configures the eventdev with two queues
and an event producer to inject the events to q0(ordered) queue.
Both q0(ordered) and q1(atomic) are linked to all the workers.
The event producer maintains a sequence number per flow and
injects the events to the ordered queue.
The wor
The event producer and master lcore's test end and
failure detection logic are common for the queue and
all types queue test.Move them as the common function.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.c | 116 ++
Setup one port per worker and link to all queues and setup
one producer port to inject the events.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.c | 55 +++
app/test-eventdev/test_order_common.h | 2 ++
2 files cha
add functions to create mempool, destroy mempool,
dump the options, check the options and print the test result.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.c | 117 ++
app/test-eventdev/test_order_common.h | 12
order test has the queue and all types queue variants.Introduce
test_order_common* to share the common code between those tests.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile| 2 +
app/test-eventdev/test_order_common.c | 92 +++
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_main.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/app/test-eventdev/evt_main.c b/app/test-eventdev/evt_main.c
index 27d0ae683..56cd137ce 100644
--- a/app/test-eventdev/evt_
From: Guduri Prathyusha
Add an infrastructure for updating the options through
application specific command line arguments.
Signed-off-by: Guduri Prathyusha
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_options.c | 260 +++
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_options.c | 23 +++
app/test-eventdev/evt_options.h | 91 +
2 files changed, 114 insertions(+)
diff --git a/app/test-eventdev/evt_opt
This patch retrieves the test ops from the given test case name and
invokes the registered test ops callbacks in order and
print the test result.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_main.c | 136 +++
1 file chan
From: Guduri Prathyusha
Add a couple of help functions that will allow parsing many types of
input parameters, i.e.: bool, 16, 32, 64 bits, hex and list of cores etc.
Derived from examples/ip_pipeline/parser.h
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_options.h | 102
1 file changed, 102 insertions(+)
diff --git a/app/test-eventdev/evt_options.h b/app/test-eventdev/evt_options.h
index a8ec
Define the test options that used across all test cases and
fill the default values for the same.
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile | 1 +
app/test-eventdev/evt_options.c | 58
adding common helper functions that used in test framework and
in all the test cases.
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_common.h | 116 +
1 file changed, 116 insertions(+)
cr
In order to extend the test framework to realize different use cases,
The ops with function pointer callback scheme has been chosen.
This patch defines the callbacks for each test case.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_test.h | 97
adding routines to register and retrieve eventdev test cases.
The RTE_INIT based constructor approach has been taken to simplify the test
case registration.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile | 1 +
app/test-eventdev/evt_test.c | 70 +
The dpdk-test-eventdev tool is a Data Plane Development Kit (DPDK)
application that allows exercising various eventdev use cases. This
application has a generic framework to add new eventdev based test cases
to verify functionality and measure the performance parameters of DPDK
eventdev devices.
T
The dpdk-test-eventdev tool is a Data Plane Development Kit (DPDK)
application that allows exercising various eventdev use cases. This
application has a generic framework to add new eventdev based test cases
to verify functionality and measure the performance parameters of DPDK
eventdev devices.
T
Hi,
On Thursday 08 June 2017 04:35 PM, Santosh Shukla wrote:
> Q) Why do we need such infrastructure?
>
> A) Some NPU hardware like OCTEONTX follows push model to get the packet
> from the pktio device. Where packet allocation and freeing done
> by the HW. Since HW can operate only on IOVA with h
On Tue, Jun 27, 2017 at 09:26:20PM +0200, Jan Blunck wrote:
> On Wed, Jun 21, 2017 at 1:30 AM, Gaetan Rivet wrote:
> > This operation can be used either to validate that a device
> > representation can be understood by a bus, as well as store the resulting
> > specialized device representation in
On Tue, Jun 27, 2017 at 09:19:14PM +0200, Jan Blunck wrote:
> On Wed, Jun 21, 2017 at 1:30 AM, Gaetan Rivet wrote:
> > The default bus registration function should not result in buses
> > registering with double quotes within their names.
> >
>
> This is breaking expectations with users. All othe
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_devargs.c | 42 -
lib/librte_eal/common/eal_common_vdev.c | 6 +++--
lib/librte_eal/common/include/rte_devargs.h | 3 +++
3 files changed, 42 insertions(+), 9 deletions(-)
diff --git a/lib/librte_
Find which bus should be able to parse this device name into an internal
device representation.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_bus.c | 15 +++
lib/librte_eal/common/eal_private.h| 12
2 files changed, 27 insertions(+)
diff --git a/l
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_pci.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/lib/librte_eal/common/eal_common_pci.c
b/lib/librte_eal/common/eal_common_pci.c
index 5ee100e..9549e92 100644
--- a/lib/librte_eal/common/eal_common_pci.c
+
Following the evolutions announced in [1], here is the first part of
the rte_devargs rework planned for 17.08. The rationale has been partially
explained in [2].
This first part covers the introduction of the necessary facilities in
rte_bus to allow for generic device parsing. This API is implemen
This operation can be used either to validate that a device
representation can be understood by a bus, as well as store the resulting
specialized device representation in any format determined by the bus.
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_bus.h | 21 ++
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/eal_common_vdev.c | 58 -
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_vdev.c
b/lib/librte_eal/common/eal_common_vdev.c
index baf3c5b..75a7b93 100644
--- a/li
The default bus registration function should not result in buses
registering with double quotes within their names.
Fixes: a97725791eec ("bus: introduce bus abstraction")
Cc: sta...@dpdk.org
Signed-off-by: Gaetan Rivet
---
lib/librte_eal/common/include/rte_bus.h | 2 +-
1 file changed, 1 insert
30/06/2017 21:23, Yongseok Koh:
> --- a/drivers/net/mlx5/Makefile
> +++ b/drivers/net/mlx5/Makefile
> @@ -39,6 +39,11 @@ SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5.c
> SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_rxq.c
> SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_txq.c
> SRCS-$(CONFIG_RTE_LIBRTE_M
04/06/2017 07:53, Tiwei Bie:
> The vm_page_replace_checked() was introduced in FreeBSD 11, so the
> build is broken on FreeBSD 10. The fix is to use vm_page_replace()
> directly and do the check in caller.
>
> ---
>
> v2: destroy the initialized mtx before failing or unloading
> v3: fix build on
04/07/2017 01:19, Dumitrescu, Cristian:
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > 18/05/2017 11:09, Jianbo Liu:
> > > Implement the same hash functions with crc32 on arm platform.
> > >
> > > Signed-off-by: Jianbo Liu
> > > ---
> > > examples/ip_pipeline/pipeline/hash_func.h
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Monday, July 3, 2017 10:12 PM
> To: Jianbo Liu ; Dumitrescu, Cristian
>
> Cc: dev@dpdk.org; jerin.ja...@caviumnetworks.com;
> ashwin.sek...@caviumnetworks.com
> Subject: Re: [dpdk-dev] [PATCH] examples/ip_p
30/06/2017 20:19, Jan Blunck:
> --- a/lib/librte_ether/rte_ethdev.c
> +++ b/lib/librte_ether/rte_ethdev.c
> @@ -439,7 +439,8 @@ rte_eth_dev_detach(uint8_t port_id, char *name)
>
> snprintf(name, sizeof(rte_eth_devices[port_id].data->name),
> "%s", rte_eth_devices[port_id]
> Gaetan Rivet (1):
> pci: implement hotplug bus operation
>
> Jan Blunck (13):
> bus: add bus iterator to find a bus
> bus: add find_device bus operation
> vdev: implement find_device bus operation
> pci: implement find_device bus operation
> bus/fslmc: implement find_device bus opera
27/06/2017 18:11, Gaetan Rivet:
> Signed-off-by: Gaetan Rivet
Applied as a prerequisite for v8, thanks
05/06/2017 10:58, Jerin Jacob:
> Each architecture may have different instructions for optimized
> and power consumption aware rte_pause() implementation.
>
> Signed-off-by: Jerin Jacob
Series applied, thanks
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
>
> There can be a licensing issue here.
> We may need advice from the Governing Board and the Technical Board.
That's correct. This uses a 2-clause BSD license, but the Intellectual Property
Policy section in the Project Cha
06/06/2017 14:58, Jerin Jacob:
> Add a hook in generic rte.sdkbuild.mk file
> to include exec-env specific targets.
>
> Signed-off-by: Jerin Jacob
Applied, thanks
18/05/2017 11:09, Jianbo Liu:
> Implement the same hash functions with crc32 on arm platform.
>
> Signed-off-by: Jianbo Liu
> ---
> examples/ip_pipeline/pipeline/hash_func.h | 2 +
> examples/ip_pipeline/pipeline/hash_func_arm64.h | 245
>
> 2 files changed, 247
12/05/2017 12:15, Ashwin Sekhar T K:
> +#elif defined(ARM64_NEON_PMULL)
> + case RTE_NET_CRC_NEON:
> + if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_PMULL)) {
> + handlers = handlers_neon;
> + break;
> + }
> + //
> Jianbo Liu (8):
> examples/l3fwd: extract arch independent code from multi hash lookup
> examples/l3fwd: rename l3fwd_em_sse.h to l3fwd_em_sequential.h
> examples/l3fwd: extract common code from multi packet send
> examples/l3fwd: rearrange the code for lpm_l3fwd
> arch/arm: add vcopyq_
There can be a licensing issue here.
We may need advice from the Governing Board and the Technical Board.
18/05/2017 12:21, Ashwin Sekhar T K:
> +/*
> + * https://github.com/halayli/lthread which carries the following license.
> + *
> + * Copyright (C) 2012, Hasan Alayli
> + *
> + * Redistributio
> On Jul 3, 2017, at 7:06 AM, Nélio Laranjeiro
> wrote:
>
> On Fri, Jun 30, 2017 at 12:23:31PM -0700, Yongseok Koh wrote:
>> When searching LKEY, if search key is mempool pointer, the 2nd cacheline
>> has to be accessed and it even requires to check whether a buffer is
>> indirect per every sea
12/05/2017 12:15, Ashwin Sekhar T K:
> Moved the definition of GCC_VERSION from lib/librte_table/rte_lru.h
> to lib/librte_eal/common/include/rte_common.h.
>
> Tested compilation on:
> * arm64 with gcc
> * x86 with gcc and clang
>
> Signed-off-by: Ashwin Sekhar T K
> Reviewed-by: Jan Viktorin
> > Ashwin Sekhar T K (6):
> > eal: pause while busy-waiting for slave
> > hash: compile armv8a CRC32 support conditionally
> > net/thunderx: fix compile errors for armv8a clang
> > acl: fix warning seen with armv8a clang
> > eal/arm: fix warnings seen with armv8a clang
> > config: add
> -Original Message-
> From: De Lara Guarch, Pablo
> Sent: Sunday, July 2, 2017 3:55 AM
> To: Doherty, Declan
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
>
> Subject: [PATCH v2 0/2] AES-NI MB PMD: support Multi-buffer library 0.46
>
> Intel IPSec Multi-buffer library v0.46 has been relea
Signed-off-by: Jerin Jacob
---
doc/guides/rel_notes/release_17_08.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_17_08.rst
b/doc/guides/rel_notes/release_17_08.rst
index 842f46f75..129762dde 100644
--- a/doc/guides/rel_notes/release_17_08.rst
+++ b/do
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d9dbf8f8f..9b43589cf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -795,6 +795,12 @@ M: Reshma Pattan
F: app/proc_info/
F: doc/guides
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: John McNamara
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_perf_queue_test.svg | 2599 +
doc/guides/tools/testeventdev.rst | 87 +
2 files changed, 268
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_perf_atq_test.svg | 3188 +++
doc/guides/tools/testeventdev.rst | 76 +
2 files changed, 3264 insertions(+)
create mod
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: John McNamara
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_order_atq_test.svg | 1576 ++
doc/guides/tools/testeventdev.rst| 62 +
2 files changed, 1638
CC: John McNamara
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: John McNamara
Acked-by: Harry van Haaren
---
doc/guides/tools/img/eventdev_order_queue_test.svg | 1673
doc/guides/tools/testeventdev.rst | 84 +
2 files changed, 17
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_atq.c | 140 ++
1 file changed, 140 insertions(+)
diff --git a/app/test-eventdev/test_perf_atq.c
b/app/test-eventdev/test_perf_atq.c
index 1beb7042c..f2f57727f 100644
--- a
This is a performance test case that aims at testing the following:
1. Measure the number of events can be processed in a second.
2. Measure the latency to forward an event.
The atq queue test functions as same as "perf_queue" test.
The difference is, it uses, "all type queue" scheme instead of se
From: Guduri Prathyusha
Add documentation to describe usage of eventdev test application and
supported command line arguments.
CC: John McNamara
Signed-off-by: Guduri Prathyusha
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
Acked-by: John McNamara
---
doc/guides/tools/index.rst
This is a performance test case that aims at testing the following:
1. Measure the number of events can be processed in a second.
2. Measure the latency to forward an event.
The perf queue test configures the eventdev with Q queues and P ports,
where Q is nb_producers * nb_stages and P is nb_worke
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.h | 60
app/test-eventdev/test_perf_queue.c | 136 +++
2 files changed, 196 insertions(+)
diff --git a/app/test-eventdev/test_perf_common.h
b/app/test
The event producer and master lcore's test termination and
the logic to print the mpps and latency are common for the
queue and all types queue test.
Move them as the common function.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 199 +
Setup one port per worker and link to all queues and setup
N producer ports to inject the events.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 65
app/test-eventdev/test_perf_common.h | 2 ++
2 files chang
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 109 +++
app/test-eventdev/test_perf_common.h | 9 +++
2 files changed, 118 insertions(+)
diff --git a/app/test-eventdev/test_perf_common.c
b/app/test-eventdev/tes
add functions to create mempool, destroy mempool and print the test result.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_perf_common.c | 53
app/test-eventdev/test_perf_common.h | 8 ++
2 files changed, 61 insertions(
perf test has the queue and all types queue variants.
Introduce test_perf_common* to share the common code between those tests.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile | 2 +
app/test-eventdev/test_perf_common.c | 71 ++
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.h | 47
app/test-eventdev/test_order_queue.c | 100 ++
2 files changed, 147 insertions(+)
diff --git a/app/test-eventdev/test_order_common.h
b/app/te
This test verifies the same aspects of order_queue test,
The difference is the number of queues used, this test
operates on a single "all types queue"(atq) instead of two
different queues for ordered and atomic.
Example command to run order all types queue test:
sudo build/app/dpdk-test-eventdev -
The order queue test configures the eventdev with two queues
and an event producer to inject the events to q0(ordered) queue.
Both q0(ordered) and q1(atomic) are linked to all the workers.
The event producer maintains a sequence number per flow and
injects the events to the ordered queue.
The wor
Setup one port per worker and link to all queues and setup
one producer port to inject the events.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.c | 55 +++
app/test-eventdev/test_order_common.h | 2 ++
2 files cha
add functions to create mempool, destroy mempool,
dump the options, check the options and print the test result.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.c | 117 ++
app/test-eventdev/test_order_common.h | 12
The event producer and master lcore's test end and
failure detection logic are common for the queue and
all types queue test.Move them as the common function.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/test_order_common.c | 116 ++
order test has the queue and all types queue variants.Introduce
test_order_common* to share the common code between those tests.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile| 2 +
app/test-eventdev/test_order_common.c | 92 +++
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_main.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/app/test-eventdev/evt_main.c b/app/test-eventdev/evt_main.c
index 27d0ae683..56cd137ce 100644
--- a/app/test-eventdev/evt_
This patch retrieves the test ops from the given test case name and
invokes the registered test ops callbacks in order and
print the test result.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_main.c | 136 +++
1 file chan
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_options.c | 23 +++
app/test-eventdev/evt_options.h | 91 +
2 files changed, 114 insertions(+)
diff --git a/app/test-eventdev/evt_opt
From: Guduri Prathyusha
Add an infrastructure for updating the options through
application specific command line arguments.
Signed-off-by: Guduri Prathyusha
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_options.c | 260 +++
Define the test options that used across all test cases and
fill the default values for the same.
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile | 1 +
app/test-eventdev/evt_options.c | 58
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_options.h | 102
1 file changed, 102 insertions(+)
diff --git a/app/test-eventdev/evt_options.h b/app/test-eventdev/evt_options.h
index a8ec
adding common helper functions that used in test framework and
in all the test cases.
Signed-off-by: Jerin Jacob
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_common.h | 116 +
1 file changed, 116 insertions(+)
cr
From: Guduri Prathyusha
Add a couple of help functions that will allow parsing many types of
input parameters, i.e.: bool, 16, 32, 64 bits, hex and list of cores etc.
Derived from examples/ip_pipeline/parser.h
Signed-off-by: Guduri Prathyusha
Acked-by: Harry van Haaren
---
app/test-eventdev/
The dpdk-test-eventdev tool is a Data Plane Development Kit (DPDK)
application that allows exercising various eventdev use cases. This
application has a generic framework to add new eventdev based test cases
to verify functionality and measure the performance parameters of DPDK
eventdev devices.
T
adding routines to register and retrieve eventdev test cases.
The RTE_INIT based constructor approach has been taken to simplify the test
case registration.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/Makefile | 1 +
app/test-eventdev/evt_test.c | 70 +
In order to extend the test framework to realize different use cases,
The ops with function pointer callback scheme has been chosen.
This patch defines the callbacks for each test case.
Signed-off-by: Jerin Jacob
Acked-by: Harry van Haaren
---
app/test-eventdev/evt_test.h | 97
1 - 100 of 178 matches
Mail list logo