Re: [dpdk-dev] DPDK Installation

2017-03-30 Thread Christian Ehrhardt
On Wed, Mar 29, 2017 at 9:43 PM, Ashwini Thaokar wrote: > > You must put some 'source' URIs in your sources.list Given the error message you likely want to user "apt build-dep" to automatically get all dependencies to build a dpdk app by pulling in what Ubuntu uses to build DPDK. Since this is

Re: [dpdk-dev] [PATCH v4 3/4] net/i40e: add MPLS parsing function

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, March 30, 2017 12:08 PM > To: Wu, Jingjing > Cc: Zhang, Helin ; Iremonger, Bernard > ; dev@dpdk.org > Subject: [PATCH v4 3/4] net/i40e: add MPLS parsing function > > This patch add MPLS parsing function to support MPLS filterin

Re: [dpdk-dev] [PATCH v8 0/6] dynamic device personalization support

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, March 30, 2017 10:52 AM > To: Wu, Jingjing > Cc: Zhang, Helin ; dev@dpdk.org > Subject: [PATCH v8 0/6] dynamic device personalization support > > Due to limited resources of X*710 (parser and analyzer configuration tables, > nu

[dpdk-dev] [PATCH] rename Cesnet Combo cards to Netcope NFB, NPC and NSF

2017-03-30 Thread Viktor Pus
This is to reflect that the cards are available from Netcope, not Cesnet. Signed-off-by: Viktor Pus --- doc/nics.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/nics.html b/doc/nics.html index f3eff47..02c05ca 100644 --- a/doc/nics.html +++ b/doc/nics.html @@ -54

Re: [dpdk-dev] [PATCH v4 4/4] net/i40e: enable tunnel filter for MPLS

2017-03-30 Thread Xing, Beilei
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, March 30, 2017 2:17 PM > To: Xing, Beilei > Cc: Zhang, Helin ; Iremonger, Bernard > ; dev@dpdk.org > Subject: RE: [PATCH v4 4/4] net/i40e: enable tunnel filter for MPLS > > > int > > i40e_dev_consistent_tunnel_filter_set(stru

Re: [dpdk-dev] [PATCH v4 4/4] net/i40e: enable tunnel filter for MPLS

2017-03-30 Thread Wu, Jingjing
> int > i40e_dev_consistent_tunnel_filter_set(struct i40e_pf *pf, > struct i40e_tunnel_filter_conf *tunnel_filter, @@ -6954,6 > +7063,8 @@ i40e_dev_consistent_tunnel_filter_set(struct i40e_pf *pf, > struct i40e_tunnel_rule *tunnel_rule = &pf->tunnel; > struct i40e_

Re: [dpdk-dev] [PATCH v4 3/4] net/i40e: add MPLS parsing function

2017-03-30 Thread Xing, Beilei
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, March 30, 2017 2:04 PM > To: Xing, Beilei > Cc: Zhang, Helin ; Iremonger, Bernard > ; dev@dpdk.org > Subject: RE: [PATCH v4 3/4] net/i40e: add MPLS parsing function > > > > > -Original Message- > > From: Xing, Beilei

[dpdk-dev] [PATCH v5 1/4] ethdev: add MPLS and GRE items

2017-03-30 Thread Beilei Xing
This patch adds MPLS and GRE items to generic rte flow. Signed-off-by: Beilei Xing Acked-by: Adrien Mazarguil --- doc/guides/prog_guide/rte_flow.rst | 21 ++-- lib/librte_ether/rte_flow.h| 51 ++ 2 files changed, 70 insertions(+), 2 deleti

[dpdk-dev] [PATCH v5 0/4] add support for MPLS tunnel filter

2017-03-30 Thread Beilei Xing
This patchset adds support for MPLSoGRE and MPLSoUDP tunnel filters. I40e NICs can't recongnize MPLS tunnel packets by default, so need to load a profile to FW first, then MPLS tunnel packets can be recongnized with packet type 61 and 63. It depends on pipeline personalization profile support and c

[dpdk-dev] [PATCH v5 3/4] net/i40e: add MPLS parsing function

2017-03-30 Thread Beilei Xing
This patch add MPLS parsing function to support MPLS filtering. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.h | 2 + drivers/net/i40e/i40e_flow.c | 205 - 2 files changed, 206 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/

[dpdk-dev] [PATCH v5 2/4] app/testpmd: add MPLS and GRE fields to flow command

2017-03-30 Thread Beilei Xing
This patch exposes the following item fields through the flow command: - MPLS label - GRE protocol Signed-off-by: Beilei Xing Acked-by: Adrien Mazarguil --- app/test-pmd/cmdline_flow.c | 47 + app/test-pmd/config.c | 2 ++ do

[dpdk-dev] [PATCH v5 4/4] net/i40e: enable tunnel filter for MPLS

2017-03-30 Thread Beilei Xing
MPLSoUDP & MPLSoGRE is not supported by tunnel filter due to limited resource of HW, this patch enables MPLS tunnel filter by replacing inner_mac filter. This configuration will be set when adding MPLSoUDP and MPLSoGRE filter rules, and it will be invalid only by NIC core reset. Signed-off-by: Bei

Re: [dpdk-dev] [PATCH v3 2/3] net/i40e: implement device reset on port

2017-03-30 Thread Wu, Jingjing
Looks good, just minor comment > +static int > +i40evf_reset_dev(struct rte_eth_dev *dev) { > + struct i40e_adapter *adapter = > + I40E_DEV_PRIVATE_TO_ADAPTER(dev->data->dev_private); > + > + adapter->reset_flag = 1; > + i40evf_store_before_reset(dev); > + > + i40evf_de

[dpdk-dev] [PATCH] doc: add the doc to show how to use VF daemon

2017-03-30 Thread Wenzhuo Lu
VFd is an experimental feature. It's so different from the traditional features. So add a document to show how to use it. Signed-off-by: Wenzhuo Lu --- doc/guides/howto/img/vf_daemon_overview.svg | 440 +++ doc/guides/howto/index.rst | 1 + doc/guides/h

Re: [dpdk-dev] [PATCH v5 1/3] crypto/scheduler: add fail-over scheduling mode file

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:31 PM, Fan Zhang wrote: This patch adds the fail-over scheduling mode main source file. Fail-over mode works with 2 slaves, primary slave and secondary slave. In this mode, the scheduler will enqueues the incoming crypto op burst to the primary slave. When one or more crypto ops a

Re: [dpdk-dev] [PATCH v2 2/4] config: enable crypto scheduler PMD by default

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:38 PM, Bruce Richardson wrote: The crypto scheduler PMD has no external dependencies to enable that by default. Signed-off-by: Bruce Richardson --- config/common_base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/common_base b/config/common_base ind

Re: [dpdk-dev] [PATCH v4 1/3] crypto/scheduler: add packet size based mode code

2017-03-30 Thread Declan Doherty
On 29/03/2017 9:25 AM, Fan Zhang wrote: This patch adds the packet size based distribution mode main source file. Packet-size based distribution mode is a scheduling mode works with 2 slaves, the primary slave and the secondary slave, and distributes the enqueued crypto operations to them based

Re: [dpdk-dev] [PATCH v2 3/4] devtools: remove special case build for perf thread example

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:38 PM, Bruce Richardson wrote: Since performance-thread example app is now built as part of make examples we don't need a special case line for it in testbuild.sh script Signed-off-by: Bruce Richardson --- devtools/test-build.sh | 3 --- 1 file changed, 3 deletions(-) diff --g

Re: [dpdk-dev] [PATCH v2 1/4] examples: enable performance-thread in examples build

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:38 PM, Bruce Richardson wrote: The performance-thread example was not build by default in the make examples build target. It will compile ok for x86_64 targets so add it to the examples makefile list for that platform. Signed-off-by: Bruce Richardson --- examples/Makefile | 3 +

Re: [dpdk-dev] [PATCH v5 2/3] crypto/scheduler: enable fail-over scheduling mode

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:31 PM, Fan Zhang wrote: This patch enables the fail-over mode in scheduler PMD. Signed-off-by: Fan Zhang --- Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v5 3/3] doc: update cryptodev scheduler PMD documentation

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:31 PM, Fan Zhang wrote: This patch updates fail-over scheduling mode description. Signed-off-by: Fan Zhang --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v2 4/4] devtools: add autotest app to build script

2017-03-30 Thread Declan Doherty
On 29/03/2017 5:38 PM, Bruce Richardson wrote: Since the test app is no longer being build by default as part of a build, we need to update the testbuild script to take account of this. Signed-off-by: Bruce Richardson --- V2: added in test-build as a new build action, since it skips the testpmd

[dpdk-dev] [PATCH] net/mlx5: remove not needed query if and rd from create qp

2017-03-30 Thread Shahaf Shuler
Since mlx5 PMD data path is on top of PRM, such verbs calls are no longer needed. Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxq.c | 79 +--- drivers/net/mlx5/mlx5_rxtx.h | 6 --- drivers/net/mlx5/mlx5_txq.c | 87 +---

Re: [dpdk-dev] [PATCH v5 3/4] net/i40e: add MPLS parsing function

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, March 30, 2017 2:57 PM > To: Wu, Jingjing > Cc: Zhang, Helin ; Iremonger, Bernard > ; dev@dpdk.org > Subject: [PATCH v5 3/4] net/i40e: add MPLS parsing function > > This patch add MPLS parsing function to support MPLS filtering

Re: [dpdk-dev] [PATCH v5 4/4] net/i40e: enable tunnel filter for MPLS

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Thursday, March 30, 2017 2:57 PM > To: Wu, Jingjing > Cc: Zhang, Helin ; Iremonger, Bernard > ; dev@dpdk.org > Subject: [PATCH v5 4/4] net/i40e: enable tunnel filter for MPLS > > MPLSoUDP & MPLSoGRE is not supported by tunnel filter due

Re: [dpdk-dev] [PATCH v6 20/21] doc: add event device and software eventdev

2017-03-30 Thread Burakov, Anatoly
Hi Harry, Small cosmetic suggestions :) > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, March 30, 2017 12:26 AM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > > Subject: [dpdk-dev] [PATCH v6 20/21] doc: add event device and

Re: [dpdk-dev] [PATCH v6 12/21] event/sw: add start stop and close functions

2017-03-30 Thread Jerin Jacob
On Thu, Mar 30, 2017 at 12:25:54AM +0100, Harry van Haaren wrote: > From: Bruce Richardson > > Signed-off-by: Bruce Richardson > Signed-off-by: Harry van Haaren > > Acked-by: Jerin Jacob > > --- > > v6: > - Removed printf() using SW_LOG_ERR instead (Jerin) > - Added rte_smp_wmb() to start()

[dpdk-dev] [PATCH v6 0/4] add support for MPLS tunnel filter

2017-03-30 Thread Beilei Xing
This patchset adds support for MPLSoGRE and MPLSoUDP tunnel filters. I40e NICs can't recongnize MPLS tunnel packets by default, so need to load a profile to FW first, then MPLS tunnel packets can be recongnized with packet type 61 and 63. It depends on pipeline personalization profile support and c

[dpdk-dev] [PATCH v6 1/4] ethdev: add MPLS and GRE items

2017-03-30 Thread Beilei Xing
This patch adds MPLS and GRE items to generic rte flow. Signed-off-by: Beilei Xing Acked-by: Adrien Mazarguil --- doc/guides/prog_guide/rte_flow.rst | 21 ++-- lib/librte_ether/rte_flow.h| 51 ++ 2 files changed, 70 insertions(+), 2 deleti

[dpdk-dev] [PATCH v6 2/4] app/testpmd: add MPLS and GRE fields to flow command

2017-03-30 Thread Beilei Xing
This patch exposes the following item fields through the flow command: - MPLS label - GRE protocol Signed-off-by: Beilei Xing Acked-by: Adrien Mazarguil --- app/test-pmd/cmdline_flow.c | 47 + app/test-pmd/config.c | 2 ++ do

[dpdk-dev] [PATCH v6 3/4] net/i40e: add MPLS parsing function

2017-03-30 Thread Beilei Xing
This patch add MPLS parsing function to support MPLS filtering. Signed-off-by: Beilei Xing Acked-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.h | 2 + drivers/net/i40e/i40e_flow.c | 205 - 2 files changed, 206 insertions(+), 1 deletion(-) diff --

[dpdk-dev] [PATCH v6 4/4] net/i40e: enable tunnel filter for MPLS

2017-03-30 Thread Beilei Xing
MPLSoUDP & MPLSoGRE is not supported by tunnel filter due to limited resource of HW, this patch enables MPLS tunnel filter by replacing inner_mac filter. This configuration will be set when adding MPLSoUDP and MPLSoGRE filter rules, and it will be invalid only by NIC core reset. Signed-off-by: Bei

Re: [dpdk-dev] [PATCH v2 1/3] crypto/qat: add support for Intel QAT device D15xx

2017-03-30 Thread Jain, Deepak K
> -Original Message- > From: Trahe, Fiona > Sent: Thursday, March 9, 2017 7:21 PM > To: dev@dpdk.org; De Lara Guarch, Pablo > ; Kusztal, ArkadiuszX > > Cc: Jain, Deepak K ; Trahe, Fiona > ; Griffin, John > Subject: [PATCH v2 1/3] crypto/qat: add support for Intel QAT device D15xx > > Ad

Re: [dpdk-dev] [PATCH v6 12/21] event/sw: add start stop and close functions

2017-03-30 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Thursday, March 30, 2017 9:24 AM > To: Van Haaren, Harry > Cc: dev@dpdk.org; Richardson, Bruce > Subject: Re: [PATCH v6 12/21] event/sw: add start stop and close functions > > static int > > +sw_start(struct rte_eventdev *dev

Re: [dpdk-dev] [PATCH v2] mk: optimize directory dependencies

2017-03-30 Thread Olivier Matz
Hi Ferruh, On Tue, 28 Mar 2017 11:34:35 +0100, Ferruh Yigit wrote: > On 3/24/2017 1:21 PM, Olivier Matz wrote: > > Before this patch, the management of dependencies between directories > > had several issues: > > > > - the generation of .depdirs, done at configuration is slow: it can take > >

[dpdk-dev] [PATCH 1/2] net/tap: UDP/TCP port mask not supported in flow

2017-03-30 Thread Pascal Mazon
Only full mask (0x) is accepted, there is no way to specify a mask for layer 4 ports to the kernel using TC rules. Fixes: 1c71189ab9b7 ("net/tap: add basic flow API patterns and actions") Signed-off-by: Pascal Mazon --- drivers/net/tap/tap_flow.c | 20 1 file changed, 1

Re: [dpdk-dev] [PATCH v4 00/17] Wind River Systems AVP PMD vs virtio? - ivshmem is back

2017-03-30 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Fri, Mar 17, 2017 at 09:48:38AM +0100, Thomas Monjalon wrote: >> We are discussing about IVSHMEM but its support by Qemu is confused. >> This feature is not in the MAINTAINERS file of Qemu. >> Please Qemu maintainers, what is the future of IVSHMEM? Red-headed stepchi

[dpdk-dev] [PATCH 2/2] net/tap: remove minimum packet size in Rx

2017-03-30 Thread Pascal Mazon
With support for segmented packets, it is now possible to easily receive packets of many sizes, given an adequate number of descriptors. Remove limitation on the minimum size of mbuf: on reception, if a packet won't fit in the queue's mbufs, it will be detected in the packet info and the packet wi

Re: [dpdk-dev] [PATCH v3 3/3] app/testpmd: add port reset command into testpmd

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wei Zhao > Sent: Tuesday, March 28, 2017 4:09 PM > To: dev@dpdk.org > Cc: Zhao1, Wei ; Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH v3 3/3] app/testpmd: add port reset command into > testpmd > > Add port reset comma

Re: [dpdk-dev] [PATCH v3 3/3] app/testpmd: add port reset command into testpmd

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, March 30, 2017 4:55 PM > To: 'Wei Zhao' ; dev@dpdk.org > Cc: Zhao1, Wei ; Lu, Wenzhuo > Subject: RE: [dpdk-dev] [PATCH v3 3/3] app/testpmd: add port reset command > into testpmd > > > > > -Original Message- > > From:

Re: [dpdk-dev] [PATCH v3 3/3] app/testpmd: add port reset command into testpmd

2017-03-30 Thread Zhao1, Wei
HI, jingjing Ok, I will commit a v4 version. > -Original Message- > From: Wu, Jingjing > Sent: Thursday, March 30, 2017 4:55 PM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Zhao1, Wei ; Lu, Wenzhuo > > Subject: RE: [dpdk-dev] [PATCH v3 3/3] app/testpmd: add port reset > command into testpmd

Re: [dpdk-dev] [PATCH v2] net/ixgbe: ensure link status is updated

2017-03-30 Thread Olivier Matz
Hi, Can this patch be applied? Thanks, Olivier On Thu, 16 Feb 2017 17:32:01 +0100, Olivier Matz wrote: > From: Laurent Hardy > > In case of fiber and link speed set to 1Gb at peer side (with autoneg > or with defined speed), link status could be not properly updated at > time cable is plugge

Re: [dpdk-dev] [PATCH] doc: add eventdev library to programmers guide

2017-03-30 Thread Burakov, Anatoly
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Harry van Haaren > Sent: Wednesday, March 15, 2017 5:21 PM > To: dev@dpdk.org > Cc: Van Haaren, Harry > Subject: [dpdk-dev] [PATCH] doc: add eventdev library to programmers > guide > > This commit adds an entry in the programmers guide explai

[dpdk-dev] [PATCH v4 2/3] net/i40e: implement device reset on port

2017-03-30 Thread Wei Zhao
This patch implement the device reset function on vf port. This restart function will detach device then attach device, reconfigure dev, re-setup the Rx/Tx queues. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h

[dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset

2017-03-30 Thread Wei Zhao
Add support for port reset in rte layer.This reset feature can not only used in vf port reset in later code develop, but alsopf port.But in this patch set, we only limit the discussion scope to vf reset. This patch Add an API to restart the device. It's for VF device in this scenario, kernel PF + D

Re: [dpdk-dev] [PATCH v2] mk: optimize directory dependencies

2017-03-30 Thread Ferruh Yigit
On 3/30/2017 9:51 AM, Olivier Matz wrote: > Hi Ferruh, > > On Tue, 28 Mar 2017 11:34:35 +0100, Ferruh Yigit > wrote: >> On 3/24/2017 1:21 PM, Olivier Matz wrote: >>> Before this patch, the management of dependencies between directories >>> had several issues: >>> >>> - the generation of .depdirs

[dpdk-dev] [PATCH v4 0/3] net/i40e: vf port reset

2017-03-30 Thread Wei Zhao
The patches mainly finish following functions: 1) get pf reset vf comamand falg from interrupt server function. 2) reset vf port from testpmd app using a command. 3) sore and restore vf related parameters. v2: -change the order of patch in the set. -add more details in patch comment to clarify tha

