Re: [dpdk-dev] [PATCH] maintainers: update MAINTAINERS for bnxt driver

2017-12-15 Thread Ferruh Yigit
On 12/14/2017 9:53 AM, Ajit Khaparde wrote: > Remove Stephen Hurd and add Somnath Kotur to maintain bnxt PMD. > > Signed-off-by: Ajit Khaparde Applied to dpdk-next-net/master, thanks.

Re: [dpdk-dev] [dpdk-stable] [PATCH 1/2] net/bnxt: fix headroom initialization

2017-12-15 Thread Ferruh Yigit
On 12/14/2017 6:28 AM, Olivier Matz wrote: > When allocating a new mbuf for Rx, the value of m->data_off should not > be reset to its default value (RTE_PKTMBUF_HEADROOM), instead of reusing > the previous undefined value, which could cause the packet to have a too > small or too high headroom. >

[dpdk-dev] [PATCH] devtools: add git log checks for sctp and iova

2017-12-15 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- devtools/check-git-log.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 910daba42..c601f6ae9 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -124,6 +124,7 @@ bad=$(echo "$

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix missing imissed counter in xstats

2017-12-15 Thread Ferruh Yigit
On 12/14/2017 9:41 AM, Ferruh Yigit wrote: > On 12/14/2017 6:23 AM, Olivier Matz wrote: >> imissed counter has been set as deprecated in commit 49f386542af4 >> ("ethdev: remove driver specific stats") and removed from the >> rte_eth_xstats_name_off structure. >> >> The imissed counter has been rest

Re: [dpdk-dev] [dpdk-stable] [PATCH 1/3] net/sfc: stop periodic DMA if MAC stats upload fails

2017-12-15 Thread Ferruh Yigit
On 12/12/2017 11:12 PM, Andrew Rybchenko wrote: > Fixes: 3b257f7e6c0f ("net/sfc: request MAC stats upload immediately on port > start") > Cc: sta...@dpdk.org > > Signed-off-by: Andrew Rybchenko > Reviewed-by: Ivan Malov Series applied to dpdk-next-net/master, thanks.

[dpdk-dev] [RFC v3] mk: add tuning for default machine type

2017-12-15 Thread Ferruh Yigit
Wile keeping backward compatibility for default machine type, tune binary for latest generation of cores to benefit more from them. Signed-off-by: Ferruh Yigit --- Cc: Bruce Richardson Cc: Konstantin Ananyev v2: * prevent warning via clang: bin/sh: line 0: test: -ge: unary operator expected

[dpdk-dev] [PATCH v2] mk: add tuning for default machine type

2017-12-15 Thread Ferruh Yigit
Wile keeping backward compatibility for default machine type, tune binary for latest generation of cores to benefit more from them. Signed-off-by: Ferruh Yigit --- Cc: Bruce Richardson Cc: Konstantin Ananyev v2: * prevent warning via clang: bin/sh: line 0: test: -ge: unary operator expected

Re: [dpdk-dev] [PATCH v2 3/3] net/qede: add support for GENEVE tunneling offload

2017-12-15 Thread Mody, Rasesh
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Friday, December 15, 2017 4:19 PM > > On 12/15/2017 1:12 PM, Mody, Rasesh wrote: > > Hi Ferruh, > > > >> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > >> Sent: Friday, December 15, 2017 1:02 PM > >> To: Mody, Rasesh

Re: [dpdk-dev] [PATCH v2 3/3] net/qede: add support for GENEVE tunneling offload

2017-12-15 Thread Ferruh Yigit
On 12/15/2017 1:12 PM, Mody, Rasesh wrote: > Hi Ferruh, > >> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] >> Sent: Friday, December 15, 2017 1:02 PM >> To: Mody, Rasesh >> >> On 12/13/2017 10:36 PM, Rasesh Mody wrote: >>> From: Shahed Shaikh >>> >>> This patch refactors existing VXLAN tunn

[dpdk-dev] [PATCH] mk: add debug target

2017-12-15 Thread Ferruh Yigit
Add "debug" target to build library with debug symbols and optimization disabled. This is shortcut for exiting method to compile with EXTRA_CFLAGS="-O0 -g3" Signed-off-by: Ferruh Yigit --- doc/build-sdk-quick.txt | 1 + mk/rte.sdkroot.mk | 4 2 files changed, 5 insertions(+) diff --

Re: [dpdk-dev] [dpdk-stable] [PATCH] mk: remove TILE-Gx machine type

2017-12-15 Thread Thomas Monjalon
16/12/2017 00:09, Ferruh Yigit: > Fixes: 31123211bd27 ("remove unmaintained TILE-Gx architecture") > Cc: sta...@dpdk.org > > Signed-off-by: Ferruh Yigit Oops, I forgot to remove this file. Applied, thanks

[dpdk-dev] [RFC] mk: add tuning for default machine type

2017-12-15 Thread Ferruh Yigit
Wile keeping backward compatibility for default machine type, tune binary for latest generation of cores to benefit more from them. Signed-off-by: Ferruh Yigit --- Cc: Bruce Richardson Cc: Konstantin Ananyev --- mk/machine/default/rte.vars.mk | 6 ++ 1 file changed, 6 insertions(+) diff

[dpdk-dev] [dpdk-users] How to check the packet size limit?

