Re: [dpdk-dev] [dpdk-stable] 18.02.2 patches review and test

2018-06-08 Thread Luca Boccassi
On Thu, 2018-06-07 at 23:10 +, Raslan Darawsheh wrote: > Hi, > We've tested this version and we don't see any new issues. > > Kindest regards, > Raslan Darawsheh Great, thanks for the help! > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Luca Boccassi > Se

Re: [dpdk-dev] [PATCH 1/4] mbuf: add accessor function for private data area

2018-06-08 Thread Burakov, Anatoly
On 08-Jun-18 12:54 AM, Dan Gora wrote: Add an inline accessor function to return the starting address of the private data area in the supplied mbuf. If the user did not allocate space for a private data area in the mbuf's memory pool, then return NULL. This allows applications to easily access

Re: [dpdk-dev] [PATCH] doc: fix octeontx selftest vdev argument

2018-06-08 Thread Pavan Nikhilesh
On Fri, Jun 08, 2018 at 09:02:27AM +0530, Jerin Jacob wrote: > Fixes: 3516327e00fd ("event/octeontx: add selftest to device arguments") > > Cc: pbhagavat...@caviumnetworks.com > Cc: sta...@dpdk.org > > Signed-off-by: Jerin Jacob Acked-by: Pavan Nikhilesh > --- > doc/guides/eventdevs/octeontx.r

[dpdk-dev] [PATCH 0/3] bpf: extend validation of input BPF programs

2018-06-08 Thread Konstantin Ananyev
As first step extend struct rte_bpf_xsym with new fields to provide extra information for allowed external varaibles and helper functions. That allows to extend bpf validation with new checks for: - use/return uninitialized registers and/or stack data - possible memory access boundaries violation

[dpdk-dev] [PATCH 1/3] bpf: add extra information for external symbol definitions

2018-06-08 Thread Konstantin Ananyev
Extend struct rte_bpf_xsym with new fields to provide information about: - for variables - type and size - for functions - number of arguments and type/size of each argument and return value Such information would allow validate code to perform more extensive checking on input BPF program and

[dpdk-dev] [PATCH 2/3] bpf: add extra validation for input BPF program

2018-06-08 Thread Konstantin Ananyev
Add checks for: - use/return uninitialized registers and/or stack data - possible memory access boundaries violation - invalid arguments for the function Signed-off-by: Konstantin Ananyev --- lib/librte_bpf/bpf_validate.c | 1136 +++-- 1 file changed, 1100

[dpdk-dev] [PATCH 3/3] test/bpf: add new test-case for external function call

2018-06-08 Thread Konstantin Ananyev
Signed-off-by: Konstantin Ananyev --- test/test/test_bpf.c | 150 +++ 1 file changed, 150 insertions(+) diff --git a/test/test/test_bpf.c b/test/test/test_bpf.c index 1e9caef95..fa17c4f74 100644 --- a/test/test/test_bpf.c +++ b/test/test/test_bpf.c

[dpdk-dev] [PATCH 1/2] eal/thread: fix return codes for rte_thread_setname()

2018-06-08 Thread Dariusz Stojaczyk
The doc says this function returns negative errno on error, but it currently returns either -1 or positive errno. It was incorrectly assumed that pthread_setname_np() returns negative error numbers. It always returns positive ones, so this patch negates its return value before returning. While he

[dpdk-dev] [PATCH 2/2] eal/thread: fix return codes for rte_ctrl_thread_create()

2018-06-08 Thread Dariusz Stojaczyk
This function returned positive error numbers instead of negative ones as desbribed in the doc. What's worse, multiple of its callers only check for (rc < 0) to detect failure. It was incorrectly assumed that pthread_create and pthread_setaffinity_np return negative errnos. They always returns pos

Re: [dpdk-dev] [PATCH 1/2] eal/thread: fix return codes for rte_thread_setname()

2018-06-08 Thread Stojaczyk, DariuszX
+CC tho...@monjalon.net The previous @6wind email appears to be unavailable now. > -Original Message- > From: Stojaczyk, DariuszX > Sent: Friday, June 8, 2018 2:37 PM > To: dev@dpdk.org > Cc: Stojaczyk, DariuszX ; > thomas.monja...@6wind.com; sta...@dpdk.org > Subject: [PATCH 1/2] eal/thr

Re: [dpdk-dev] [PATCH 1/4] mbuf: add accessor function for private data area