[dpdk-dev] [PATCH v4 3/3] app/testpmd: add port reset command into testpmd

2017-03-30 Thread Wei Zhao
Add port reset command into testpmd project, it is the interface for user to reset port. And also it is not limit to be used only in vf reset, but also for pf port reset.But this patch set only realted to vf reset feature. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdli

Re: [dpdk-dev] [PATCH 0/9] mbuf: structure reorganization

2017-03-30 Thread Bruce Richardson
On Wed, Mar 29, 2017 at 09:09:23PM +0100, Bruce Richardson wrote: > On Wed, Mar 29, 2017 at 05:56:29PM +0200, Olivier Matz wrote: > > Hi, > > > > Does anyone have any other comment on this series? > > Can it be applied? > > > > > > Thanks, > > Olivier > > > > I assume all driver maintainers ha

[dpdk-dev] [PATCH v4 0/3] net/i40e: vf port reset

2017-03-30 Thread Wei Zhao
The patches mainly finish following functions: 1) get pf reset vf comamand falg from interrupt server function. 2) reset vf port from testpmd app using a command. 3) sore and restore vf related parameters. v2: -change the order of patch in the set. -add more details in patch comment to clarify tha

[dpdk-dev] [PATCH v4 1/3] lib/librte_ether: add support for port reset