2017-12-15 Thread Sungho Hong
Hello Team, I am trying to find the limit of the available size of the packets. While I was testing with the L2 Forwarding (sending pingpong packets from client to server(L2 fwd)) I wasn't able to get a good result when I increased my packet size to 2048. Of course I have changed the default siz

[dpdk-dev] [PATCH] mk: remove TILE-Gx machine type

2017-12-15 Thread Ferruh Yigit
Fixes: 31123211bd27 ("remove unmaintained TILE-Gx architecture") Cc: sta...@dpdk.org Signed-off-by: Ferruh Yigit --- mk/machine/tilegx/rte.vars.mk | 57 --- 1 file changed, 57 deletions(-) delete mode 100644 mk/machine/tilegx/rte.vars.mk diff --git a/mk/

Re: [dpdk-dev] [PATCH v2 1/8] event/opdl: add the opdl ring infrastructure library

2017-12-15 Thread Neil Horman
On Fri, Dec 15, 2017 at 01:50:41PM +, Ma, Liang wrote: > On 15 Dec 07:38, Neil Horman wrote: > > On Fri, Dec 15, 2017 at 11:26:22AM +, Liang Ma wrote: > > > OPDL ring is the core infrastructure of OPDL PMD. OPDL ring library > > > provide the core data structure and core helper function set

Re: [dpdk-dev] [PATCH v2 3/3] net/qede: add support for GENEVE tunneling offload

2017-12-15 Thread Mody, Rasesh
Hi Ferruh, > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Friday, December 15, 2017 1:02 PM > To: Mody, Rasesh > > On 12/13/2017 10:36 PM, Rasesh Mody wrote: > > From: Shahed Shaikh > > > > This patch refactors existing VXLAN tunneling offload code and enables > > following featur

[dpdk-dev] [PATCH] app/testpmd: make txonly mode generate multiple flows

2017-12-15 Thread Yongseok Koh
Testpmd can generate multiple flows without taking much cost and this could be a simple traffic generator for developer's quick tests. IP destination address is varied. Signed-off-by: Yongseok Koh --- app/test-pmd/txonly.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff

Re: [dpdk-dev] [PATCH v2 0/3] net/qede: add enhancements and fixes

2017-12-15 Thread Ferruh Yigit
On 12/13/2017 10:36 PM, Rasesh Mody wrote: > Hi Ferruh, > > This patch set adds enhancements and fixes for qede PMD. > > v1..v2 - separate out QEDE PMD changes from rest. > > Thanks! > Rasesh > > Harish Patil (2): > net/qede: fix to enable LRO over tunnels > net/qede: fix to reject config w

Re: [dpdk-dev] [PATCH v2 3/3] net/qede: add support for GENEVE tunneling offload

2017-12-15 Thread Ferruh Yigit
On 12/13/2017 10:36 PM, Rasesh Mody wrote: > From: Shahed Shaikh > > This patch refactors existing VXLAN tunneling offload code and enables > following features for GENEVE: > - destination UDP port configuration > - checksum offloads > - filter configuration > > Signed-off-by: Shahed Shaikh

Re: [dpdk-dev] [PATCH] net/bonding: fix bond 8023ad mode enable using wrong index

2017-12-15 Thread Ferruh Yigit
On 12/12/2017 7:58 AM, Doherty, Declan wrote: > On 20/11/2017 7:15 AM, Lilijun (Jerry) wrote: >> Hi all, >> >> In the function bond_mode_8023ad_enable(), the var i is to used to as the >> second parameter to pass the slave dev's dpdk port id to the function >> bond_mode_8023ad_activate_slave(). >

Re: [dpdk-dev] [PATCH] debug: update assertion macro