2018-06-08 Thread Andrew Rybchenko
On 06/08/2018 02:54 AM, Dan Gora wrote: Add an inline accessor function to return the starting address of the private data area in the supplied mbuf. If the user did not allocate space for a private data area in the mbuf's memory pool, then return NULL. This allows applications to easily access

[dpdk-dev] [PATCH v1] crypto/aesni_mb: support 3DES

2018-06-08 Thread Kovacevic, Marko
From: Marko Kovacevic Added support for 3DES cipher algorithm which will support 8, 16 and 24 byte keys, which also has been added in the v0.50 of the IPSec Multi-buffer lib. Signed-off-by: Marko Kovacevic --- doc/guides/cryptodevs/aesni_mb.rst | 1 + doc/guides/cryptodevs/fea

Re: [dpdk-dev] [RFC] testpmd: use RFC2544 reserved IP addresses

2018-06-08 Thread Iremonger, Bernard
Hi Stephen, > > > Subject: [dpdk-dev] [RFC] testpmd: use RFC2544 reserved IP addresses > > > > > > Change the transmit only side of testpmd to use the IP addresses > > > that are marked as reserved for benchmarking by RFC2544 > > > 192.18.0.0/27; rather than > > > > RFC2544 seems to use 198.18.0

Re: [dpdk-dev] 18.02.2 patches review and test

2018-06-08 Thread Luca Boccassi
On Mon, 2018-06-04 at 09:58 +0100, Luca Boccassi wrote: > Hi all, > > Here is a list of patches targeted for stable release 18.02.2. Please > help review and test. The planned date for the final release is > Thursday, > the 14th of June. Before that, please shout if anyone has objections > with th

Re: [dpdk-dev] 16.11.7 (LTS) patches review and test

2018-06-08 Thread Luca Boccassi
On Thu, 2018-05-31 at 11:25 +0100, Luca Boccassi wrote: > Hi all, > > Here is a list of patches targeted for LTS release 16.11.7. Please > help review and test. The planned date for the final release is > Monday, > June the 11th. > Before that, please shout if anyone has objections with these > pa

Re: [dpdk-dev] [PATCH] mbuf: remove experimental tag from pool ops functions

2018-06-08 Thread Andrew Rybchenko
On 06/05/2018 09:24 AM, Hemant Agrawal wrote: Signed-off-by: Hemant Agrawal Acked-by: Andrew Rybchenko

[dpdk-dev] [PATCH] vhost: refine the vhost_new_device

2018-06-08 Thread xiangxia . m . yue
From: Tonghao Zhang Make sure find avalid device id before allocating virtio_net, if not, return directly. It may avoid allocating and freeing virtio_net when there is not valid device id. Signed-off-by: Tonghao Zhang --- lib/librte_vhost/vhost.c | 16 1 file changed, 8 insert

[dpdk-dev] [PATCH v2] vfio: remove experimental tag from vfio APIs

2018-06-08 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v2: remove duplicate entry from map file lib/librte_eal/bsdapp/eal/eal.c | 22 +- lib/librte_eal/common/include/rte_vfio.h | 40 +--- lib/librte_eal/linuxapp/eal/eal_vfio.c | 36 ++--

[dpdk-dev] [PATCH v1 1/2] lib/librte_power: traffic pattern aware power control

2018-06-08 Thread Liang Ma
1. Abstract For packet processing workloads such as DPDK polling is continuous. This means CPU cores always show 100% busy independent of how much work those cores are doing. It is critical to accurately determine how busy a core is hugely important for the following reasons: * No indication o

[dpdk-dev] [PATCH v1 2/2] examples/l3fwd-power: simple app update to support new API

2018-06-08 Thread Liang Ma
Add the support for new traffic pattern aware power control power management API. Example: ./l3fwd-power -l xxx -n 4 -w :xx:00.0 -w :xx:00.1 -- -p 0x3 -P --config="(0,0,xx),(1,0,xx)" --empty-poll Signed-off-by: Liang Ma --- examples/l3fwd-power/main.c | 229 +

[dpdk-dev] [PATCH] devtools/test-meson-build: fix CC override for cross builds