2017-03-30 Thread Wei Zhao
Add support for port reset in rte layer.This reset feature can not only used in vf port reset in later code develop, but alsopf port.But in this patch set, we only limit the discussion scope to vf reset. This patch Add an API to restart the device. It's for VF device in this scenario, kernel PF + D

[dpdk-dev] [PATCH v4 2/3] net/i40e: implement device reset on port

2017-03-30 Thread Wei Zhao
This patch implement the device reset function on vf port. This restart function will detach device then attach device, reconfigure dev, re-setup the Rx/Tx queues. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h

[dpdk-dev] [PATCH v4 3/3] app/testpmd: add port reset command into testpmd

2017-03-30 Thread Wei Zhao
Add port reset command into testpmd project, it is the interface for user to reset port. And also it is not limit to be used only in vf reset, but also for pf port reset.But this patch set only realted to vf reset feature. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- app/test-pmd/cmdli

[dpdk-dev] next technical board meeting, 2017-04-06

2017-03-30 Thread Jerin Jacob
Hello everyone, A meeting of the DPDK technical board will occur next Thursday, April 6th 2017 at 9am UTC? The meeting takes place on the #dpdk-board channel on IRC. This meeting is public, so anybody can join, see below for the agenda. Jerin 1) Divergence between DPDK/Linux PF/VF implementatio