2017-12-15 Thread Ferruh Yigit
On 11/19/2017 6:41 AM, Ilya Matveychikov wrote: > > >> On Nov 19, 2017, at 12:18 PM, Ilya Matveychikov >> wrote: >> >> Update RTE_VERIFY macro to make it possible to use complex expressions >> in RTE_ASSERT. >> >> Signed-off-by: Ilya V. Matveychikov >> >> Fixes: 148f963fb532 ("xen: core librar

Re: [dpdk-dev] [RFC PATCH 0/3] configurable max queue number per VF

2017-12-15 Thread Ferruh Yigit
On 7/31/2017 12:27 PM, Wenzhuo Lu wrote: > Currently, on i40e, the max queue number per VF is set by a macro. > It means the value is decided when compiling. It's not friendly to > the users. Because every time the users want to change the value, > the code need to be re-compiled. > > The reason o

Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions

2017-12-15 Thread Ferruh Yigit
On 12/15/2017 3:34 AM, Radu Nicolau wrote: > Functions like nl_recev and nl_send name clash functions in the > libnl library (https://www.infradead.org/~tgr/libnl/). > All functions declared in tap_netlink.h were decorated with tap_ > for consistency. > > Signed-off-by: Radu Nicolau Reviewed-by:

[dpdk-dev] [RFC v3 1/1] lib: add compressdev API

2017-12-15 Thread Trahe, Fiona
Signed-off-by: Trahe, Fiona --- config/common_base |7 + lib/Makefile |3 + lib/librte_compressdev/Makefile| 54 + lib/librte_compressdev/rte_comp.h | 608 ++ lib/librte_c

[dpdk-dev] [RFC v3 0/1] Compression API in DPDK

2017-12-15 Thread Trahe, Fiona
With the vast amounts of data being transported around networks and stored in storage systems, reducing data size is becoming ever more important. There are both software libraries and hardware devices available that provide compression, but no common API. This RFC proposes a compression API for DP

Re: [dpdk-dev] [RFC v1] doc compression API for DPDK

2017-12-15 Thread Trahe, Fiona
Hi Shally, > -Original Message- > From: Verma, Shally [mailto:shally.ve...@cavium.com] > Sent: Thursday, December 7, 2017 5:43 AM > To: Trahe, Fiona ; dev@dpdk.org > Cc: Athreya, Narayana Prasad ; Challa, > Mahipal > ; De Lara Guarch, Pablo > ; Gupta, Ashish > ; Sahu, Sunila > Subject:

Re: [dpdk-dev] [PATCH v4 3/3] examples/ipsec-secgw: add Egress flow actions

2017-12-15 Thread Anoob Joseph
Hi Nelio, Agreed. Those can be addressed in other patches. I just wanted your opinion on how the present patch can be finalized keeping in mind the situations that we should address. And yeah, with the change in commit log, this should be enough. Thanks, Anoob On 15-12-2017 22:23, Nelio L

Re: [dpdk-dev] [PATCH v4 3/3] examples/ipsec-secgw: add Egress flow actions

2017-12-15 Thread Nelio Laranjeiro
Hi Anoob, Seems you want to address a lot of stuff where is should be done in a different series, please see below, On Fri, Dec 15, 2017 at 09:09:00PM +0530, Anoob Joseph wrote: > Hi Nelio, > > > On 15-12-2017 19:23, Nelio Laranjeiro wrote: > > Hi Anoob, > > > > On Fri, Dec 15, 2017 at 02:35:1

Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions

2017-12-15 Thread Nicolau, Radu
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, December 15, 2017 4:20 PM > To: Nicolau, Radu > Cc: dev@dpdk.org; Yigit, Ferruh ; > pascal.ma...@6wind.com > Subject: Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions > > On Fri,

Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions

2017-12-15 Thread Stephen Hemminger
On Fri, 15 Dec 2017 11:34:37 + Radu Nicolau wrote: > Functions like nl_recev and nl_send name clash functions in the > libnl library (https://www.infradead.org/~tgr/libnl/). > All functions declared in tap_netlink.h were decorated with tap_ > for consistency. > > Signed-off-by: Radu Nicolau

[dpdk-dev] [PATCH 1/2] mempool: notify mempool area after mempool alloc

2017-12-15 Thread Pavan Nikhilesh
Mempool creation needs to be completed first before notifying mempool to register the mempool area. Signed-off-by: Pavan Nikhilesh --- lib/librte_mempool/rte_mempool.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mem

[dpdk-dev] [PATCH 2/2] mempool/octeontx: clean up memory area registration

2017-12-15 Thread Pavan Nikhilesh
Clean up dependency between alloc and memory area registration, this removes the need for SLIST data structure and octeontx_pool_list. Signed-off-by: Pavan Nikhilesh --- drivers/mempool/octeontx/octeontx_fpavf.c | 23 ++-- drivers/mempool/octeontx/octeontx_fpavf.h | 6 ++- drive

Re: [dpdk-dev] [PATCH 1/2] mbuf: update default Mempool ops with HW active pool

2017-12-15 Thread Stephen Hemminger
On Fri, 15 Dec 2017 15:54:42 +0530 Hemant Agrawal wrote: > + if ((strcmp(default_ops, RTE_MBUF_DEFAULT_MEMPOOL_OPS) == 0) && > + (active_mbuf_pool_ops_name != NULL)) Why not have less parenthesis () in conditionals?

Re: [dpdk-dev] [PATCH v4 3/3] examples/ipsec-secgw: add Egress flow actions

2017-12-15 Thread Anoob Joseph
Hi Nelio, On 15-12-2017 19:23, Nelio Laranjeiro wrote: Hi Anoob, On Fri, Dec 15, 2017 at 02:35:12PM +0530, Anoob Joseph wrote: Hi Nelio, On 12/14/2017 08:44 PM, Nelio Laranjeiro wrote: Add Egress flow create for devices supporting RTE_SECURITY_TX_HW_TRAILER_OFFLOAD. Signed-off-by: Nelio La

Re: [dpdk-dev] [PATCH v2 32/39] examples/eventdev_pipeline: convert to new offloads API

2017-12-15 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shahaf Shuler > Sent: Tuesday, December 12, 2017 12:35 PM > To: dev@dpdk.org; Ananyev, Konstantin ; > Nicolau, Radu ; arybche...@solarflare.com > Subject: [dpdk-dev] [PATCH v2 32/39] examples/eventdev_pipeline: convert to > new offloads API >

Re: [dpdk-dev] [PATCH 6/6] doc: add DPAA eventdev guide

2017-12-15 Thread Kovacevic, Marko
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sunil Kumar Kori > Sent: Friday, December 15, 2017 1:00 PM > To: jerin.ja...@caviumnetworks.com > Cc: dev@dpdk.org; hemant.agra...@nxp.com > Subject: [dpdk-dev] [PATCH 6/6] doc: add DPAA eventdev guide > > Signed

Re: [dpdk-dev] [PATCH v2] doc: update oldest supported kernel in Linux guide

2017-12-15 Thread Thomas Monjalon
12/12/2017 15:20, Kovacevic, Marko: > > > From: Stephen Hemminger > > Acked-by: Marko Kovacevic Applied

Re: [dpdk-dev] [PATCH] app/testpmd: Remove xenvirt again

2017-12-15 Thread Thomas Monjalon
17/11/2017 17:44, Luca Boccassi: > On Fri, 2017-11-17 at 15:40 +0100, Timothy Redaelli wrote: > > Fixes: 5b590fbe09b6 ("app/testpmd: add traffic management forwarding > > mode") > > > > Signed-off-by: Timothy Redaelli > > Acked-by: Applied with this explanation: The xenvirt PMD was rem

Re: [dpdk-dev] [PATCH] kni: fix build with kernel 4.15

2017-12-15 Thread Thomas Monjalon
29/11/2017 00:45, Ferruh Yigit: > build error: > .../dpdk/build/build/lib/librte_eal/linuxapp/kni/igb_main.c:2809:2: > error: implicit declaration of function ‘setup_timer’; > did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration] > setup_timer(&adapter->watchdog_timer, &igb_watc

Re: [dpdk-dev] [PATCH v4 3/3] examples/ipsec-secgw: add Egress flow actions

2017-12-15 Thread Nelio Laranjeiro
Hi Anoob, On Fri, Dec 15, 2017 at 02:35:12PM +0530, Anoob Joseph wrote: > Hi Nelio, > > On 12/14/2017 08:44 PM, Nelio Laranjeiro wrote: > > Add Egress flow create for devices supporting > > RTE_SECURITY_TX_HW_TRAILER_OFFLOAD. > > > > Signed-off-by: Nelio Laranjeiro > > --- > > examples/ipsec-

Re: [dpdk-dev] [PATCH v2 1/8] event/opdl: add the opdl ring infrastructure library

2017-12-15 Thread Ma, Liang
On 15 Dec 07:38, Neil Horman wrote: > On Fri, Dec 15, 2017 at 11:26:22AM +, Liang Ma wrote: > > OPDL ring is the core infrastructure of OPDL PMD. OPDL ring library > > provide the core data structure and core helper function set. The Ring > > implements a single ring multi-port/stage pipelined

Re: [dpdk-dev] [PATCH v5 2/2] examples/ipsec-secgw: add support for inline protocol

2017-12-15 Thread Nelio Laranjeiro
On Fri, Dec 15, 2017 at 04:33:25PM +0530, Anoob Joseph wrote: > Hi Nelio, > > > On 12/15/2017 03:09 PM, Nelio Laranjeiro wrote: > > Hi Anoob, > > > > On Fri, Dec 15, 2017 at 08:43:16AM +, Anoob Joseph wrote: > > > Adding support for inline protocol processing > > > > > > In ingress side, ap

[dpdk-dev] [PATCH 6/6] doc: add DPAA eventdev guide

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/dpaa.rst | 144 + doc/guides/eventdevs/index.rst | 1 + 2 files changed, 145 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa.rst diff --git a/doc/guides/eventdevs/dpaa.rst b/doc/guides

[dpdk-dev] [PATCH 5/6] config: enabling compilation of DPAA eventdev PMD

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- config/common_base | 4 config/defconfig_arm64-dpaa-linuxapp-gcc | 3 +++ mk/rte.app.mk| 1 + 3 files changed, 8 insertions(+) diff --git a/config/common_base b/config/common_base index e74febe..6fc7366 10

[dpdk-dev] [PATCH 4/6] event/dpaa: add eventdev PMD

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- drivers/event/Makefile| 1 + drivers/event/dpaa/Makefile | 37 ++ drivers/event/dpaa/dpaa_eventdev.c| 652 ++ drivers/event/dpaa/dpaa_eventdev.h| 86 +++ d

[dpdk-dev] [PATCH 3/6] net/dpaa: ethdev Rx queue configurations with eventdev

2017-12-15 Thread Sunil Kumar Kori
Given ethernet Rx queues can be attached with event queue in parallel or atomic mode. Patch imlmplements Rx queue configuration and their corresponding callbacks to handle events from respective queues. Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/Makefile | 2 + driver

[dpdk-dev] [PATCH 2/6] bus/dpaa: add dpaa eventdev dynamic log support

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- drivers/bus/dpaa/dpaa_bus.c | 5 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + drivers/bus/dpaa/rte_dpaa_logs.h | 16 3 files changed, 22 insertions(+) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dp

[dpdk-dev] [PATCH 1/6] bus/dpaa: added event dequeue and consumption support

2017-12-15 Thread Sunil Kumar Kori
To receive events from given event port, corresponding function needs to be added which receives events from portal. Also added function to consume received events based on entry index. Signed-off-by: Sunil Kumar Kori --- drivers/bus/dpaa/base/qbman/qman.c| 90 +++

[dpdk-dev] [PATCH 0/6] event/dpaa: Support for eventdev

2017-12-15 Thread Sunil Kumar Kori
Event device support for atomic and parallel queues. This patch set includes following changes: 1. Configuration of atomic and parallel queues with given event device. 2. Also maintains previous dequeue method, via poll mode queues. 3. Added Rx functions to dequeue data from portal. 4. DCA

Re: [dpdk-dev] [PATCH] vhost: fix dequeue zero copy not work with virtio1

2017-12-15 Thread Yuanhan Liu
On Fri, Dec 15, 2017 at 10:33:41AM +, Loftus, Ciara wrote: > > > > Hi Junjie, > > > > On 12/13/2017 05:50 PM, Junjie Chen wrote: > > > This fix dequeue zero copy can not work with Qemu > > > version >= 2.7. Since from Qemu 2.7 virtio device > > > use virtio-1 protocol, the zero copy code path

[dpdk-dev] [PATCH 6/6] doc: add DPAA eventdev guide

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/dpaa.rst | 144 + doc/guides/eventdevs/index.rst | 1 + 2 files changed, 145 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa.rst diff --git a/doc/guides/eventdevs/dpaa.rst b/doc/guides

[dpdk-dev] [PATCH 0/6] event/dpaa: Support for eventdev

2017-12-15 Thread Sunil Kumar Kori
Event device support for atomic and parallel queues. This patch set includes following changes: 1. Configuration of atomic and parallel queues with given event device. 2. Also maintains previous dequeue method, via poll mode queues. 3. Added Rx functions to dequeue data from portal. 4. DCA

[dpdk-dev] [PATCH 5/6] config: enabling compilation of DPAA eventdev PMD

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- config/common_base | 4 config/defconfig_arm64-dpaa-linuxapp-gcc | 3 +++ mk/rte.app.mk| 1 + 3 files changed, 8 insertions(+) diff --git a/config/common_base b/config/common_base index e74febe..6fc7366 10

[dpdk-dev] [PATCH 3/6] net/dpaa: ethdev Rx queue configurations with eventdev

2017-12-15 Thread Sunil Kumar Kori
Given ethernet Rx queues can be attached with event queue in parallel or atomic mode. Patch imlmplements Rx queue configuration and their corresponding callbacks to handle events from respective queues. Signed-off-by: Sunil Kumar Kori --- drivers/net/dpaa/Makefile | 2 + driver

[dpdk-dev] [PATCH 4/6] event/dpaa: add eventdev PMD

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- drivers/event/Makefile| 1 + drivers/event/dpaa/Makefile | 37 ++ drivers/event/dpaa/dpaa_eventdev.c| 652 ++ drivers/event/dpaa/dpaa_eventdev.h| 86 +++ d

[dpdk-dev] [PATCH 2/6] bus/dpaa: add dpaa eventdev dynamic log support

2017-12-15 Thread Sunil Kumar Kori
Signed-off-by: Sunil Kumar Kori --- drivers/bus/dpaa/dpaa_bus.c | 5 + drivers/bus/dpaa/rte_bus_dpaa_version.map | 1 + drivers/bus/dpaa/rte_dpaa_logs.h | 16 3 files changed, 22 insertions(+) diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dp

[dpdk-dev] [PATCH 1/6] bus/dpaa: added event dequeue and consumption support

2017-12-15 Thread Sunil Kumar Kori
To receive events from given event port, corresponding function needs to be added which receives events from portal. Also added function to consume received events based on entry index. Signed-off-by: Sunil Kumar Kori --- drivers/bus/dpaa/base/qbman/qman.c| 90 +++

Re: [dpdk-dev] [PATCH v2 1/8] event/opdl: add the opdl ring infrastructure library

2017-12-15 Thread Neil Horman
On Fri, Dec 15, 2017 at 11:26:22AM +, Liang Ma wrote: > OPDL ring is the core infrastructure of OPDL PMD. OPDL ring library > provide the core data structure and core helper function set. The Ring > implements a single ring multi-port/stage pipelined packet distribution > mechanism. This mechan

[dpdk-dev] [PATCH] fix multiple typos: 'the the ' => 'the '

2017-12-15 Thread Thierry Herbelot
Repeated occurrences of 'the'. The change was obtained using the following command: sed -i "s;the the ;the ;" `git grep -l "the "` Signed-off-by: Thierry Herbelot --- app/test-crypto-perf/cperf_test_latency.c | 2 +- app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 4 ++--

[dpdk-dev] Inline/look-aside transformation API (Crypto, IPsec, VLAN insertion, Compression, ...)

2017-12-15 Thread Nelio Laranjeiro
Hi all, I would like to raise an issue to open a more generic discussion, This concern comes from the issues I am currently facing with rte_security where there will be 3 different configuration code paths and 2 different datapath depending on the NIC capability [1][2]. This bring a real complex

Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions

2017-12-15 Thread Nicolau, Radu
> -Original Message- > From: Richardson, Bruce > Sent: Friday, December 15, 2017 11:58 AM > To: Nicolau, Radu > Cc: dev@dpdk.org; Yigit, Ferruh ; > pascal.ma...@6wind.com > Subject: Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions > > On Fri, Dec 15, 2017 at 11:34:37AM +, R

Re: [dpdk-dev] [PATCH 0/6] next-build: create both static and shared libs

2017-12-15 Thread Bruce Richardson
On Wed, Dec 13, 2017 at 12:11:02PM +, Luca Boccassi wrote: > On Tue, 2017-12-12 at 16:59 +, Bruce Richardson wrote: > > This patchset changes the meson+ninja build system to always create > > both > > static and shared libraries when doing a build. The applications > > compiled > > as part

Re: [dpdk-dev] [PATCH] net/tap: renamed netlink functions

2017-12-15 Thread Bruce Richardson
On Fri, Dec 15, 2017 at 11:34:37AM +, Radu Nicolau wrote: > Functions like nl_recev and nl_send name clash functions in the > libnl library (https://www.infradead.org/~tgr/libnl/). > All functions declared in tap_netlink.h were decorated with tap_ > for consistency. > > Signed-off-by: Radu Nic

Re: [dpdk-dev] [RFC v2 PATCH 0/8] event: eventdev OPDL PMD

2017-12-15 Thread Ma, Liang
ChangeLog [v2] 1. merge the opdl eventdev unit test code into opdl pmd. 2. propose three new capability capability flags for overall eventdev. 3. remove the opdl pmd example code. 4. remove the opdl pmd example doc. On 15 Dec 11:26, Liang Ma wrote: > The OPDL (Ordered Packet Distributio

[dpdk-dev] [PATCH] net/tap: renamed netlink functions

2017-12-15 Thread Radu Nicolau
Functions like nl_recev and nl_send name clash functions in the libnl library (https://www.infradead.org/~tgr/libnl/). All functions declared in tap_netlink.h were decorated with tap_ for consistency. Signed-off-by: Radu Nicolau --- drivers/net/tap/rte_eth_tap.c | 12 ++-- drivers/net/tap/tap_f

Re: [dpdk-dev] [PATCH v2 01/11] eal: add common test assert macros

2017-12-15 Thread Pavan Nikhilesh Bhagavatula
On Fri, Dec 15, 2017 at 10:58:10AM +, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: Pavan Nikhilesh Bhagavatula [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Friday, December 15, 2017 9:05 AM > > To: Ananyev, Konstantin ; > > jerin.ja...@caviumnetworks.com; santo

[dpdk-dev] [PATCH v2 8/8] doc: add eventdev opdl pmd docuement

2017-12-15 Thread Liang Ma
Add the description about opdl pmd Signed-off-by: Liang Ma Signed-off-by: Peter, Mccarthy --- doc/guides/eventdevs/index.rst | 1 + doc/guides/eventdevs/opdl.rst | 162 + 2 files changed, 163 insertions(+) create mode 100644 doc/guides/eventdevs/opdl.

[dpdk-dev] [PATCH v2 7/8] event/opdl: update the build system to enable compilation

2017-12-15 Thread Liang Ma
update the base config, add OPDL event dev flag update the driver/event Makefile to add opdl subdir update the rte.app.mkallow app link the pmd lib Signed-off-by: Liang Ma Signed-off-by: Peter, Mccarthy --- config/common_base | 6 ++ drivers/event/Makefile | 1 + mk/rte.app.mk

[dpdk-dev] [PATCH v2 6/8] event/*: apply the three new capability flags for sw/dppa2/octeontx

2017-12-15 Thread Liang Ma
Signed-off-by: Liang Ma Signed-off-by: Peter, Mccarthy --- drivers/event/dpaa2/dpaa2_eventdev.c | 5 - drivers/event/octeontx/ssovf_evdev.c | 5 - drivers/event/sw/sw_evdev.c | 5 - 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eve

[dpdk-dev] [PATCH v2 4/8] eventdev/opdl: opdl eventdev pmd unit test function

2017-12-15 Thread Liang Ma
This commit adds unit test inside the OPDL PMD. There is a PMd parameter "self_test" can be used to triger the test when vdev bus probe opdl device e.g. sudo ./app/test --vdev="event_opdl0,self_test=1" Signed-off-by: Liang Ma Signed-off-by: Peter, Mccarthy --- drivers/event/opdl/opdl_test

[dpdk-dev] [PATCH v2 5/8] lib/librte_eventdev: extend the eventdev capability flags

2017-12-15 Thread Liang Ma
this commitd add three new eventdev capability flags RTE_EVENT_DEV_CAP_NONSEQ_MODE Event device is capable of operating in none sequential mode. The path of the event is not necessary to be sequential. Application can change the path of event at runtime.if the flag is not set, then event each eve

[dpdk-dev] [PATCH v2 3/8] event/opdl: add the opdl pmd main body and xstats helper function

2017-12-15 Thread Liang Ma
This commit adds a OPDL implementation of the eventdev API. The implementation here is intended to enable the community to use the OPDL infrastructure under eventdev API. The main components of the implementation is three files: - opdl_evdev.c Creation, configuration, etc - opdl_e

[dpdk-dev] [PATCH v2 2/8] event/opdl: add the opdl pmd header and init helper function

2017-12-15 Thread Liang Ma
opdl_evdev.h include the main data structure of opdl device and all the function prototype need to be exposed to support eventdev API. opdl_evdev_init.c implement all initailization helper function Signed-off-by: Liang Ma Signed-off-by: Peter, Mccarthy --- drivers/event/opdl/opdl_evdev.h

[dpdk-dev] [RFC v2 PATCH 0/8] event: eventdev OPDL PMD

2017-12-15 Thread Liang Ma
The OPDL (Ordered Packet Distribution Library) eventdev is a specific implementation of the eventdev API. It is particularly suited to packet processing workloads that have high throughput and low latency requirements. All packets follow the same path through the device. The order which packets f

[dpdk-dev] [PATCH v2 1/8] event/opdl: add the opdl ring infrastructure library

2017-12-15 Thread Liang Ma
OPDL ring is the core infrastructure of OPDL PMD. OPDL ring library provide the core data structure and core helper function set. The Ring implements a single ring multi-port/stage pipelined packet distribution mechanism. This mechanism has the following characteristics: • No multiple queue cost,

Re: [dpdk-dev] [PATCH v5 2/2] examples/ipsec-secgw: add support for inline protocol

2017-12-15 Thread Anoob Joseph
Hi Akhil, On 12/15/2017 03:34 PM, Akhil Goyal wrote: On 12/15/2017 2:13 PM, Anoob Joseph wrote: Adding support for inline protocol processing In ingress side, application will receive regular IP packets, without any IPsec related info. Application will do a selector check (SP-SA check) by mak

Re: [dpdk-dev] [PATCH v5 2/2] examples/ipsec-secgw: add support for inline protocol

2017-12-15 Thread Anoob Joseph
Hi Nelio, On 12/15/2017 03:09 PM, Nelio Laranjeiro wrote: Hi Anoob, On Fri, Dec 15, 2017 at 08:43:16AM +, Anoob Joseph wrote: Adding support for inline protocol processing In ingress side, application will receive regular IP packets, without any IPsec related info. Application will do a

Re: [dpdk-dev] [PATCH] mk: fix libs installation when installing sdk

2017-12-15 Thread Thomas Monjalon
15/12/2017 11:45, Olivier MATZ: > On Fri, Dec 15, 2017 at 11:32:12AM +0100, Thomas Monjalon wrote: > > 15/12/2017 11:25, Olivier MATZ: > > > On Fri, Dec 15, 2017 at 11:19:57AM +0100, Thomas Monjalon wrote: > > > > 14/12/2017 15:24, Olivier Matz: > > > > > @@ -157,6 +157,8 @@ install-sdk: > > > > >

Re: [dpdk-dev] [PATCH v2 01/11] eal: add common test assert macros

2017-12-15 Thread Ananyev, Konstantin
> -Original Message- > From: Pavan Nikhilesh Bhagavatula [mailto:pbhagavat...@caviumnetworks.com] > Sent: Friday, December 15, 2017 9:05 AM > To: Ananyev, Konstantin ; > jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com; > Richardson, Bruce ; Van Haaren, Harry > ; Eads,

Re: [dpdk-dev] [PATCH v5 1/2] lib/security: add support for get userdata

2017-12-15 Thread Akhil Goyal
Hi Anoob, On 12/15/2017 4:23 PM, Anoob Joseph wrote: Hi Akhil, On 12/15/2017 03:31 PM, Akhil Goyal wrote: Hi Anoob, On 12/15/2017 2:13 PM, Anoob Joseph wrote: diff --git a/lib/librte_security/rte_security_version.map b/lib/librte_security/rte_security_version.map index e12c04b..87f35d7 10

Re: [dpdk-dev] [PATCH] net: update licence for network headers

2017-12-15 Thread Hemant Agrawal
On 12/14/2017 6:28 PM, Thomas Monjalon wrote: 14/12/2017 12:33, Hemant Agrawal: Thomas, Before I rework, What is your opinion w.r.t tooling in DPDK w.r.t SPDX. I saw a patch for checkpatch in Linux, which will also check for SPDX presence for any new file, however this patch onl

Re: [dpdk-dev] [PATCH v5 1/2] lib/security: add support for get userdata

2017-12-15 Thread Anoob Joseph
Hi Akhil, On 12/15/2017 03:31 PM, Akhil Goyal wrote: Hi Anoob, On 12/15/2017 2:13 PM, Anoob Joseph wrote: diff --git a/lib/librte_security/rte_security_version.map b/lib/librte_security/rte_security_version.map index e12c04b..87f35d7 100644 --- a/lib/librte_security/rte_security_version.map

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

2017-12-15 Thread Hemant Agrawal
Thanks for all the comments. I will rework and post. Also, my bad for flip-flop but I have to agree with Stephen's suggestion to adapt Linux style. i.e. use SPDX tag in top line or 2nd line for scripts. This is for following reason: 1. DPDK will be using kernel tools such as checkpatch. 2. DP

Re: [dpdk-dev] [PATCH] mk: fix libs installation when installing sdk

2017-12-15 Thread Olivier MATZ
On Fri, Dec 15, 2017 at 11:32:12AM +0100, Thomas Monjalon wrote: > 15/12/2017 11:25, Olivier MATZ: > > On Fri, Dec 15, 2017 at 11:19:57AM +0100, Thomas Monjalon wrote: > > > 14/12/2017 15:24, Olivier Matz: > > > > @@ -157,6 +157,8 @@ install-sdk: > > > > $(Q)cp -a $O/.config

[dpdk-dev] [PATCH v2] doc: announce ABI change for pktmbuf pool create API

2017-12-15 Thread Hemant Agrawal
Introduce a new argument ops_name in rte_mempool_set_ops_byname for allowing the application to optionally specify the mempool ops. Signed-off-by: Hemant Agrawal --- v2: fix checkpatch error doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/r

Re: [dpdk-dev] [PATCH] vhost: fix dequeue zero copy not work with virtio1

2017-12-15 Thread Loftus, Ciara
> > Hi Junjie, > > On 12/13/2017 05:50 PM, Junjie Chen wrote: > > This fix dequeue zero copy can not work with Qemu > > version >= 2.7. Since from Qemu 2.7 virtio device > > use virtio-1 protocol, the zero copy code path > > forget to add offset to buffer address. > > > > Signed-off-by: Junjie Ch

Re: [dpdk-dev] [PATCH] mk: fix libs installation when installing sdk

2017-12-15 Thread Thomas Monjalon
15/12/2017 11:25, Olivier MATZ: > On Fri, Dec 15, 2017 at 11:19:57AM +0100, Thomas Monjalon wrote: > > 14/12/2017 15:24, Olivier Matz: > > > @@ -157,6 +157,8 @@ install-sdk: > > > $(Q)cp -a $O/.config $(DESTDIR)$(targetdir) > > > $(Q)cp -a $O/app/dpdk-p

[dpdk-dev] [PATCH v3 4/4] doc: update documentation for flow classify lib

2017-12-15 Thread Jasvinder Singh
Updates the documentation for flow classification library and sample application. Signed-off-by: Jasvinder Singh --- v3: - add validate API desciption to programmers guide v2: - replace parse flow function with validate API doc/guides/prog_guide/flow_classify_lib.rst | 83 +-

[dpdk-dev] [PATCH v3 3/4] examples/flow_classify: update sample application

2017-12-15 Thread Jasvinder Singh
Update the flow_classify sample app to adapt the APIs changes. Signed-off-by: Jasvinder Singh --- v3: - fix build error issue with validate API v2: - use validate api to verify before adding flow rule examples/flow_classify/flow_classify.c | 43 ++ 1 file changed

[dpdk-dev] [PATCH v3 2/4] test/test_flow_classify: update test to accommodate changes

2017-12-15 Thread Jasvinder Singh
Test have ben modified to adapt the flow_classify api changes. Signed-off-by: Jasvinder Singh --- v2: - add validate API tests test/test/test_flow_classify.c | 178 + test/test/test_flow_classify.h | 10 ++- 2 files changed, 135 insertions(+), 53 deleti

[dpdk-dev] [PATCH v3 1/4] lib/librte_flow_classify: remove table id parameter from apis

2017-12-15 Thread Jasvinder Singh
This patch removes table id parameter from all the flow classify apis to reduce the complexity alongwith some code cleanup. The validate api is exposed as public api to allow user to validate the flow before adding it to the classifier. Signed-off-by: Jasvinder Singh --- v2: - break the patche i

[dpdk-dev] [PATCH 2/2] dpaa2: register dpaa2 mempool ops as active mempool

2017-12-15 Thread Hemant Agrawal
Detect if the DPAA2 mempool objects are present and they can serve as default mempool. Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 - drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 6 ++ drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 ++ drivers/mempool/dpaa2/

[dpdk-dev] [PATCH 1/2] mbuf: update default Mempool ops with HW active pool

2017-12-15 Thread Hemant Agrawal
With this patch the specific HW mempool are no longer required to be specified in the config file at compile. A default active hw mempool can be detected dynamically and published to default mempools ops config at run time. Only one type of HW mempool can be active default. Signed-off-by: Hemant A

[dpdk-dev] [PATCH 0/2] Dynamic HW Mempool Detection Support

2017-12-15 Thread Hemant Agrawal
W.r.t the multiple discussions in the past about the ability to dynamically detect the HW mempool support. [1] This patch set is another way to solve the issue. With this patch the specific HW mempool are no longer required to be specified in the config file at compile. A default active hw mempoo

Re: [dpdk-dev] [PATCH] mk: fix libs installation when installing sdk

2017-12-15 Thread Olivier MATZ
On Fri, Dec 15, 2017 at 11:19:57AM +0100, Thomas Monjalon wrote: > 14/12/2017 15:24, Olivier Matz: > > @@ -157,6 +157,8 @@ install-sdk: > > $(Q)cp -a $O/.config $(DESTDIR)$(targetdir) > > $(Q)cp -a $O/app/dpdk-pmdinfogen > > $(DESTDIR)$(targetdir

[dpdk-dev] [PATCH] doc: announce ABI change for pktmbuf pool create API

2017-12-15 Thread Hemant Agrawal
Introduce a new argument ops_name in rte_mempool_set_ops_byname for allowing the application to optionally specify the mempool ops. Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst

Re: [dpdk-dev] [PATCH] mk: fix libs installation when installing sdk

2017-12-15 Thread Thomas Monjalon
14/12/2017 15:24, Olivier Matz: > @@ -157,6 +157,8 @@ install-sdk: > $(Q)cp -a $O/.config $(DESTDIR)$(targetdir) > $(Q)cp -a $O/app/dpdk-pmdinfogen > $(DESTDIR)$(targetdir)/app > $(Q)$(call rte_symlink, $(DESTDIR)$(includedir), > $(DES

Re: [dpdk-dev] [PATCH v5 2/2] examples/ipsec-secgw: add support for inline protocol

2017-12-15 Thread Akhil Goyal
On 12/15/2017 2:13 PM, Anoob Joseph wrote: Adding support for inline protocol processing In ingress side, application will receive regular IP packets, without any IPsec related info. Application will do a selector check (SP-SA check) by making use of the metadata from the packet. The device-spec

Re: [dpdk-dev] [PATCH v5 1/2] lib/security: add support for get userdata

2017-12-15 Thread Akhil Goyal
Hi Anoob, On 12/15/2017 2:13 PM, Anoob Joseph wrote: diff --git a/lib/librte_security/rte_security_version.map b/lib/librte_security/rte_security_version.map index e12c04b..87f35d7 100644 --- a/lib/librte_security/rte_security_version.map +++ b/lib/librte_security/rte_security_version.map @@ -

Re: [dpdk-dev] A Bug in DPDK? Use Bugzilla!

2017-12-15 Thread Thomas Monjalon
15/12/2017 10:31, Radoslaw Biernacki: > Hi, > > What about DTS bugs. > Can we add DTS into component list in bugzilla? In the Bugzilla organization, it should be a different product. Qian, do you agree?

  1   2   >