Re: [dpdk-dev] [PATCH v2 3/5] net/mlx5: use buffer address for LKEY search

2017-07-03 Thread Nélio Laranjeiro
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

Re: [dpdk-dev] [PATCH 21/21 v5] doc: add NXP DPAA2 EVENTDEV details

2017-07-03 Thread Jerin Jacob
-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

Re: [dpdk-dev] [PATCH v2 5/5] event/sw: change worker rings to standard event rings

2017-07-03 Thread Jerin Jacob
-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

[dpdk-dev] [PATCH v3 33/34] maintainers: claim responsibility for the eventdev test app

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 34/34] doc: update release notes for dpdk-test-eventdev application

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 32/34] doc/testeventdev: add "perf all types queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 31/34] doc/testeventdev: add "perf queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 28/34] doc: describe the new eventdev test application

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 30/34] doc/testeventdev: add "order all types queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 29/34] doc/testeventdev: add "order queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 27/34] app/testeventdev: perf: add "all type queue" worker function

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 26/34] app/testeventdev: add perf "all types queue" test

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 24/34] app/testeventdev: add perf queue test

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 25/34] app/testeventdev: perf queue: add worker functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 23/34] app/testeventdev: perf: launch lcores

2017-07-03 Thread Jerin Jacob
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 +

[dpdk-dev] [PATCH v3 20/34] app/testeventdev: perf: add basic functions

2017-07-03 Thread Jerin Jacob
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(

[dpdk-dev] [PATCH v3 21/34] app/testeventdev: perf: add opt dump and check functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 19/34] app/testeventdev: perf: add test setup and destroy

2017-07-03 Thread Jerin Jacob
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 ++

[dpdk-dev] [PATCH v3 22/34] app/testeventdev: perf: add eventdev port setup

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 17/34] app/testeventdev: order queue: add worker functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 18/34] app/testeventdev: add order "all types queue" test

2017-07-03 Thread Jerin Jacob
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 -

[dpdk-dev] [PATCH v3 16/34] app/testeventdev: add order queue test

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 15/34] app/testeventdev: order: launch lcores

2017-07-03 Thread Jerin Jacob
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 ++

[dpdk-dev] [PATCH v3 14/34] app/testeventdev: order: add eventdev port setup

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 13/34] app/testeventdev: order: add basic functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 12/34] app/testeventdev: order: add test setup and destroy

2017-07-03 Thread Jerin Jacob
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 +++

[dpdk-dev] [PATCH v3 11/34] app/testeventdev: add the signal handler

2017-07-03 Thread Jerin Jacob
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_

[dpdk-dev] [PATCH v3 09/34] app/testeventdev: update options through the command line

2017-07-03 Thread Jerin Jacob
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 +++

[dpdk-dev] [PATCH v3 08/34] app/testeventdev: add helper functions to dump options

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 10/34] app/testeventdev: invoke the test ops

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 04/34] app/testeventdev: add string parsing helpers

2017-07-03 Thread Jerin Jacob
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/

[dpdk-dev] [PATCH v3 07/34] app/testeventdev: add helper functions to check options

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 06/34] app/testeventdev: define the test options

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 05/34] app/testeventdev: add common helper functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 02/34] app/testeventdev: define eventdev test ops

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 03/34] app/testeventdev: add eventdev test registration framework

2017-07-03 Thread Jerin Jacob
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 +

[dpdk-dev] [PATCH v3 00/34] introduce generic eventdev test application framework

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v3 01/34] app/testeventdev: introduce dpdk-test-eventdev application

2017-07-03 Thread Jerin Jacob
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

Re: [dpdk-dev] [PATCH 00/10] Infrastructure to detect iova mapping on the bus

2017-07-03 Thread santosh
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

Re: [dpdk-dev] [PATCH v5 2/7] bus: introduce parsing functionality

2017-07-03 Thread Gaëtan Rivet
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

Re: [dpdk-dev] [PATCH v5 1/7] bus: fix bus name registration

2017-07-03 Thread Gaëtan Rivet
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

[dpdk-dev] [PATCH v6 6/6] devargs: parse bus info

2017-07-03 Thread Gaetan Rivet
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_

[dpdk-dev] [PATCH v6 5/6] bus: add helper to find a bus from a device name

2017-07-03 Thread Gaetan Rivet
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

[dpdk-dev] [PATCH v6 4/6] pci: implement parse bus operation

2017-07-03 Thread Gaetan Rivet
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 +

[dpdk-dev] [PATCH v6 0/6] rte_bus parse API

2017-07-03 Thread Gaetan Rivet
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

[dpdk-dev] [PATCH v6 2/6] bus: introduce parsing functionality

2017-07-03 Thread Gaetan Rivet
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 ++

[dpdk-dev] [PATCH v6 3/6] vdev: implement parse bus operation

2017-07-03 Thread Gaetan Rivet
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

[dpdk-dev] [PATCH v6 1/6] bus: fix bus name registration

2017-07-03 Thread Gaetan Rivet
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

Re: [dpdk-dev] [PATCH v2 5/5] net/mlx5: add vectorized Rx/Tx burst for SSE4.1

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH v3 0/2] Various fixes for contigmem

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH] examples/ip_pipeline: use crc32 in hash functions for arm64

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH] examples/ip_pipeline: use crc32 in hash functions for arm64