Re: [dpdk-dev] [PATCH v6 11/21] event/sw: add scheduling logic

2017-03-30 Thread Hunt, David
On 30/3/2017 12:25 AM, Harry van Haaren wrote: From: Bruce Richardson Add in the scheduling function which takes the events from the producer queues and buffers them before scheduling them to consumer queues. The scheduling logic includes support for atomic, reordered, and parallel scheduling o

Re: [dpdk-dev] [PATCH v13 3/6] lib: add bitrate statistics library

2017-03-30 Thread Pattan, Reshma
Hi Remy, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, March 29, 2017 7:29 PM > To: dev@dpdk.org > Cc: Thomas Monjalon > Subject: [dpdk-dev] [PATCH v13 3/6] lib: add bitrate statistics library > > +++ b/lib/librte_bitratestats/

Re: [dpdk-dev] [PATCH v13 3/6] lib: add bitrate statistics library

2017-03-30 Thread Pattan, Reshma
Hi Remy, Warning is shown in patchwork checkpatch status, you can check that too. Thanks, Reshma

Re: [dpdk-dev] [PATCH v13 6/6] app/test-pmd: add latency statistics calculation

2017-03-30 Thread Pattan, Reshma
Hi, Few nits. > -Original Message- > From: Horton, Remy > Sent: Wednesday, March 29, 2017 7:29 PM > To: dev@dpdk.org > Cc: Pattan, Reshma ; Thomas Monjalon > ; Van Haaren, Harry > > Subject: [PATCH v13 6/6] app/test-pmd: add latency statistics calculation > > > diff --git a/app/test-p