2018-06-08 Thread Bruce Richardson
For cross-builds the CC environmental variable only applies for compiling native binaries i.e. pmdinfogen, so setting it to a cross-build compiler will only cause problems. Leave the value unset in the script to use the platform-default compiler. Fixes: a55277a788df ("devtools: add test script for

[dpdk-dev] [PATCH 2/7] vhost: make gpa to hpa failure an error

2018-06-08 Thread Maxime Coquelin
CVE-2018-1059 fix makes sure gpa contiguous memory is also contiguous in hva space. Incidentally, it also makes sure it is contiguous in hpa space. So we can simplify the code by making gpa contiguous memory discontiguous in hpa space an error. Signed-off-by: Maxime Coquelin --- lib/librte_vhos

[dpdk-dev] [PATCH 3/7] vhost: use buffer vectors in dequeue path

2018-06-08 Thread Maxime Coquelin
To ease packed ring layout integration, this patch makes the dequeue path to re-use buffer vectors implemented for enqueue path. Doing this, copy_desc_to_mbuf() is now ring layout type agnostic. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 143 ++---

[dpdk-dev] [PATCH 1/7] vhost: use shadow used ring in dequeue path

2018-06-08 Thread Maxime Coquelin
Relax used ring contention by reusing the shadow used ring feature used by enqueue path. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 45 ++- 1 file changed, 10 insertions(+), 35 deletions(-) diff --git a/lib/librte_vhost/virtio_net.

[dpdk-dev] [PATCH 0/7] vhost: generalize buffer vectors

2018-06-08 Thread Maxime Coquelin
This series is again preliminray work to ease packed ring layout integration. Main changes are using vector buffres also in the dequeue path, and perform IOVA to HVA translation at vectors fill time. I still have to run more benchmarks, but PVP benchmarks does not show performance changes. Good

[dpdk-dev] [PATCH 5/7] vhost: improve prefetching in dequeue path

2018-06-08 Thread Maxime Coquelin
This is an optimization to prefetch next buffer while the current one is being processed. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c i

[dpdk-dev] [PATCH 4/7] vhost: translate iovas at vectors fill time

2018-06-08 Thread Maxime Coquelin
This patch aims at simplifying the desc to mbuf and mbuf to desc copy functions. It performs the iova to hva translations at vectors fill time. Doing this, in case desc buffer isn't contiguous in hva space, it gets split into multiple vectors. Signed-off-by: Maxime Coquelin --- lib/librte_vhost

[dpdk-dev] [PATCH 6/7] vhost: prefetch first descriptor in dequeue path

2018-06-08 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c index 6e4004666..41386fbce 100644 --- a/lib/librte_vhost/virtio_net.c +++ b/lib/librte_vhost/virtio_net.c @@ -1076,6

[dpdk-dev] [PATCH 7/7] vhost: improve prefetching in enqueue path

2018-06-08 Thread Maxime Coquelin
This is an optimization to prefetch next buffer while the current one is being processed. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/virtio_net.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.

[dpdk-dev] [PATCH] net/nfp: fix unused header reference

2018-06-08 Thread Alejandro Lucero
Apart from not being used, this is causing problem when compiling DPDK with the musl library as reported by bugzilla. Fixes: c7e9729da6b5 ("net/nfp: support CPP") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h | 1 - 1 file changed, 1 deletion(-) diff --g

Re: [dpdk-dev] [PATCH 01/22] eal: introduce one device scan

2018-06-08 Thread Shreyansh Jain
On 6/7/2018 6:08 PM, Qi Zhang wrote: When hot plug a new device, it is not necessary to scan everything on the bus since the devname and devargs are already there. So new rte_bus ops "scan_one" is introduced, bus driver can implement this function to simply the hotplug process.

Re: [dpdk-dev] [PATCH] net/qede: fix memory alloc for multiple port reconfig

2018-06-08 Thread Kevin Traynor
On 06/07/2018 05:30 PM, Rasesh Mody wrote: > Multiple port reconfigurations can lead to memory allocation failures > due to hitting RTE memzone limit or no more room in config while > reserving memzone. > > When freeing memzones, update the memzone mapping and the memzone count. > Release Rx and T

Re: [dpdk-dev] [PATCH 02/22] bus/vdev: enable one device scan

2018-06-08 Thread Shreyansh Jain
On 6/7/2018 6:08 PM, Qi Zhang wrote: Implemented the bus ops scan_one, besides this improve the scan efficiency in hotplug case, it aslo avoid sync IPC invoke (which also happens in vdev->scan on secondary process). The ben

[dpdk-dev] [PATCH 00/21] net/softnic: refactoring

2018-06-08 Thread Jasvinder Singh
This patch set modifies the Soft NIC device driver to use the Packet Framework, which makes it much more modular, flexible and extensible with new functionality. � The Soft NIC allows building custom NIC pipelines in SW. The Soft NIC pipeline is DIY and reconfigurable through �firmware� (DPDK Pa

[dpdk-dev] [PATCH 03/21] net/softnic: add link object

2018-06-08 Thread Jasvinder Singh
Add link object implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.c | 4 + drivers/net/softnic/rte_eth_softnic_internals.h | 37 ++ d

[dpdk-dev] [PATCH 01/21] net/softnic: restructuring

2018-06-08 Thread Jasvinder Singh
Rework the softnic implementation to have flexiblity in enabling more features to its receive and transmit data path. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 607 drivers/net/softnic/rte_eth

[dpdk-dev] [PATCH 04/21] net/softnic: add mempool object

2018-06-08 Thread Jasvinder Singh
Add mempool object implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.c | 2 + drivers/net/softnic/rte_eth_softnic_internals.h | 38 +++

[dpdk-dev] [PATCH 05/21] net/softnic: add tap object

2018-06-08 Thread Jasvinder Singh
Add tap object implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.c | 2 + drivers/net/softnic/rte_eth_softnic_internals.h | 29 ++ dri

[dpdk-dev] [PATCH 02/21] net/softnic: add software queue object

2018-06-08 Thread Jasvinder Singh
Add swq object implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.c | 7 ++ drivers/net/softnic/rte_eth_softnic_internals.h | 39 ++ d

[dpdk-dev] [PATCH 06/21] net/softnic: add trafic manager object

2018-06-08 Thread Jasvinder Singh
Add traffic manager(tmgr) object to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 2 ++ drivers/net/softnic/rte_eth_softnic_internals.h | 25 ++-- drivers/net/softnic/rte_eth_softnic_tm.c

[dpdk-dev] [PATCH 08/21] net/softnic: add table action profile

2018-06-08 Thread Jasvinder Singh
Add pipeline's table action profile implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 2 + drivers/net/softnic/rte_eth_softnic_action.c| 227 drivers/net/softnic/r

[dpdk-dev] [PATCH 09/21] net/softnic: add pipeline object

2018-06-08 Thread Jasvinder Singh
Add pipeline object implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.c | 2 + drivers/net/softnic/rte_eth_softnic_internals.h | 196 +

[dpdk-dev] [PATCH 11/21] net/softnic: add softnic run API

2018-06-08 Thread Jasvinder Singh
Implements softnic API function to run pipeline objects. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c| 13 -- drivers/net/softnic/rte_eth_softnic_thread.c | 195 +++ 2 files changed, 195 insertions(+

[dpdk-dev] [PATCH 07/21] net/softnic: add port action profile

2018-06-08 Thread Jasvinder Singh
Add pipeline's port action profile implementation to the softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 3 + drivers/net/softnic/hash_func.h | 359 drivers/net/softnic/ha

[dpdk-dev] [PATCH 10/21] net/softnic: add thread

2018-06-08 Thread Jasvinder Singh
Add thread data structure and init function to run softnic pipelines objects. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.c | 8 +++ drivers/net/softnic/rte_eth_softn

[dpdk-dev] [PATCH 13/21] net/softnic: add connection agent

2018-06-08 Thread Jasvinder Singh
Add connection agent to enable connectivity with external agen (e.g. telnet, netcat, Python script, etc). Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile | 1 + drivers/net/softnic/conn.c | 332 ++

[dpdk-dev] [PATCH 12/21] net/softnic: add cli interface

2018-06-08 Thread Jasvinder Singh
Add interface for softnic cli commands. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/Makefile| 2 + drivers/net/softnic/parser.c| 687 drivers/net/softnic/parser.h

[dpdk-dev] [PATCH 14/21] net/softnic: add cli to create softnic objects

2018-06-08 Thread Jasvinder Singh
Add cli commands to create softnic objects such as mempool, swq, pipeline, etc. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_cli.c | 1615 ++- drivers/net/softnic/rte_eth_softnic_internals.h | 85 ++ driver

[dpdk-dev] [PATCH 15/21] net/softnic: add cli to enable and disable pipeline

2018-06-08 Thread Jasvinder Singh
Add cli commands to enable and disable pipelines on specific threads in softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_cli.c | 103 drivers/net/softnic/rte_eth_softnic_internals.h | 10 + drivers/net/softnic/rte

[dpdk-dev] [PATCH 18/21] net/softnic: add cli for meter action

2018-06-08 Thread Jasvinder Singh
Add cli commands for meter action in softnic pipeline objects. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_cli.c | 418 drivers/net/softnic/rte_eth_softnic_internals.h | 29 ++ drivers/net/softnic/rte_

[dpdk-dev] [PATCH 16/21] net/softnic: add cli for pipeline table entries

2018-06-08 Thread Jasvinder Singh
Add cli commands for table entries in softnic pipeline objects. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_cli.c | 2177 --- drivers/net/softnic/rte_eth_softnic_internals.h | 35 + drivers/net/softnic/rte

[dpdk-dev] [PATCH 17/21] net/softnic: add cli to read pipeline port and table stats

2018-06-08 Thread Jasvinder Singh
Add cli commands to read port and table stats of softnic pipeline objects. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_cli.c | 285 drivers/net/softnic/rte_eth_softnic_internals.h | 29 +++ drivers/net/sof

[dpdk-dev] [PATCH 19/21] net/softnic: add cli for ttl action

2018-06-08 Thread Jasvinder Singh
Add cli commands for ttl action in softnic pipeline objects. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic_cli.c | 23 +++ drivers/net/softnic/rte_eth_softnic_internals.h | 8 +++ drivers/net/softnic/rte_eth_softnic_thread.c

[dpdk-dev] [PATCH 20/21] net/softnic: receive and transmit queue setup

2018-06-08 Thread Jasvinder Singh
Implements softnic receive and transmit queues setup using swq object. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 62 ++- 1 file changed, 32 insertions(+), 30 deletions(-) diff --git a/drivers/ne

[dpdk-dev] [PATCH 21/21] net/softnic: start and stop function

2018-06-08 Thread Jasvinder Singh
Implements softnic start and stop function. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 38 ++--- drivers/net/softnic/rte_eth_softnic_internals.h | 6 drivers/net/softnic/rte_eth_softnic_pipeli

Re: [dpdk-dev] [PATCH v2 1/2] librte_ip_frag: add function to delete expired entries

2018-06-08 Thread Ananyev, Konstantin
> > A fragmented packets is supposed to live no longer than max_cycles, > but the lib deletes an expired packet only occasionally when it scans > a bucket to find an empty slot while adding a new packet. > Therefore a fragment might sit in the table forever. > > Signed-off-by: Alex Kiselev >

Re: [dpdk-dev] [PATCH] net/nfp: fix data offset initialization in TX descriptors

2018-06-08 Thread Alejandro Lucero
Please, ignore this patch. It is not clear yet if we need this. We thought it was fixing a problem but we have doubts now. I have changed the status of the patch to not applicable. thanks On Thu, Jun 7, 2018 at 4:52 PM, Alejandro Lucero < alejandro.luc...@netronome.com> wrote: > The mbuf struct

[dpdk-dev] [RFC v1] net/mlx5: support multiple flow priorities

2018-06-08 Thread Xueming Li
This patch supports multiple rte_flow priorities on NICs that support 16 or more Verbs priorities. Control flow always consume 3 Verbs priorities even in isolated mode. For NICs that support 16 or more Verbs priorities, each rte_flow priority consumes 6 Verbs priorities, higher 3 for tunnels, lowe

Re: [dpdk-dev] [PATCH v2 0/2] Vhost: unitfy receive paths

2018-06-08 Thread Maxime Coquelin
On 05/29/2018 11:45 AM, Maxime Coquelin wrote: Hi, This second version fixes the feature bit check in rxvq_is_mergeable(), and remove "mergeable" from rx funcs names. No difference is seen in the benchmarks This series is preliminary work to ease the integration of packed ring layout support

Re: [dpdk-dev] [PATCH v2] net/i40e: illagel pactket checking

2018-06-08 Thread Ananyev, Konstantin
> -Original Message- > From: Wu, Yanglong > Sent: Friday, June 8, 2018 4:54 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Ananyev, Konstantin > ; Wu, Yanglong > > Subject: [PATCH v2] net/i40e: illagel pactket checking > > Some illegal packets will lead to TX/RX hang and > can't recover au

Re: [dpdk-dev] [PATCH] vhost: refine the vhost_new_device

2018-06-08 Thread Maxime Coquelin
On 06/08/2018 11:18 AM, xiangxia.m@gmail.com wrote: From: Tonghao Zhang Make sure find avalid device id before allocating virtio_net, if not, return directly. It may avoid allocating and freeing virtio_net when there is not valid device id. Signed-off-by: Tonghao Zhang --- lib/librte

[dpdk-dev] [PATCH 1/1] crypto/scheduler: add dynamic logging to scheduler

2018-06-08 Thread Hari Kumar
From: hvemulax 1.added new logtype for driver. 2.registered the new logtype. 3.CS_LOG_ERR and RTE_LOG logtypes are replaced with new logtype name. Signed-off-by: Hari Kumar Reviewed-by: Reshma Pattan --- drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 95 -- drivers/c

Re: [dpdk-dev] [dpdk-announce] CFP for DPDK Summit Userspace

2018-06-08 Thread O'Driscoll, Tim
The registration link for this event is now also available at: https://www.regonline.com/DPDKDublin. Please register soon to guarantee your place. > -Original Message- > From: announce [mailto:announce-boun...@dpdk.org] On Behalf Of > O'Driscoll, Tim > Sent: Wednesday, June 6, 2018 4:46

Re: [dpdk-dev] 17.11.3 (LTS) patches review and test

2018-06-08 Thread Yuanhan Liu
On Thu, Jun 07, 2018 at 11:09:56PM +, Raslan Darawsheh wrote: > Hi, > > We've tested this version and we don't see new issues with it. Hi Raslan, Thank you a lot for the testing! --yliu > > Kindest regards, > Raslan Darawsheh > > -Original Message- > From: dev [mailto:dev-

Re: [dpdk-dev] [RFC v1] net/mlx5: support multiple flow priorities

2018-06-08 Thread Nélio Laranjeiro
Hi Xueming, On Fri, Jun 08, 2018 at 09:57:51PM +0800, Xueming Li wrote: > This patch supports multiple rte_flow priorities on NICs that support 16 > or more Verbs priorities. Control flow always consume 3 Verbs priorities > even in isolated mode. In isolated mode there are no control flows it is

Re: [dpdk-dev] 17.11.3 (LTS) patches review and test

2018-06-08 Thread Bruce Richardson
On Sun, May 27, 2018 at 01:35:17PM +0800, Yuanhan Liu wrote: > Hi all, > > Here is a list of patches targeted for LTS release 17.11.3. Please > help review and test. The planned date for the final release is 8th, > Jun. Before that, please let me know if anyone has objections with > these patches

Re: [dpdk-dev] 17.11.3 (LTS) patches review and test

2018-06-08 Thread Yuanhan Liu
On Fri, Jun 8, 2018, at 11:00 PM, Bruce Richardson wrote: > On Sun, May 27, 2018 at 01:35:17PM +0800, Yuanhan Liu wrote: > > Hi all, > > > > Here is a list of patches targeted for LTS release 17.11.3. Please > > help review and test. The planned date for the final release is 8th, > > Jun. Befor

[dpdk-dev] I40evf VLAN stripping disable

2018-06-08 Thread Dey, Souvik
Hi i40e/i40evf maintainers, I was testing VLANs with i40evf pmd and is hitting the below issue. I have the following configuration: - host runs with Linux pf i40e driver(version 2.4.6) - guest runs with DPDK 17.11.2 vf i40e driver When I am sending a vlan packet from the outside to the guest, on

[dpdk-dev] [PATCH v2 1/2] lib/librte_power: traffic pattern aware power control

2018-06-08 Thread Liang Ma
1. Abstract For packet processing workloads such as DPDK polling is continuous. This means CPU cores always show 100% busy independent of how much work those cores are doing. It is critical to accurately determine how busy a core is hugely important for the following reasons: * No indication o

[dpdk-dev] [PATCH v2 2/2] examples/l3fwd-power: simple app update to support new API

2018-06-08 Thread Liang Ma
Add the support for new traffic pattern aware power control power management API. Example: ./l3fwd-power -l xxx -n 4 -w :xx:00.0 -w :xx:00.1 -- -p 0x3 -P --config="(0,0,xx),(1,0,xx)" --empty-poll ChangeLog: v2 Fix some coding style issues Signed-off-by: Liang Ma --- examples/l3fwd-

Re: [dpdk-dev] 16.11.7 (LTS) patches review and test

2018-06-08 Thread Luca Boccassi
On Thu, 2018-05-31 at 11:25 +0100, Luca Boccassi wrote: > Hi all, > > Here is a list of patches targeted for LTS release 16.11.7. Please > help review and test. The planned date for the final release is > Monday, > June the 11th. > Before that, please shout if anyone has objections with these > pa

[dpdk-dev] [PATCH] examples/ip_pipeline: add link show to the cli

2018-06-08 Thread Kevin Laatz
Add the functionality to track links in the application. This enables the user to print the name, mac address and per-port statistics for each link in the application. Signed-off-by: Kevin Laatz --- examples/ip_pipeline/cli.c | 103 examples/ip_pipel

[dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson

2018-06-08 Thread Bruce Richardson
The JIT is only supported on x86_64 so disable for 32-bit builds. Fixes: cc752e43e079 ("bpf: add JIT compilation for x86_64 ISA") Signed-off-by: Bruce Richardson --- lib/librte_bpf/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_bpf/meson.build b/lib/l

[dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds

2018-06-08 Thread Bruce Richardson
The kni library is not supported on 32-bit so disable it for those builds using meson. Signed-off-by: Bruce Richardson --- lib/librte_kni/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build index c4b21961c..a738a

[dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson

2018-06-08 Thread Bruce Richardson
This patchset enables building DPDK on 32-bit systems, and has been tested using debian 32-bit on x86 i.e. doing an "i686" build in the old build system. Additional work is still required (possibly via cross-file) to get DPDK building for 32-bit on a 64-bit system, but this is the first step in th

[dpdk-dev] [PATCH 4/7] build: disable pointer to int conversion warnings for 32-bit

2018-06-08 Thread Bruce Richardson
Converting a 32-bit pointer to a 64-bit integer is generally safe, but generates a lot of warnings when compiling 32-bit code with meson. The warnings are not flagged when using make, so just disable them for 32-bit meson builds. Signed-off-by: Bruce Richardson --- config/meson.build | 4 1

[dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds

2018-06-08 Thread Bruce Richardson
The sfc driver is not supported on 32-bit so disable in meson in those cases. Signed-off-by: Bruce Richardson --- drivers/net/sfc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build index 3aa14c7bd..2d34e869d 1

[dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds

2018-06-08 Thread Bruce Richardson
By default, the DPAA2_USE_PHYS_IOVA setting with the make build-system is "y", which is overridden to "n" in the config file specifically for the arm64-dpaa2-linuxapp-gcc builds. The lack of this setting in meson builds causes issues for 32-bit build, as the alternative code paths have compiler war

[dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds

2018-06-08 Thread Bruce Richardson
When compiling with meson, extra warnings are enabled about casting from integers to different size pointers. This triggers an error in AVP as the addition of the offset to the pointer address causes the result to be a 64-bit integer which doesn't fit a 32-bit pointer. The fix here is to explicitly

[dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson

2018-06-08 Thread Bruce Richardson
Rather than hard-coding the example app to be built only when a set of conditions are met, we can simplify things by having the app built when KNI library itself is available. That saves us duplicating the same set of restrictions on both library and example app. Fixes: 89f0711f9ddf ("examples: bu

[dpdk-dev] [PATCH 00/16] Adding Cavium's crypto device(CPT) driver

2018-06-08 Thread Anoob Joseph
Ankur Dwivedi (4): crypto/cpt/base: add hardware enq/deq API for CPT crypto/cpt/base: add sym crypto session init API for CPT crypto/cpt/base: add sym crypto request prepare for CPT crypto/cpt: build with meson Murthy NSSR (3): crypto/cpt/base: add request prepare API for ZUC and SNOW3G

[dpdk-dev] [PATCH 03/16] crypto/cpt/base: add hardware initialization API for CPT

2018-06-08 Thread Anoob Joseph
From: Nithin Dabilpuram Adds hardware device initialization specific api for Cavium CPT device. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- drivers/crypto/cpt/

[dpdk-dev] [PATCH 01/16] config: add Cavium CPT PMD skeleton

2018-06-08 Thread Anoob Joseph
From: Nithin Dabilpuram Add makefile and config file options. Also add version map file and maintainers file to claim responsibility. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian

[dpdk-dev] [PATCH 02/16] crypto/cpt/base: add hardware definitions Cavium CPT

2018-06-08 Thread Anoob Joseph
From: Nithin Dabilpuram Adds hardware specific definitions for Cavium CPT device. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- drivers/crypto/cpt/base/cpt_hw_ty

[dpdk-dev] [PATCH 04/16] crypto/cpt/base: add hardware enq/deq API for CPT

2018-06-08 Thread Anoob Joseph
From: Ankur Dwivedi Adds hardware enqueue/dequeue API of instructions to a queue pair for Cavium CPT device. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- driver

[dpdk-dev] [PATCH 05/16] crypto/cpt/base: add sym crypto session init API for CPT

2018-06-08 Thread Anoob Joseph
From: Ankur Dwivedi Adds symmetric crypto session init API dependent on hardware/microcode. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- drivers/crypto/cpt/base

[dpdk-dev] [PATCH 06/16] crypto/cpt/base: add sym crypto request prepare for CPT

2018-06-08 Thread Anoob Joseph
From: Ankur Dwivedi These functions help in preparing symmetric crypto requests for the supported cipher/auth/aead. This includes all supported algos except Kasumi, Snow3G, Zuc, HMAC_ONLY and HASH_ONLY cases. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpu

[dpdk-dev] [PATCH 07/16] crypto/cpt/base: add request prepare API for ZUC and SNOW3G

2018-06-08 Thread Anoob Joseph
From: Murthy NSSR These functions help in preparing symmetric crypto requests for the ZUC, SNOW3G algorithms of both cipher and auth but not cipher+auth in single xform. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayarama

[dpdk-dev] [PATCH 08/16] crypto/cpt/base: add request prepare API for Kasumi

2018-06-08 Thread Anoob Joseph
From: Murthy NSSR These functions help in preparing symmetric crypto request for Kasumi of both cipher and auth but not cipher+auth in single xform. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Sri

[dpdk-dev] [PATCH 09/16] crypto/cpt/base: add prepare request API for HASH and HMAC

2018-06-08 Thread Anoob Joseph
From: Murthy NSSR These functions help in preparing symmetric crypto requests for HMAC only or HMAC only cases. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- dri

[dpdk-dev] [PATCH 11/16] crypto/cpt: add the basic device callback functions

2018-06-08 Thread Anoob Joseph
From: Srisivasubramanian Srinivasan This patch addresses the following: 1. Adds the basic device operation functions for the cpt vf. 2. The probe/remove functions are staic so no need to declare in the header file. 3. Removing extra declaration for cpt_dev_periodic_alarm_stop in the header file.

[dpdk-dev] [PATCH 10/16] crypto/cpt: add driver initializations

2018-06-08 Thread Anoob Joseph
From: Srisivasubramanian Srinivasan Introduce driver initialization and enable build infrastructure. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- drivers/crypto

[dpdk-dev] [PATCH 13/16] crypto/cpt: adds the session related function callbacks

2018-06-08 Thread Anoob Joseph
From: Ragothaman Jayaraman This patch adds the session callbacks functions. The cipher keys, auth keys and aead keys are set during the session configure. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-b

[dpdk-dev] [PATCH 12/16] crypto/cpt: adds some more callback functions for CPT

2018-06-08 Thread Anoob Joseph
From: Srisivasubramanian Srinivasan This patch does the following: 1. Adds the stats callback functions for the cpt vf. 2. Adds the queue pair setup and queue pair release callback functions for cpt vf. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram S

[dpdk-dev] [PATCH 14/16] crypto/cpt: adds the enqueue and dequeue callbacks

2018-06-08 Thread Anoob Joseph
From: Ragothaman Jayaraman The functions present in cpt_request_mgr.c manages the work of enqueing/dequeing the request/response to/from cpt hardware unit. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-

[dpdk-dev] [PATCH 15/16] doc: add Cavium's CPT guide

2018-06-08 Thread Anoob Joseph
From: Ragothaman Jayaraman The guide contains information about packages needed to compile the CPT PMD. It also contains the compilation steps and how to execute an examples application. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ra

[dpdk-dev] [PATCH 16/16] crypto/cpt: build with meson

2018-06-08 Thread Anoob Joseph
From: Ankur Dwivedi Adding the meson.build file for the CPT PMD. Signed-off-by: Ankur Dwivedi Signed-off-by: Murthy NSSR Signed-off-by: Nithin Dabilpuram Signed-off-by: Ragothaman Jayaraman Signed-off-by: Srisivasubramanian Srinivasan --- drivers/crypto/cpt/meson.build | 16 ++

Re: [dpdk-dev] [PATCH] examples/ip_pipeline: add link show to the cli

2018-06-08 Thread Dumitrescu, Cristian
> -Original Message- > From: Laatz, Kevin > Sent: Friday, June 8, 2018 5:31 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Singh, Jasvinder > ; Laatz, Kevin > Subject: [PATCH] examples/ip_pipeline: add link show to the cli > > Add the functionality to track links in the application

[dpdk-dev] 18.08 Red Hat roadmap

2018-06-08 Thread Maxime Coquelin
Hi, For 18.08 release, the main feature we plan to contribute is packed ring layout for both Vhost library and Virtio PMD.For ones interested in the feature, its specification is a good starting point [0]. The work from Jens Freimann will be rebased on top of Vhost library rework already submitte

[dpdk-dev] [PATCH v10 1/5] eal: add rte_uuid support

2018-06-08 Thread Stephen Hemminger
Since uuid functions may not be available everywhere, implement uuid functions in DPDK. These are based off the BSD licensed libuuid in util-link. Signed-off-by: Stephen Hemminger --- lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/common/Makefile | 2 +- lib/librte_

  1   2   3   >