2017-07-03 Thread Dumitrescu, Cristian
> -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

Re: [dpdk-dev] [PATCH v8 13/14] ethdev: Use embedded rte_device to detach driver

2017-07-03 Thread Thomas Monjalon
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]

Re: [dpdk-dev] [PATCH v8 00/14] bus attach/detach API and hotplug rework

2017-07-03 Thread Thomas Monjalon
> 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

Re: [dpdk-dev] [PATCH v6 08/11] vdev: use standard bus registration function

2017-07-03 Thread Thomas Monjalon
27/06/2017 18:11, Gaetan Rivet: > Signed-off-by: Gaetan Rivet Applied as a prerequisite for v8, thanks

Re: [dpdk-dev] [PATCH v2 1/6] eal: change rte pause as architecture specific function

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH v3 2/2] examples/performance-thread: add arm64 support

2017-07-03 Thread O'Driscoll, Tim
> 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

Re: [dpdk-dev] [PATCH v2] mk: allow exec-env specific targets

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH] examples/ip_pipeline: use crc32 in hash functions for arm64

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH v5 3/4] net: add arm64 neon version of CRC compute APIs

2017-07-03 Thread Thomas Monjalon
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; > + } > + //

Re: [dpdk-dev] [PATCH v4 0/8] accelerate examples/l3fwd with NEON on ARM64 platform

2017-07-03 Thread Thomas Monjalon
> 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_

Re: [dpdk-dev] [PATCH v3 2/2] examples/performance-thread: add arm64 support

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH v2 3/5] net/mlx5: use buffer address for LKEY search

2017-07-03 Thread Yongseok Koh
> 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

Re: [dpdk-dev] [PATCH v5 2/4] eal: move gcc version definition to common header

2017-07-03 Thread Thomas Monjalon
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

Re: [dpdk-dev] [PATCH v3 0/6] Add clang compilation support for armv8a linuxapp

2017-07-03 Thread Thomas Monjalon
> > 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

Re: [dpdk-dev] [PATCH v2 0/2] AES-NI MB PMD: support Multi-buffer library 0.46

2017-07-03 Thread De Lara Guarch, Pablo
> -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

[dpdk-dev] [PATCH v2 34/34] doc: update release notes for dpdk-test-eventdev application

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 33/34] maintainers: claim responsibility for the eventdev test app

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 31/34] doc/testeventdev: add "perf queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 32/34] doc/testeventdev: add "perf all types queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 30/34] doc/testeventdev: add "order all types queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 29/34] doc/testeventdev: add "order queue" test details

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 27/34] app/testeventdev: perf: add "all type queue" worker function

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 26/34] app/testeventdev: add perf "all types queue" test

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 28/34] doc: describe the new eventdev test application

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 24/34] app/testeventdev: add perf queue test

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 25/34] app/testeventdev: perf queue: add worker functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 23/34] app/testeventdev: perf: launch lcores

2017-07-03 Thread Jerin Jacob
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 +

[dpdk-dev] [PATCH v2 22/34] app/testeventdev: perf: add eventdev port setup

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 21/34] app/testeventdev: perf: add opt dump and check functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 20/34] app/testeventdev: perf: add basic functions

2017-07-03 Thread Jerin Jacob
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(

[dpdk-dev] [PATCH v2 19/34] app/testeventdev: perf: add test setup and destroy

2017-07-03 Thread Jerin Jacob
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 ++

[dpdk-dev] [PATCH v2 17/34] app/testeventdev: order queue: add worker functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 18/34] app/testeventdev: add order "all types queue" test

2017-07-03 Thread Jerin Jacob
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 -

[dpdk-dev] [PATCH v2 16/34] app/testeventdev: add order queue test

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 14/34] app/testeventdev: order: add eventdev port setup

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 13/34] app/testeventdev: order: add basic functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 15/34] app/testeventdev: order: launch lcores

2017-07-03 Thread Jerin Jacob
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 ++

[dpdk-dev] [PATCH v2 12/34] app/testeventdev: order: add test setup and destroy

2017-07-03 Thread Jerin Jacob
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 +++

[dpdk-dev] [PATCH v2 11/34] app/testeventdev: add the signal handler

2017-07-03 Thread Jerin Jacob
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_

[dpdk-dev] [PATCH v2 10/34] app/testeventdev: invoke the test ops

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 08/34] app/testeventdev: add helper functions to dump options

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 09/34] app/testeventdev: update options through the command line

2017-07-03 Thread Jerin Jacob
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 +++

[dpdk-dev] [PATCH v2 06/34] app/testeventdev: define the test options

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 07/34] app/testeventdev: add helper functions to check options

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 05/34] app/testeventdev: add common helper functions

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 04/34] app/testeventdev: add string parsing helpers

2017-07-03 Thread Jerin Jacob
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/

[dpdk-dev] [PATCH v2 01/34] app/testeventdev: introduce dpdk-test-eventdev application

2017-07-03 Thread Jerin Jacob
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

[dpdk-dev] [PATCH v2 03/34] app/testeventdev: add eventdev test registration framework

2017-07-03 Thread Jerin Jacob
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 +

[dpdk-dev] [PATCH v2 02/34] app/testeventdev: define eventdev test ops

2017-07-03 Thread Jerin Jacob
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   2   >