Re: [dpdk-dev] [PATCH v13 1/6] lib: add information metrics library

2017-03-30 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, March 29, 2017 7:29 PM > To: dev@dpdk.org > Cc: Thomas Monjalon > Subject: [dpdk-dev] [PATCH v13 1/6] lib: add information metrics library > > a/lib/librte_metrics/Makefile b/lib/li

Re: [dpdk-dev] [PATCH v6 13/21] event/sw: add dump function for easier debugging

2017-03-30 Thread Hunt, David
On 30/3/2017 12:25 AM, Harry van Haaren wrote: From: Bruce Richardson Segfault issue resolved when only partially configured and rte_event_dev_dump() is called before start(), Reported-by: Vipin Varghese Signed-off-by: Bruce Richardson Signed-off-by: Harry van Haaren --- drivers/event/sw

Re: [dpdk-dev] [PATCH v3 2/2] ethdev: add hierarchical scheduler API

2017-03-30 Thread Hemant Agrawal
Hi Cristian, On 3/4/2017 6:40 AM, Cristian Dumitrescu wrote: This patch introduces the generic ethdev API for the traffic manager capability, which includes: hierarchical scheduling, traffic shaping, congestion management, packet marking. Main features: - Exposed as ethdev plugin capabi

[dpdk-dev] [PATCH v4 1/3] net/i40e: enable per dev PTYPE mapping table

2017-03-30 Thread Qi Zhang
The mapping from hardware defined packet type to software defined packet type is static for i40e device, the patch let each ethdev to to have their own copy of mapping table, this give the possibility that different ethdev can be set different PTYPE mapping rule which is the requirement to support

[dpdk-dev] [PATCH v4 0/3] net/i40e: configurable PTYPE mapping

2017-03-30 Thread Qi Zhang
The patch set create new APIs that help to change the mapping from hardware defined packet type to software defined packet type for i40e NICs. Keep these APIs private is because currently they are only meaningful for devices that support dynamic PTYPE configuration, which may not be a general devi

[dpdk-dev] [PATCH v4 2/3] net/i40e: configurable PTYPE mapping

2017-03-30 Thread Qi Zhang
The patch adds 4 APIs to support configurable PTYPE mapping for i40e device. rte_pmd_i40e_ptype_mapping_get. rte_pmd_i40e_ptype_mapping_replace. rte_pmd_i40e_ptype_mapping_reset. rte_pmd_i40e_ptype_mapping_update. The mapping from hardware defined packet type to software defined packet type can be

[dpdk-dev] [PATCH v4 3/3] app/testpmd: add CL for ptype mapping configure

2017-03-30 Thread Qi Zhang
Add below command line to configure ptype mapping. ptype mapping get . ptype mapping replace. ptype mapping reset . ptype mapping update . Signed-off-by: Qi Zhang --- v3: - Fix compile issue when CONFIG_RTE_LIBRTE_I40E_PMD=n app/test-pmd/cmdline.c | 372 ++

