[dpdk-dev] [PATCH v6 1/2] net/i40e: support input set configuration

2017-12-07 Thread Beilei Xing
This patch supports getting/setting input set info for RSS/FDIR/FDIR flexible payload. Also add some helper functions for input set configuration. Signed-off-by: Beilei Xing --- drivers/net/i40e/rte_pmd_i40e.c | 141 ++ drivers/net/i40e/rte_pmd_i40e.h

[dpdk-dev] [PATCH v6 2/2] app/testpmd: add configuration for input set

2017-12-07 Thread Beilei Xing
This patch adds command to configure input set for RSS/flow director/flow director flexible payload. Signed-off-by: Beilei Xing --- app/test-pmd/cmdline.c | 237 + 1 file changed, 237 insertions(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pm

[dpdk-dev] [PATCH v6 0/2] net/i40e: support input set configuration

2017-12-07 Thread Beilei Xing
The patchset adds support RSS/FDIR/FDIR flexible payload input set configuration for some pctype. v6 changes: - Fix DPDK version for new private API. v5 changes: - Add DPDK version for new private API. v4 changes: - Change testpmd command token and print info. v3 changes: - Add support rese

[dpdk-dev] [PATCH v1] lib/cmdline: init parse result memory

2017-12-07 Thread Xueming Li
Initialize binary result memory before parsing to avoid garbage in parsing result. Signed-off-by: Xueming Li --- lib/librte_cmdline/cmdline_parse.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_cmdline/cmdline_parse.c b/lib/librte_cmdline/cmdline_parse.c ind

[dpdk-dev] [PATCH v3 2/4] change root makefile license to SPDX tag

2017-12-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- GNUmakefile | 29 + Makefile| 29 + 2 files changed, 2 insertions(+), 56 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 45b7fbb..ad28914 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,33 +1

[dpdk-dev] [PATCH v3 4/4] change NXP dpaa code License text to SPDX tags

2017-12-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa-linuxapp-gcc | 30 ++ doc/guides/cryptodevs/dpaa_sec.rst| 31 +++--- doc/guides/nics/dpaa.rst | 31 +++--- doc/guides/prog_guide/rte_security.rst

[dpdk-dev] [PATCH v3 1/4] Introducing SPDX License Identifiers

2017-12-07 Thread Hemant Agrawal
The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are naturally GPLv2 licensed. Many of the files in the DPDK source code contain the full text of the applicable license. For example, most of the BSD-3-Clause files contain a full copy of t

[dpdk-dev] [PATCH v2] net/i40e: fix VF Tx error issue

2017-12-07 Thread Beilei Xing
When using kernel PF + DPDK VF, if setting VLAN strip on or off in VF side after setting PVID for VF with ethtool in PF side, it will cause VF Tx error. The root cause is that Rx VLAN offload is not permitted after setting PVID for VF in kernel PF side. This patch fixes the issue by check VLAN offl

Re: [dpdk-dev] [PATCH 02/14] drivers: change the deprecated memseg physaddr to iova

2017-12-07 Thread santosh
On Friday 08 December 2017 10:51 AM, Hemant Agrawal wrote: > DPAA and DPAA2 drivers were using memseg physaddr, which > has been deprecated. > > Fixes: 7ba49d39f14c ("mem: rename segment address from physical to IOVA") > Cc: Santosh Shukla > Cc: sta...@dpdk.org > > Signed-off-by: Hemant Agrawal

[dpdk-dev] [PATCH 13/14] net/dpaa2: optimize Tx path for best case

2017-12-07 Thread Hemant Agrawal
From: Nipun Gupta This patch handles the non-sg packets in more optimized way. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 ++ drivers/net/dpaa2/dpaa2_rxtx.c | 44 +++-- 2 files changed, 33 insertions(+), 13 deletions(-) dif

[dpdk-dev] [PATCH 14/14] net/dpaa2: prefetch the parse results from next fd

2017-12-07 Thread Hemant Agrawal
From: Nipun Gupta As there were less number of cpu cycles in between when we access the parse results and when we prefetch them, this patch modifies the prefetch of the next parse result. Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/dpaa2_rxtx.c | 8 +--- 1 file changed, 5 insertions(+

[dpdk-dev] [PATCH 11/14] net/dpaa2: add parse function for LX2 device

2017-12-07 Thread Hemant Agrawal
From: Nipun Gupta Adding support for DPDK packet parsing logic for LX2 platform to accomodate the new FRC format introduced in LX2. Signed-off-by: Ashish Jain Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 + drivers/net/dpaa2/dpaa2_ethdev.h| 27 ++

[dpdk-dev] [PATCH 12/14] net/dpaa2: optimize Rx path packet parsing

2017-12-07 Thread Hemant Agrawal
From: Nipun Gupta Parsing the annotation has multiple if checks in the data path. These are reduced for common cases like IPv4/IPv6 and UDP/TCP packets to enhance performance of these generic cases. Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/base/dpaa2_hw_dpni_annot.h | 20 +

[dpdk-dev] [PATCH 10/14] net/dpaa2: add VLAN insert offload

2017-12-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 8ecd238..93c2319 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2

[dpdk-dev] [PATCH 08/14] net/dpaa2: add Rx queue count support

2017-12-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 577bd8f..3e89d8d 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/

[dpdk-dev] [PATCH 09/14] net/dpaa2: align the frame size in MTU set

2017-12-07 Thread Hemant Agrawal
From: Ashish Jain Setting correct frame size in dpaa2_dev_mtu_set api call. Also correcting the correct max frame size setting in hardware while dev_configure for jumbo frames Signed-off-by: Ashish Jain --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 4 ++-- drivers/net/dpaa2/dpaa2_ethdev.c

[dpdk-dev] [PATCH 06/14] bus/fslmc: add braces for pointers in macros

2017-12-07 Thread Hemant Agrawal
From: Nipun Gupta Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 43 + 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 7937293..a432

[dpdk-dev] [PATCH 07/14] bus/fslmc: add qman HW fq query count API

2017-12-07 Thread Hemant Agrawal
This patch add support for rx query debug API. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile| 3 +- drivers/bus/fslmc/qbman/include/fsl_qbman_debug.h | 30 +++ drivers/bus/fslmc/qbman/qbman_debug.c | 66 +++ drivers/

[dpdk-dev] [PATCH 05/14] bus/fslmc: expose platform soc value register

2017-12-07 Thread Hemant Agrawal
This patch expose the dpaa2 soc platform family type. This is required to make some soc variant specific decision during configuration and runtime. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 42 +++-- drivers/bus/fslmc/portal/dpaa2_hw_

[dpdk-dev] [PATCH 03/14] bus/fslmc: add support for dynamic iova for DPAA2 devices

2017-12-07 Thread Hemant Agrawal
This patch add support for dynamic iova detection for DPAA2 devices and use of virtual address in such cases. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_bus.c | 44 + drivers/bus/fslmc/fslmc_vfio.c | 5 +++- drivers/bus/fslmc

[dpdk-dev] [PATCH 02/14] drivers: change the deprecated memseg physaddr to iova

2017-12-07 Thread Hemant Agrawal
DPAA and DPAA2 drivers were using memseg physaddr, which has been deprecated. Fixes: 7ba49d39f14c ("mem: rename segment address from physical to IOVA") Cc: Santosh Shukla Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/rte_dpaa_bus.h | 6 +++--- drivers/bus/fslmc

[dpdk-dev] [PATCH 01/14] bus/fslmc: fix the cplusplus macro closure

2017-12-07 Thread Hemant Agrawal
Fixes: 10f1614f36a6 ("drivers: refactor DPAA2 object definition") Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_fslmc.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bus/fslmc/rte_fslmc.h b/drivers/bus/fslmc/rte_fslmc.h index 4c32db6..0814e69 10064

[dpdk-dev] [PATCH 04/14] net/dpaa2: link status check as driver flag

2017-12-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal DPDK-809 --- drivers/bus/fslmc/rte_fslmc.h| 4 drivers/net/dpaa2/dpaa2_ethdev.c | 6 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/bus/fslmc/rte_fslmc.h b/drivers/bus/fslmc/rte_fslmc.h index 0c7872d..fd52e2b 100644 --- a/drive

[dpdk-dev] [PATCH 00/14] DPAA2 PMD fixes and enhancements

2017-12-07 Thread Hemant Agrawal
This patch set contains some basic fixes, enhancements and optimzations for DPAA2 driver. Ashish Jain (1): net/dpaa2: align the frame size in MTU set Hemant Agrawal (8): bus/fslmc: fix the cplusplus macro closure drivers: change the deprecated memseg physaddr to iova bus/fslmc: add supp

Re: [dpdk-dev] [PATCH 3/6] doc: add dynamic logging to PMD todo list

2017-12-07 Thread Hemant Agrawal
On 11/21/2017 7:12 AM, Ferruh Yigit wrote: To track modification: c1b5fa94a46f ("eal: support dynamic log types") Proposed deadline for PMDs is v18.08 Signed-off-by: Ferruh Yigit --- doc/guides/nics/todo.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/nics/todo

Re: [dpdk-dev] [PATCH v2 1/2] Introducing SPDX License Identifiers

2017-12-07 Thread Hemant Agrawal
On 12/8/2017 5:16 AM, Ferruh Yigit wrote: On 12/1/2017 12:38 AM, Hemant Agrawal wrote: The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are naturally GPLv2 licensed. Many of the files in the DPDK source code contain the full text of th

Re: [dpdk-dev] [PATCH 1/5] net/virtio: fix vector Rx break caused by rxq flushing

2017-12-07 Thread Tiwei Bie
On Thu, Dec 07, 2017 at 04:00:57PM +, Kevin Traynor wrote: > On 12/07/2017 05:30 AM, Tiwei Bie wrote: > > The vector Rx will be broken if backend has consumed all > > the descs in the avail ring before the device is started. > > Because in current implementation, vector Rx will return > > immed

Re: [dpdk-dev] [PATCH v3 1/2] net/e1000: move RSS to flow API

2017-12-07 Thread Zhao1, Wei
Hi, daiwei I build the code with ICC for second time just now, it can pass build and there is no build error. It seems the icc report is not credible. > -Original Message- > From: Dai, Wei > Sent: Thursday, December 7, 2017 5:19 PM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Zhao1, We

Re: [dpdk-dev] [PATCH v3 2/2] net/ixgbe: move RSS to flow API

2017-12-07 Thread Zhao1, Wei
Hi, daiwei I build the code with ICC for second time, it can pass build and there is no build error. It seems the icc report is not credible. > -Original Message- > From: Dai, Wei > Sent: Thursday, December 7, 2017 5:20 PM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Zhao1, Wei > Subje

Re: [dpdk-dev] [PATCH v2 06/10] net/virtio: fix queue setup consistency

2017-12-07 Thread Tiwei Bie
Hi Olivier, On Thu, Dec 07, 2017 at 03:14:44PM +0100, Olivier MATZ wrote: > On Wed, Dec 06, 2017 at 01:25:29PM +0800, Tiwei Bie wrote: > > Hi Maxime and Olivier: > > > > On Thu, Sep 07, 2017 at 02:13:43PM +0200, Olivier Matz wrote: > > [...] > > > diff --git a/drivers/net/virtio/virtio_ethdev.c

Re: [dpdk-dev] [PATCH] vhost_user: protect active rings from async ring changes

2017-12-07 Thread Tan, Jianfeng
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Thursday, December 7, 2017 6:02 PM > To: Tan, Jianfeng; Victor Kaplansky; dev@dpdk.org; y...@fridaylinux.org; Bie, > Tiwei > Cc: sta...@dpdk.org; jfrei...@redhat.com > Subject: Re: [PATCH] vhost_user:

[dpdk-dev] [PATCH v7] net/i40e: determine number of queues per VF during run time

2017-12-07 Thread Wei Dai
Without this patch, the number of queues per i40e VF is defined as 4 by CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF=4 in config/common_base. It is fixed value determined in building time and can't be changed during run time. With this patch, the number of queues per i40e VF can be determinated during

Re: [dpdk-dev] [PATCH v6] net/i40e: determine number of queues per VF during run time

2017-12-07 Thread Dai, Wei
> -Original Message- > From: Ananyev, Konstantin > Sent: Sunday, December 3, 2017 7:20 PM > To: Dai, Wei ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org > Subject: RE: [PATCH v6] net/i40e: determine number of queues per VF during > run time > > Hi Wei, > > > -Original Message-

[dpdk-dev] dpdk native tcp/ip stack (ans) performance reach 11.78Mpps

2017-12-07 Thread zimeiw
hi, Share dpdk tcp/ip stack performance here: CPU Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz NIC 02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) 02:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (r

Re: [dpdk-dev] [PATCH 1/2] net/octeontx: add channel to port id mapping

2017-12-07 Thread Ferruh Yigit
On 11/28/2017 6:58 AM, Pavan Nikhilesh wrote: > The channel to port id map is used by event octeontx to map the received > wqe to the respective ethdev port. > > Signed-off-by: Pavan Nikhilesh <...> > @@ -52,12 +52,18 @@ > #define OCTEONTX_VDEV_NR_PORT_ARG("nr_port") > #define OCT

Re: [dpdk-dev] [PATCH v2 1/2] ethdev: add GENEVE flow pattern item

2017-12-07 Thread Ferruh Yigit
On 12/4/2017 6:03 AM, Adrien Mazarguil wrote: > On Fri, Dec 01, 2017 at 10:43:15AM +, Andrew Rybchenko wrote: >> From: Roman Zhukov >> >> Add new pattern item RTE_FLOW_ITEM_TYPE_GENEVE in flow API. >> Add default mask for the item. >> >> Signed-off-by: Roman Zhukov >> Signed-off-by: Andrew Ry

Re: [dpdk-dev] [PATCH v2 1/2] Introducing SPDX License Identifiers

2017-12-07 Thread Ferruh Yigit
On 12/1/2017 12:38 AM, Hemant Agrawal wrote: > The DPDK uses the Open Source BSD-3-Clause license for the core libraries > and drivers. The kernel components are naturally GPLv2 licensed. > > Many of the files in the DPDK source code contain the full text of the > applicable license. For example,

Re: [dpdk-dev] [PATCH] net/vmxnet3: convert to 3-Clause BSD License

2017-12-07 Thread Ferruh Yigit
On 12/7/2017 3:27 PM, Ferruh Yigit wrote: > On 12/7/2017 1:59 PM, Shrikrishna Khare wrote: >> On behalf of the DPDK Technical board, Hemant Agrawal observed that the >> DPDK project's Intellectual Property Policy (http://dpdk.org/about/charter) >> requires 3-Clause BSD license or an exception appro

Re: [dpdk-dev] [PATCH] net/vmxnet3: convert to 3-Clause BSD License

2017-12-07 Thread Ferruh Yigit
On 12/7/2017 1:59 PM, Shrikrishna Khare wrote: > On behalf of the DPDK Technical board, Hemant Agrawal observed that the > DPDK project's Intellectual Property Policy (http://dpdk.org/about/charter) > requires 3-Clause BSD license or an exception approval. However, two > vmxnet3 source files have 2

Re: [dpdk-dev] [PATCH v3] bnxt: Support time_sync related APIs

2017-12-07 Thread Ferruh Yigit
On 12/7/2017 2:04 PM, Ajit Khaparde wrote: > On Mon, Dec 4, 2017 at 11:26 PM, Somnath Kotur > wrote: > >> Implemented the 'time_sync' related APIs for supporting the PTP protocol. >> >> Signed-off-by: Somnath Kotur >> > Acked-by: > ​ Ajit Khaparde "net/bnxt: support timesync" Applied to dpdk-

Re: [dpdk-dev] [PATCH 1/2] net/softnic: enable flow classification function

2017-12-07 Thread Thomas Monjalon
07/12/2017 22:02, Ferruh Yigit: > On 11/30/2017 12:08 PM, Jasvinder Singh wrote: > > _LDLIBS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += -lrte_flow_classify > > _LDLIBS-$(CONFIG_RTE_LIBRTE_PIPELINE) += -lrte_pipeline > > +_LDLIBS-$(CONFIG_RTE_LIBRTE_TABLE)+= --whole-archive > > _LDL

Re: [dpdk-dev] [PATCH v3] bnxt: Support time_sync related APIs

2017-12-07 Thread Ajit Khaparde
On Mon, Dec 4, 2017 at 11:26 PM, Somnath Kotur wrote: > Implemented the 'time_sync' related APIs for supporting the PTP protocol. > > Signed-off-by: Somnath Kotur > Acked-by: ​ Ajit Khaparde ​ > --- > v3 Changes > - Initialize the time counters correctly during timesync_enable > - Use correct

[dpdk-dev] [PATCH] net/vmxnet3: convert to 3-Clause BSD License

2017-12-07 Thread Shrikrishna Khare
On behalf of the DPDK Technical board, Hemant Agrawal observed that the DPDK project's Intellectual Property Policy (http://dpdk.org/about/charter) requires 3-Clause BSD license or an exception approval. However, two vmxnet3 source files have 2-Clause BSD license. This patch modifies those license

[dpdk-dev] [PATCH v3 0/5] Wireless Baseband Device (bbdev)

2017-12-07 Thread Amr Mokhtar
Hello everyone, A refreshed v3 patch of the Wireless Baseband Device (bbdev) is enclosed. Addressing the feedback received from the community on the application interface in the RFC and v1 patch with an enhanced SW Turbo driver. v3: * Cleaner Turbo Code operation interface * Enahnced SW Turbo PMD

[dpdk-dev] [PATCH v3 5/5] bbdev: documentation

2017-12-07 Thread Amr Mokhtar
- Wireless Baseband Device Library Programmer’s Guide - test-bbdev User Guide - BBDEV Sample Application User Guides - Baseband Device Drivers Guides - Doxygen API Signed-off-by: Amr Mokhtar --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + doc/g

[dpdk-dev] [PATCH v3 4/5] bbdev: sample app

2017-12-07 Thread Amr Mokhtar
- Sample application performing a loop-back over ethernet using a bbbdev device - A packet is received on an Rx ethdev port -> enqueued for baseband operation -> dequeued -> looped-back to a Tx ethdev port - 'Turbo_sw' PMD must be enabled for the app to be functional Signed-off-by: Amr Mokhtar

[dpdk-dev] [PATCH v3 2/5] bbdev: PMD drivers (null/turbo_sw)

2017-12-07 Thread Amr Mokhtar
- bbdev 'null' PMD enabled by default - bbdev 'turbo_sw' PMD disabled by default - 'turbo_sw' requires the external FLEXRAN SDK libraries Signed-off-by: Amr Mokhtar --- drivers/Makefile |2 + drivers/bbdev/Makefile | 41 + drive

[dpdk-dev] [PATCH v3 1/5] bbdev: librte_bbdev library

2017-12-07 Thread Amr Mokhtar
- BBDEV library files - BBDEV is tagged as EXPERIMENTAL - Makefiles and configuration macros definition - The bbdev framework and the 'null' driver are enabled by default - The bbdev test framework is enabled by default - Release Notes of the initial version and MAINTAINERS Signed-off-by: Amr Mokh

Re: [dpdk-dev] [PATCH 0/2] net/softnic: add flow classification support

2017-12-07 Thread Ferruh Yigit
On 11/30/2017 12:08 PM, Jasvinder Singh wrote: > This patchset extends the softnic device by implementing > the software fallback for flow classification as defined > using Flow APIs. When feature is enabled, softnic classifies > and executes actions on the received packets based on flow > rules sp

Re: [dpdk-dev] [PATCH 1/2] net/softnic: enable flow classification function

2017-12-07 Thread Ferruh Yigit
On 11/30/2017 12:08 PM, Jasvinder Singh wrote: > Enables flow classification on softnic rx path so that proceding > functions of the packet processing pipeline such as metering and > policing could be implemented. > > Example: Create "soft" port for "hard" port ":02:00.1", > enable the Flow Cl

[dpdk-dev] [PATCH 13/13] doc: update example eventdev_pipeline

2017-12-07 Thread Pavan Nikhilesh
Removed eventdev sw pmd specific information in document, renamed the document from eventdev_pipeline_sw_pmd to eventdev_pipeline. Signed-off-by: Pavan Nikhilesh --- .../{eventdev_pipeline_sw_pmd.rst => eventdev_pipeline.rst} | 6 +++--- doc/guides/sample_app_ug/index.rst

[dpdk-dev] [PATCH 12/13] examples/eventdev_pipeline_sw_pmd: rename example

2017-12-07 Thread Pavan Nikhilesh
Rename eventdev_pipeline_sw_pmd to eventdev_pipeline as it is no longer specific underlying event device. Signed-off-by: Pavan Nikhilesh --- examples/Makefile | 2 +- examples/{eventdev_pipeline_sw_pmd => eventdev_pipeline}/Makefile | 2

[dpdk-dev] [PATCH 10/13] examples/eventdev: add single stage pipeline worker

2017-12-07 Thread Pavan Nikhilesh
Add optimized eventdev pipeline when ethdev supports thread safe Tx and number of configured stages is one. Signed-off-by: Pavan Nikhilesh --- .../eventdev_pipeline_sw_pmd/pipeline_worker_tx.c | 109 +++-- 1 file changed, 101 insertions(+), 8 deletions(-) diff --git a/examples/

[dpdk-dev] [PATCH 11/13] examples/eventdev: add atq single stage pipeline worker

2017-12-07 Thread Pavan Nikhilesh
Add optimized eventdev pipeline when ethdev supports thread safe Tx, number of configured stages is one and all type queue option is enabled. Signed-off-by: Pavan Nikhilesh --- .../eventdev_pipeline_sw_pmd/pipeline_worker_tx.c | 88 +- 1 file changed, 86 insertions(+), 2 del

[dpdk-dev] [PATCH 08/13] examples/eventdev: add burst for thread safe pipeline

2017-12-07 Thread Pavan Nikhilesh
Add burst mode worker pipeline when Tx is multi thread safe. Signed-off-by: Pavan Nikhilesh --- .../eventdev_pipeline_sw_pmd/pipeline_worker_tx.c | 78 +- 1 file changed, 76 insertions(+), 2 deletions(-) diff --git a/examples/eventdev_pipeline_sw_pmd/pipeline_worker_tx.c b

[dpdk-dev] [PATCH 09/13] examples/eventdev: add all type queue option

2017-12-07 Thread Pavan Nikhilesh
Added configurable option to make queue type as all type queues i.e. RTE_EVENT_QUEUE_CFG_ALL_TYPES based on event dev capability RTE_EVENT_DEV_CAP_QUEUE_ALL_TYPES. This can be enabled by supplying '-a' as a cmdline argument. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/m

[dpdk-dev] [PATCH 07/13] examples/eventdev: add thread safe Tx worker pipeline

2017-12-07 Thread Pavan Nikhilesh
Add worker pipeline when Tx is multi thread safe. Probe Ethernet dev capabilities and select it it is supported. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/Makefile | 1 + examples/eventdev_pipeline_sw_pmd/main.c | 18 +- .../eventdev_pipeline_sw_pm

[dpdk-dev] [PATCH 06/13] examples/eventdev: add non burst mode generic worker

2017-12-07 Thread Pavan Nikhilesh
Currently, worker uses burst dequeue and burst enqueue to forward events. Add a non burst mode based on the event dev capabilities. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/main.c | 12 +- .../pipeline_worker_generic.c | 153 +++

[dpdk-dev] [PATCH 05/13] examples/eventdev: add ops to check cmdline args

2017-12-07 Thread Pavan Nikhilesh
Each eventdev pipeline needs to allow different cmdline args combination based on pipeline type. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/main.c | 16 +++-- .../eventdev_pipeline_sw_pmd/pipeline_common.h | 4 +++ .../pipeline_worker_generic.c

[dpdk-dev] [PATCH 04/13] examples/eventdev: add generic worker pipeline

2017-12-07 Thread Pavan Nikhilesh
Rename existing pipeline as generic worker pipeline. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/Makefile | 1 + examples/eventdev_pipeline_sw_pmd/main.c | 432 + .../eventdev_pipeline_sw_pmd/pipeline_common.h | 56 +++ .../pi

[dpdk-dev] [PATCH 03/13] examples/eventdev: add framework for caps based pipeline

2017-12-07 Thread Pavan Nikhilesh
Add framework to support capability based pipeline. Based on the capability of event device and probed ethernet devices the optimal pipeline configuration can be chosen. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/pipeline_common.h | 11 +++ 1 file changed, 11 in

[dpdk-dev] [PATCH 02/13] examples/eventdev: move common data into pipeline common

2017-12-07 Thread Pavan Nikhilesh
Move common structures and functions into pipeline_common.h so that they can be used by different kinds of pipelines. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/main.c | 77 +-- .../eventdev_pipeline_sw_pmd/pipeline_common.h | 109

[dpdk-dev] [PATCH 01/13] examples/eventdev: add Rx adapter support

2017-12-07 Thread Pavan Nikhilesh
Use event Rx adapter for packets Rx instead of explicit producer logic. Use service run iter function for granular control instead of using dedicated service lcore. Signed-off-by: Pavan Nikhilesh --- examples/eventdev_pipeline_sw_pmd/main.c | 149 +-- 1 file changed,

[dpdk-dev] [PATCH 00/13] examples/eventdev: add capability based pipeline support

2017-12-07 Thread Pavan Nikhilesh
The eventdev_pipeline_sw_pmd supports a single pipeline type that follows a strict Rx - Worker - Tx pipeline flow. This patch-set aims to generalise pipeline configuration across event devices based on their capabilities. The Rx, Tx and worker functionalities are classified based on these capabilit

Re: [dpdk-dev] [PATCH v1] net/tap: allow user mac to be passed as args

2017-12-07 Thread Ferruh Yigit
On 11/30/2017 11:49 AM, Vipin Varghese wrote: > One of the uses cases from customer site is use TAP PMD to intake > user specific MAC address during probe. This allows applications > make use of interfaces with desired MAC. > > Extending MAC argumentinfrastructure for tap PMD; we pass custom > MAC

Re: [dpdk-dev] [PATCH 4/5] app/testpmd: add configuration for udp port tunnel type

2017-12-07 Thread Shaikh, Shahed
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Thursday, December 7, 2017 6:09 AM > To: Mody, Rasesh ; dev@dpdk.org > Cc: Shaikh, Shahed ; Dept-Eng DPDK Dev engdpdk...@cavium.com> > Subject: Re: [dpdk-dev] [PATCH 4/5] app/testpmd: add configuration for

Re: [dpdk-dev] [PATCH 1/5] net/virtio: fix vector Rx break caused by rxq flushing

2017-12-07 Thread Fischetti, Antonio
Hi Tiwei, I've tested this patch on my 2 test cases described in the previous threads http://www.dpdk.org/ml/archives/dev/2017-November/081839.html http://www.dpdk.org/ml/archives/dev/2017-December/082801.html 1. testpmd on the host and testpmd in the guest 2. OvS-DPDK on the host and testpm

Re: [dpdk-dev] [PATCH] net/szedata2: fix check of mmap return value

2017-12-07 Thread Ferruh Yigit
On 12/7/2017 6:54 AM, Matej Vido wrote: > Fixes: 9eddbdb4b094 ("szedata2: support link state operations") > Cc: sta...@dpdk.org > > Signed-off-by: Matej Vido Applied to dpdk-next-net/master, thanks.

Re: [dpdk-dev] [PATCH 2/2] event/sw: use dynamically-sized IQs

2017-12-07 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Thursday, November 30, 2017 3:09 AM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > ; Richardson, Bruce > ; hemant.agra...@nxp.com; nipun.gu...@nxp.com; > santosh.shu...@caviumnetworks.com; pbhagavat...@caviumnetworks.com > Subject: [PATCH 2/2

Re: [dpdk-dev] [PATCH 1/2] event/sw: fix queue memory leak and multi-link bug

2017-12-07 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Thursday, November 30, 2017 3:09 AM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > ; Richardson, Bruce > ; hemant.agra...@nxp.com; nipun.gu...@nxp.com; > santosh.shu...@caviumnetworks.com; pbhagavat...@caviumnetworks.com > Subject: [PATCH 1/2

Re: [dpdk-dev] [PATCH] lib/cmdline: init parse result memeory

2017-12-07 Thread Adrien Mazarguil
On Thu, Dec 07, 2017 at 03:35:24PM +, Xueming(Steven) Li wrote: > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xueming(Steven) Li > > Sent: Thursday, December 7, 2017 11:05 PM > > To: Olivier MATZ > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PAT

Re: [dpdk-dev] Max rnc/dec flow for coletocreek

2017-12-07 Thread Pankaj Joshi
Including dpdk_dev On 6 Dec 2017 10:50 pm, "Pankaj Joshi" wrote: > Hello All, > I want to know that how many maximum no of flow/rule can be installed on > coletocreek hardware. > > Regards, > Pankaj Joshi > >

Re: [dpdk-dev] [PATCH 1/5] net/virtio: fix vector Rx break caused by rxq flushing

2017-12-07 Thread Kevin Traynor
On 12/07/2017 05:30 AM, Tiwei Bie wrote: > The vector Rx will be broken if backend has consumed all > the descs in the avail ring before the device is started. > Because in current implementation, vector Rx will return > immediately without refilling the avail ring if the used > ring is empty. So w

[dpdk-dev] [dpdk-announce] DPDK 17.08.1 released

2017-12-07 Thread Yuanhan Liu
Hi all, Here is a new stable release: http://fast.dpdk.org/rel/dpdk-17.08.1.tar.xz The git tree is at: http://dpdk.org/browse/dpdk-stable/ Thanks. --yliu --- app/test-crypto-perf/cperf_options_parsing.c | 20 +- app/test-crypto-perf/cperf_test_vector_parsing.c | 55 +

Re: [dpdk-dev] [PATCH] lib/cmdline: init parse result memeory

2017-12-07 Thread Xueming(Steven) Li
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xueming(Steven) Li > Sent: Thursday, December 7, 2017 11:05 PM > To: Olivier MATZ > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/cmdline: init parse result memeory > > Hi Olivier, > > > -Original M

Re: [dpdk-dev] [PATCH v1] lib/cmdline: support backspace key

2017-12-07 Thread Olivier MATZ
On Thu, Dec 07, 2017 at 10:52:02PM +0800, Xueming Li wrote: > Support windows putty "\b"(Ctrl-H) backspace key. > > Signed-off-by: Xueming Li Acked-by: Olivier Matz

Re: [dpdk-dev] [PATCH] lib/cmdline: init parse result memeory

2017-12-07 Thread Xueming(Steven) Li
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.m...@6wind.com] > Sent: Thursday, December 7, 2017 10:48 PM > To: Xueming(Steven) Li > Cc: dev@dpdk.org > Subject: Re: [PATCH] lib/cmdline: init parse result memeory > > On Wed, Nov 15, 2017 at 11:54:02PM +0800, Xuemin

[dpdk-dev] [PATCH] net/szedata2: fix check of mmap return value

2017-12-07 Thread Matej Vido
Fixes: 9eddbdb4b094 ("szedata2: support link state operations") Cc: sta...@dpdk.org Signed-off-by: Matej Vido --- drivers/net/szedata2/rte_eth_szedata2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/szedata2/rte_eth_szedata2.c b/drivers/net/szedata2/rte_eth_sz

[dpdk-dev] [PATCH v1] lib/cmdline: support backspace key

2017-12-07 Thread Xueming Li
Support windows putty "\b"(Ctrl-H) backspace key. Signed-off-by: Xueming Li --- lib/librte_cmdline/cmdline_rdline.c | 1 + lib/librte_cmdline/cmdline_vt100.c | 1 + lib/librte_cmdline/cmdline_vt100.h | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/librte_cmdline/cmdline_rdline.c b/l

Re: [dpdk-dev] [PATCH] lib/cmdline: init parse result memeory

2017-12-07 Thread Olivier MATZ
On Wed, Nov 15, 2017 at 11:54:02PM +0800, Xueming Li wrote: > Initialize binary result memory before parsing to avoid garbage in > parsing result. > > Signed-off-by: Xueming Li > --- > lib/librte_cmdline/cmdline_parse.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_cmdli

[dpdk-dev] [VMXNET3]: device activation failed, while hotplug a vmxnet3 nic

2017-12-07 Thread 许可
Hi, I hit an interesting issue recently, while I try to hotplug a vmxnet3 nic to a vm. Here is the environment, ESXi 6.0 DPDK-16.07 Guest linux kernel 3.10.20 VM is running in ESXi6.0, I use Vsphere Client to Edit setting, add a vmxnet3 nic to this running vm (hotpl

Re: [dpdk-dev] [PATCH] lib/cmdline: support backspace key

2017-12-07 Thread Olivier MATZ
Hi Xueming, On Wed, Nov 15, 2017 at 11:51:56PM +0800, Xueming Li wrote: > Support windows putty "\b"(Ctrl-H) backspace key. > > Signed-off-by: Xueming Li > --- > lib/librte_cmdline/cmdline_rdline.c | 1 + > lib/librte_cmdline/cmdline_vt100.c | 1 + > lib/librte_cmdline/cmdline_vt100.h | 1 + >

Re: [dpdk-dev] [PATCH v2 06/10] net/virtio: fix queue setup consistency

2017-12-07 Thread Olivier MATZ
Hi Tiwei, On Wed, Dec 06, 2017 at 01:25:29PM +0800, Tiwei Bie wrote: > Hi Maxime and Olivier: > > On Thu, Sep 07, 2017 at 02:13:43PM +0200, Olivier Matz wrote: > [...] > > diff --git a/drivers/net/virtio/virtio_ethdev.c > > b/drivers/net/virtio/virtio_ethdev.c > > index 8eee3ff80..c7888f103 1006

Re: [dpdk-dev] [PATCH 3/3] logs: remove log level config option

2017-12-07 Thread Pavan Nikhilesh Bhagavatula
Hi Oliver, Thanks for the review. On Thu, Dec 07, 2017 at 02:21:21PM +0100, Olivier MATZ wrote: > On Wed, Nov 22, 2017 at 02:58:06PM +0530, Pavan Nikhilesh wrote: > > Remove RTE_LOG_LEVEL config option, use existing RTE_LOG_DP_LEVEL config > > option for controlling datapath log level. > > RTE_LO

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

2017-12-07 Thread Yuanhan Liu
On Mon, Dec 04, 2017 at 08:40:03PM +, Patil, Harish wrote: > > > -Original Message- > From: dev on behalf of Yuanhan Liu > > Date: Monday, November 27, 2017 at 4:21 AM > To: dpdk stable > Cc: "dev@dpdk.org" , "Xu, Qian Q" > Subject: [dpdk-dev] 17.08.1 patches review and test > >

Re: [dpdk-dev] [PATCH 3/3] logs: remove log level config option

2017-12-07 Thread Olivier MATZ
On Wed, Nov 22, 2017 at 02:58:06PM +0530, Pavan Nikhilesh wrote: > Remove RTE_LOG_LEVEL config option, use existing RTE_LOG_DP_LEVEL config > option for controlling datapath log level. > RTE_LOG_LEVEL is no longer needed as dynamic logging can be used to > control global and module specific log lev

Re: [dpdk-dev] [PATCH 2/3] eal: update default log levels

2017-12-07 Thread Olivier MATZ
On Wed, Nov 22, 2017 at 02:58:05PM +0530, Pavan Nikhilesh wrote: > Use global default loglevel to DEBUG(8) and dynamic default loglevel > to INFO(7). > > Signed-off-by: Pavan Nikhilesh Reviewed-by: Olivier Matz

Re: [dpdk-dev] [PATCH] vhost: support UDP Fragmentation Offload

2017-12-07 Thread Hu, Jiayu
Hi Maxime, > -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Wednesday, December 6, 2017 4:37 PM > To: Hu, Jiayu ; dev@dpdk.org > Cc: y...@fridaylinux.org; Tan, Jianfeng > Subject: Re: [dpdk-dev] [PATCH] vhost: support UDP Fragmentation Offload > >

Re: [dpdk-dev] [PATCH 1/3] eal: update legacy modules dynamic logs regex

2017-12-07 Thread Olivier MATZ
On Wed, Nov 22, 2017 at 02:58:04PM +0530, Pavan Nikhilesh wrote: > Update legacy log types regex strings used for registering dynamic logs. > > Signed-off-by: Pavan Nikhilesh > --- > Note: > This patchset is based on patch set > http://dpdk.org/dev/patchwork/patch/31443/ > followed by ml disc

[dpdk-dev] document for rte_flow

2017-12-07 Thread Tetsuro Nakamura
Hi all, Thanks to the document Zhao Wei-san sent to me the other day, I could evaluate the L2 switching performance with Generic flow API, with "Intel X552 NIC (10G)". Now I am very interested in what happens with the performance with my Intel "XL710 NIC (40G)" and "Intel XXV710 (25G)". So my q

Re: [dpdk-dev] [PATCH v2 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-12-07 Thread Nelio Laranjeiro
Hi Anoob, On Thu, Dec 07, 2017 at 03:17:40PM +0530, Anoob wrote: > Hi Nelio, > > > On 12/04/2017 07:41 PM, Nelio Laranjeiro wrote: > > Mellanox INNOVA NIC needs to have final target queue actions to perform > > inline crypto. > > > > Signed-off-by: Nelio Laranjeiro > > > > --- > > > > Change

Re: [dpdk-dev] [PATCH v3 0/8] improve mlx4 Tx performance

2017-12-07 Thread Adrien Mazarguil
On Wed, Dec 06, 2017 at 05:57:48PM +, Matan Azrad wrote: > This series improves mlx4 Tx performance and fix and clean some Tx code. > 1. 10% MPPS improvement for 1 queue, 1 core, 64B packets, txonly mode. > 2. 20% MPPS improvement for 1 queue, 1 core, 32B*4(segs) packets, txonly mode. > > V2:

Re: [dpdk-dev] [PATCH 4/5] net/virtio: remove redundant macro definitions for vector Rx

2017-12-07 Thread Tiwei Bie
On Thu, Dec 07, 2017 at 10:18:14AM +0100, Maxime Coquelin wrote: > On 12/07/2017 06:30 AM, Tiwei Bie wrote: > > RTE_VIRTIO_VPMD_RX_BURST and RTE_VIRTIO_VPMD_RX_REARM_THRESH > > have been defined and used in virtio_rxtx_simple.h, but are > > defined agained in virtio_rxtx_simple_*.c. It just happens

Re: [dpdk-dev] [PATCH 5/5] net/virtio: squeeze repeated blank lines

2017-12-07 Thread Tiwei Bie
On Thu, Dec 07, 2017 at 10:22:43AM +0100, Maxime Coquelin wrote: > On 12/07/2017 06:30 AM, Tiwei Bie wrote: > > Squeeze repeated blank lines with below scripts: > > > > for i in $(find . -name "*.[ch]"); do \ > > cat -s $i > /tmp/x && mv /tmp/x $i; done > > > > Signed-off-by: Tiwei Bie > >

Re: [dpdk-dev] [PATCH v3 1/4] vhost: prevent features to be changed while device is running

2017-12-07 Thread Tiwei Bie
On Thu, Dec 07, 2017 at 09:39:06AM +0100, Maxime Coquelin wrote: > On 12/07/2017 09:08 AM, Tiwei Bie wrote: > > On Wed, Dec 06, 2017 at 10:20:45AM +0100, Maxime Coquelin wrote: > > > As section 2.2 of the Virtio spec states about features > > > negotiation: > > > "During device initialization, the

[dpdk-dev] [PATCH 02/2] bus/fslmc: clear the vfio group on error

2017-12-07 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 7831201..25c87ad 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -660,

[dpdk-dev] [PATCH 01/2] vfio: expose clear group function for internal usages

2017-12-07 Thread Hemant Agrawal
other vfio based module e.g. fslmc will also need to use the clear_group call. So, exposing it and renaming it to *rte_vfio_clear_group* Signed-off-by: Hemant Agrawal --- lib/librte_eal/linuxapp/eal/eal_vfio.c | 18 +- lib/librte_eal/linuxapp/eal/eal_vfio.h | 2 +

Re: [dpdk-dev] [PATCH] vhost_user: protect active rings from async ring changes

2017-12-07 Thread Maxime Coquelin
On 12/07/2017 10:33 AM, Tan, Jianfeng wrote: -Original Message- From: Victor Kaplansky [mailto:vkapl...@redhat.com] Sent: Wednesday, December 6, 2017 9:56 PM To: dev@dpdk.org; y...@fridaylinux.org; Bie, Tiwei; Tan, Jianfeng; vkapl...@redhat.com Cc: sta...@dpdk.org; jfrei...@redhat.co

Re: [dpdk-dev] [RFC v2] lib: add compressdev API

2017-12-07 Thread Verma, Shally
> -Original Message- > From: Trahe, Fiona [mailto:fiona.tr...@intel.com] > Sent: 24 November 2017 22:26 > To: dev@dpdk.org; Verma, Shally > Cc: Challa, Mahipal ; Athreya, Narayana > Prasad ; > pablo.de.lara.gua...@intel.com; fiona.tr...@intel.com > Subject: [RFC v2] lib: add compressdev

Re: [dpdk-dev] [PATCH v2 2/2] examples/ipsec-secgw: add target queues in flow actions

2017-12-07 Thread Anoob
Hi Nelio, On 12/04/2017 07:41 PM, Nelio Laranjeiro wrote: Mellanox INNOVA NIC needs to have final target queue actions to perform inline crypto. Signed-off-by: Nelio Laranjeiro --- Changes in v2: * Test the rule by PASSTHRU/RSS/QUEUE and apply the first one validated. --- examples/ipse

  1   2   >