[dpdk-dev] [PATCH v6 0/3] crypto/scheduler: add packet-base scheduling mode

2017-03-30 Thread Fan Zhang
Packet-size based distribution mode is a scheduling mode that works with 2 slaves, the primary slave and the secondary slave, and distributes the enqueued crypto operations to them based on their data lengths. A crypto operation will be distributed to the primary slave if its data length is equal t

[dpdk-dev] [PATCH v6 1/3] crypto/scheduler: add packet size based mode code

2017-03-30 Thread Fan Zhang
This patch adds the packet size based distribution mode main source file. Packet-size based distribution mode is a scheduling mode works with 2 slaves, primary slave and secondary slave, and distribute the enqueued crypto ops to them based on their data lengths. A crypto op will be distributed to

[dpdk-dev] [PATCH v6 3/3] doc: update cryptodev scheduler PMD documentation

2017-03-30 Thread Fan Zhang
This patch updates packet size based scheduling mode description. Signed-off-by: Fan Zhang --- doc/guides/cryptodevs/scheduler.rst| 15 +++ doc/guides/rel_notes/release_17_05.rst | 5 + 2 files changed, 20 insertions(+) diff --git a/doc/guides/cryptodevs/scheduler.rst b/do

[dpdk-dev] [PATCH v6 2/3] crypto/scheduler: enable packet size based scheduling mode

2017-03-30 Thread Fan Zhang
This patch enables the packet size based scheduling mode in scheduler PMD. Signed-off-by: Fan Zhang --- drivers/crypto/scheduler/Makefile | 1 + drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 7 +++ drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 3 +++ drivers/cr

Re: [dpdk-dev] [PATCH] net/ixgbevf: fix stats update after a PF reset

2017-03-30 Thread Dai, Wei
HI, Olivier > > Hi Wei, > > On Wed, 29 Mar 2017 09:22:55 +, "Dai, Wei" wrote: > > First of all, I don't agree the method in this patch because the > > register can also rewind to 0 in normal mode except reset/PF down. > > > > In the function void ixgbe_down(struct ixgbe_adapter *adapter) of

Re: [dpdk-dev] [PATCH v6 01/21] eventdev: improve API docs for start function

2017-03-30 Thread Burakov, Anatoly
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Harry van Haaren > Sent: Thursday, March 30, 2017 12:26 AM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > > Subject: [dpdk-dev] [PATCH v6 01/21] eventdev: improve API docs for start > function > > This commit doc

Re: [dpdk-dev] [PATCH v6 14/21] event/sw: add xstats support

2017-03-30 Thread Hunt, David
On 30/3/2017 12:25 AM, Harry van Haaren wrote: From: Bruce Richardson Add support for xstats to report out on the state of the eventdev. Useful for debugging and for unit tests, as well as observability at runtime and performance tuning of apps to work well with the scheduler. --snip-- +s

Re: [dpdk-dev] [PATCH v6 1/3] crypto/scheduler: add packet size based mode code

2017-03-30 Thread Declan Doherty
On 30/03/17 11:47, Fan Zhang wrote: This patch adds the packet size based distribution mode main source file. Packet-size based distribution mode is a scheduling mode works with 2 slaves, primary slave and secondary slave, and distribute the enqueued crypto ops to them based on their data length

Re: [dpdk-dev] [PATCH v6 2/3] crypto/scheduler: enable packet size based scheduling mode

2017-03-30 Thread Declan Doherty
On 30/03/17 11:47, Fan Zhang wrote: This patch enables the packet size based scheduling mode in scheduler PMD. Signed-off-by: Fan Zhang --- ... Acked-by: Declan Doherty

Re: [dpdk-dev] [PATCH v6 3/3] doc: update cryptodev scheduler PMD documentation

2017-03-30 Thread Declan Doherty
On 30/03/17 11:47, Fan Zhang wrote: This patch updates packet size based scheduling mode description. Signed-off-by: Fan Zhang --- ... Acked-by: Declan Doherty

[dpdk-dev] [PATCH v8 0/2] librte_net: add crc computation support

2017-03-30 Thread Jasvinder Singh
In some applications, CRC (Cyclic Redundancy Check) needs to be computed or updated during packet processing operations. This patchset adds software implementation of some common standard CRCs (32-bit Ethernet CRC as per Ethernet/[ISO/IEC 8802-3] and 16-bit CCITT-CRC [ITU-T X.25]). Two versions of

[dpdk-dev] [PATCH v8 2/2] test/test: add unit test for CRC computation

2017-03-30 Thread Jasvinder Singh
This patch provides a set of tests for verifying the functional correctness of 16-bit and 32-bit CRC APIs. Signed-off-by: Jasvinder Singh Acked-by: Pablo de Lara --- test/test/Makefile | 2 + test/test/test_crc.c | 182 +++ 2 files changed, 18

[dpdk-dev] [PATCH v8 1/2] librte_net: add crc compute APIs

2017-03-30 Thread Jasvinder Singh
APIs for selecting the architecure specific implementation and computing the crc (16-bit and 32-bit CRCs) are added. For CRCs calculation, scalar as well as x86 intrinsic(sse4.2) versions are implemented. The scalar version is based on generic Look-Up Table(LUT) algorithm, while x86 intrinsic vers

Re: [dpdk-dev] [PATCH v2] net/cxgbe: fix a bug in t4_wr_mbox_meat_timeout

2017-03-30 Thread Rahul Lakkireddy
On Tuesday, March 03/28/17, 2017 at 13:02:20 +0530, henry wrote: >Check return value of malloc > >Signed-off-by: henry >--- > drivers/net/cxgbe/base/t4_hw.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/drivers/net/cxgbe/base/t4_hw.c >b/drivers/net/cxgbe/b

Re: [dpdk-dev] [PATCH v1] mempool/dpaa2: add DPAA2 hardware offloaded mempool

2017-03-30 Thread Ferruh Yigit
On 3/28/2017 10:45 AM, Hemant Agrawal wrote: > Hi Olivier, > > On 3/27/2017 10:00 PM, Olivier Matz wrote: >> Hi Hemant, >> >> On Fri, 24 Mar 2017 17:42:46 +0100, Olivier Matz >> wrote: > From high level, I'm still a little puzzled by the amount of references > to mbuf in a mempool handle

Re: [dpdk-dev] [PATCH v8 1/2] librte_net: add crc compute APIs

2017-03-30 Thread Ananyev, Konstantin
Hi Jasvinder, > diff --git a/lib/librte_net/rte_net_crc.h b/lib/librte_net/rte_net_crc.h > new file mode 100644 > index 000..dd6c110 > --- /dev/null > +++ b/lib/librte_net/rte_net_crc.h > @@ -0,0 +1,104 @@ > +/*- > + * BSD LICENSE > + * > + * Copyright(c) 2017 Intel Corporation. > + * Al

Re: [dpdk-dev] [PATCH v3 0/9] virtio/vhost: Add MTU feature support

2017-03-30 Thread Maxime Coquelin
Hi Lei, On 03/28/2017 07:39 AM, Yao, Lei A wrote: -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Maxime Coquelin Sent: Monday, March 13, 2017 12:34 AM To: acon...@redhat.com; so...@sonusnet.com; yuanhan@linux.intel.com; Tan, Jianfeng ; thomas.monja...@6wind

Re: [dpdk-dev] [PATCH] crypto/aesni_gcm: do crypto op in dequeue function

2017-03-30 Thread Declan Doherty
On 29/03/17 14:42, Sergio Gonzalez Monroy wrote: There is bug when more crypto ops are enqueued than dequeued. The return value is not checked when trying to enqueue the processed crypto op into the internal ring, which in the case of being full will results in crypto ops and mbufs being leaked.

Re: [dpdk-dev] [PATCH] crypto/aesni_gcm: do crypto op in dequeue function

2017-03-30 Thread De Lara Guarch, Pablo
> -Original Message- > From: Doherty, Declan > Sent: Thursday, March 30, 2017 12:45 PM > To: Gonzalez Monroy, Sergio; dev@dpdk.org > Cc: De Lara Guarch, Pablo; sta...@dpdk.org > Subject: Re: [PATCH] crypto/aesni_gcm: do crypto op in dequeue function > > On 29/03/17 14:42, Sergio Gonzalez

Re: [dpdk-dev] [PATCH] crypto/aesni_gcm: do crypto op in dequeue function

2017-03-30 Thread Doherty, Declan
-Original Message- From: De Lara Guarch, Pablo Sent: Thursday, March 30, 2017 12:54 PM To: Doherty, Declan ; Gonzalez Monroy, Sergio ; dev@dpdk.org Cc: sta...@dpdk.org Subject: RE: [PATCH] crypto/aesni_gcm: do crypto op in dequeue function > -Original Message- > From: Doherty

Re: [dpdk-dev] [PATCH] net/ixgbevf: fix stats update after a PF reset

2017-03-30 Thread Olivier Matz
Hi Wei, On Thu, 30 Mar 2017 10:46:45 +, "Dai, Wei" wrote: > HI, Olivier > > > > > Hi Wei, > > > > On Wed, 29 Mar 2017 09:22:55 +, "Dai, Wei" wrote: > > > First of all, I don't agree the method in this patch because the > > > register can also rewind to 0 in normal mode except reset/

Re: [dpdk-dev] [PATCH 0/9] mbuf: structure reorganization

2017-03-30 Thread Olivier Matz
On Thu, 30 Mar 2017 10:31:08 +0100, Bruce Richardson wrote: > On Wed, Mar 29, 2017 at 09:09:23PM +0100, Bruce Richardson wrote: > > On Wed, Mar 29, 2017 at 05:56:29PM +0200, Olivier Matz wrote: > > > Hi, > > > > > > Does anyone have any other comment on this series? > > > Can it be applied? >

Re: [dpdk-dev] [PATCH v8 1/2] librte_net: add crc compute APIs

2017-03-30 Thread Singh, Jasvinder
> -Original Message- > From: Ananyev, Konstantin > Sent: Thursday, March 30, 2017 12:32 PM > To: Singh, Jasvinder ; dev@dpdk.org > Cc: olivier.m...@6wind.com; Doherty, Declan ; > De Lara Guarch, Pablo > Subject: RE: [dpdk-dev] [PATCH v8 1/2] librte_net: add crc compute APIs > > Hi Jasvi

Re: [dpdk-dev] [PATCH v2] doc: relocate i40e known issues

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: Yang, Qiming > Sent: Tuesday, March 28, 2017 10:29 AM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Mcnamara, John > ; Lu, Wenzhuo ; Yang, > Qiming > Subject: [PATCH v2] doc: relocate i40e known issues > > This patch moved i40e related known issues from doc/guides

Re: [dpdk-dev] [PATCH] doc: add known igb_uio issue for i40e

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Qiming Yang > Sent: Monday, March 27, 2017 5:16 PM > To: dev@dpdk.org > Cc: Yang, Qiming > Subject: [dpdk-dev] [PATCH] doc: add known igb_uio issue for i40e > > When insmod "igb_uio" with "intr_mode=legacy and t

Re: [dpdk-dev] [PATCH v2] mk: optimize directory dependencies

2017-03-30 Thread Olivier Matz
On Thu, 30 Mar 2017 10:27:49 +0100, Ferruh Yigit wrote: > On 3/30/2017 9:51 AM, Olivier Matz wrote: > > Hi Ferruh, > > > > On Tue, 28 Mar 2017 11:34:35 +0100, Ferruh Yigit > > wrote: > >> On 3/24/2017 1:21 PM, Olivier Matz wrote: > >>> Before this patch, the management of dependencies betwe

Re: [dpdk-dev] [PATCH v6 0/3] crypto/scheduler: add packet-base scheduling mode

2017-03-30 Thread De Lara Guarch, Pablo
> -Original Message- > From: Zhang, Roy Fan > Sent: Thursday, March 30, 2017 11:47 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo; Gonzalez Monroy, Sergio; Doherty, Declan > Subject: [PATCH v6 0/3] crypto/scheduler: add packet-base scheduling > mode > > Packet-size based distribution

Re: [dpdk-dev] [PATCH 0/9] mbuf: structure reorganization

2017-03-30 Thread Bruce Richardson
On Thu, Mar 30, 2017 at 02:02:36PM +0200, Olivier Matz wrote: > On Thu, 30 Mar 2017 10:31:08 +0100, Bruce Richardson > wrote: > > On Wed, Mar 29, 2017 at 09:09:23PM +0100, Bruce Richardson wrote: > > > On Wed, Mar 29, 2017 at 05:56:29PM +0200, Olivier Matz wrote: > > > > Hi, > > > > > > > > Do

Re: [dpdk-dev] [PATCH v5 00/62] net/qede/base: update PMD to 2.4.0.1

2017-03-30 Thread Ferruh Yigit
On 3/29/2017 9:36 PM, Rasesh Mody wrote: > Hi Ferruh, > > This patch set adds support for new firmware 8.18.9.0, adds new features > and includes bug fixes. This patch set updates PMD version to 2.4.0.1. > > Please apply to dpdk-net-next for 17.05 release. > > v4..v5 > - properly fix clang comp

Re: [dpdk-dev] [PATCH v2] net/i40e: fix wrong handle when enable interrupt

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Qi Z > Sent: Tuesday, March 21, 2017 7:34 PM > To: Thomas Monjalon > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix wrong handle when enable > interrupt > > Hi Thomas:

[dpdk-dev] [PATCH] mk: fix dependencies to optional configs

2017-03-30 Thread Olivier Matz
In rte.lib.mk, the list of libraries passed to the link command (LDLIBS) is generated from the DEPDIRS-xxx variables. If a library is not compiled because it is disabled in configuration, it should not appear in DEPDIRS-xxx. - librte_port depends on librte_kni only if it is enabled. - librte_table

Re: [dpdk-dev] [PATCH v4 0/3] net/i40e: vf port reset

2017-03-30 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wei Zhao > Sent: Thursday, March 30, 2017 5:34 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v4 0/3] net/i40e: vf port reset > > The patches mainly finish following functions: > 1) get pf reset vf comamand f

[dpdk-dev] [PATCH v3] net/ixgbe: ping VF when PF status changes

2017-03-30 Thread alexz
From: Alex Zelezniak * added 17.05 block to rte_pmd_ixgbe_version.map file Signed-off-by: Alex Zelezniak --- drivers/net/ixgbe/ixgbe_ethdev.c| 34 + drivers/net/ixgbe/rte_pmd_ixgbe.h | 14 drivers/net/ixgbe/rte_pmd_ixgbe_version.ma

Re: [dpdk-dev] [PATCH 1/2] drivers/mempool: add stack mempool handler as driver

2017-03-30 Thread Olivier Matz
On Wed, 29 Mar 2017 18:25:31 +0530, Shreyansh Jain wrote: > Hello Olivier, > > On Wednesday 29 March 2017 01:48 PM, Olivier Matz wrote: > > On Tue, 28 Mar 2017 17:12:47 +0530, Shreyansh Jain > > wrote: > >> Hello Olivier, > >> > >> On Friday 24 March 2017 09:52 PM, Olivier Matz wrote: > >> [

Re: [dpdk-dev] [PATCH v5 0/3] crypto/scheduler: add fail-over mode

2017-03-30 Thread De Lara Guarch, Pablo
> -Original Message- > From: Zhang, Roy Fan > Sent: Wednesday, March 29, 2017 5:32 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo; Gonzalez Monroy, Sergio; Doherty, Declan > Subject: [PATCH v5 0/3] crypto/scheduler: add fail-over mode > > This patch adds fail-over mode for cryptodev s

  1   2   3   >