[dpdk-dev] [PATCH v7] kernel folder for Linux and BSD modules

2018-02-21 Thread Hemant Agrawal
This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code. Signed-off-by: Hemant Agrawal Tested-by: Bruce Richardson --- v7: fix freebsd build support v6: added meson build support v5: rearrange kernel compliation as per Bruce's

Re: [dpdk-dev] [RFC v1 1/1] lib/cryptodev: add support of asymmetric crypto

2018-02-21 Thread Verma, Shally
HI Fiona >-Original Message- >From: Trahe, Fiona [mailto:fiona.tr...@intel.com] >Sent: 15 February 2018 17:16 >To: Verma, Shally ; dev@dpdk.org; Athreya, Narayana >Prasad ; >Murthy, Nidadavolu ; Sahu, Sunila >; Gupta, Ashish >; Doherty, Declan ; >Keating, Brian A ; Griffin, >John >Cc:

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

2018-02-21 Thread Verma, Shally
>-Original Message- >From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >Sent: 22 February 2018 01:06 >To: Trahe, Fiona ; Verma, Shally >; dev@dpdk.org >Cc: Athreya, Narayana Prasad ; Gupta, >Ashish ; Sahu, Sunila >; De Lara Guarch, Pablo >; Challa, Mahipal >; Jain, Deepak K ; Hemant

[dpdk-dev] [PATCH] net/bnxt: Fix bug with duplicate filter pattern for flow director

2018-02-21 Thread Somnath Kotur
When user reissues same flow director cmd with a different queue update the existing filter to redirect flow to the new desired queue as destination just like the other filters like 5 tuple and generic flow. Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_ethdev.c | 45 +++

Re: [dpdk-dev] [PATCH] bnxt: Fix bug with duplicate pattern for 5tuple filter

2018-02-21 Thread Somnath Kotur
Ferruh, Sorry, please ignore this patch, think i re-sent an old one by mistake, sent out the new one now Thanks Som On Wed, Feb 21, 2018 at 4:09 PM, Somnath Kotur wrote: > When user re-issues same 5 tuple filter pattern cmd with different > destination queue, it would flag it as a

Re: [dpdk-dev] [PATCH v2 2/3] vhost: protect dirty logging against logging base change

2018-02-21 Thread Tan, Jianfeng
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Wednesday, February 14, 2018 3:53 PM > To: Tan, Jianfeng; dev@dpdk.org; y...@fridaylinux.org; Bie, Tiwei; > vkapl...@redhat.com > Cc: sta...@dpdk.org; jfrei...@redhat.com > Subject: Re: [PATCH v2 2/3]

Re: [dpdk-dev] doc for multi-process communication

2018-02-21 Thread Tan, Jianfeng
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, February 15, 2018 8:17 PM > To: Tan, Jianfeng > Cc: dev@dpdk.org; Mcnamara, John; Ananyev, Konstantin; Burakov, Anatoly > Subject: doc for multi-process communication > > Hi Jianfeng, > > The new

Re: [dpdk-dev] [PATCH 4/4] vhost: avoid populate guest memory

2018-02-21 Thread Tan, Jianfeng
Hi Maxime, > -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Tuesday, February 20, 2018 4:45 AM > To: Tan, Jianfeng; dev@dpdk.org > Cc: y...@fridaylinux.org > Subject: Re: [PATCH 4/4] vhost: avoid populate guest memory > > Hi Jianfeng, > > On 02/14/

[dpdk-dev] [PATCH] vhost: add support for interrupt mode

2018-02-21 Thread Junjie Chen
In some cases we want vhost dequeue work in interrupt mode to release cpus to others when no data to transmit. So we install interrupt handler of vhost device and interrupt vectors for each rx queue when creating new backend according to vhost intrerupt configuration. Thus, applications could regis

Re: [dpdk-dev] Multi-driver support for Fortville

2018-02-21 Thread Xing, Beilei
Hi Nitin, > -Original Message- > From: Nitin Katiyar [mailto:nitin.kati...@ericsson.com] > Sent: Wednesday, February 14, 2018 6:53 PM > To: Xing, Beilei ; dev@dpdk.org > Cc: Venkatesan Pradeep > Subject: RE: Multi-driver support for Fortville > > Hi Beilei, > Thanks for clarifying the qu

[dpdk-dev] [PATCH v2 2/2] Add autotests for RIB library

2018-02-21 Thread Medvedkin Vladimir
Signed-off-by: Medvedkin Vladimir --- test/test/Makefile | 5 + test/test/test_rib.c | 330 +++ test/test/test_rib_generate_rt.c | 297 +++ test/test/test_rib_generate_rt.h | 38 + test/test/test_

[dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-02-21 Thread Medvedkin Vladimir
RIB is an alternative to current LPM library. It solves the following problems - Increases the speed of control plane operations against lpm such as adding/deleting routes - Adds abstraction from dataplane algorithms, so it is possible to add different ip route lookup algorythms such as DXR

[dpdk-dev] [PATCH v2 0/2] lib/rib: Add Routing Information Base library

2018-02-21 Thread Medvedkin Vladimir
This patch series introduces new library librte_rib which potentially could replace librte_lpm. Medvedkin Vladimir (2): Add RIB library Add autotests for RIB library config/common_base | 6 + doc/api/doxy-api.conf | 1 + lib/Makefile |

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-21 Thread Trahe, Fiona
We've been struggling with the idea of session in compressdev. Is it really a session? - It's not in the same sense as cryptodev where it's used to hold a key, and maps to a Security Association. - It's a set of immutable data that is needed with the op and stream to perform the operation. -

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

2018-02-21 Thread Ahmed Mansour
On 2/21/2018 9:35 AM, Trahe, Fiona wrote: > Hi Ahmed, Shally, > > >> -Original Message- >> From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >> Sent: Tuesday, February 20, 2018 7:56 PM >> To: Verma, Shally ; Trahe, Fiona >> ; dev@dpdk.org >> Cc: Athreya, Narayana Prasad ; Gupta, >> Ashis

[dpdk-dev] Fwd: rte_eth_rx_queue_setup is returning error -28 (ENOSPC)

2018-02-21 Thread Victor Huertas
Hi all, I am trying to make an application for having various rx threads capturing packets from various queues of the same NIC (to increase performance using RSS on one NIC). I am basing the app on an example called l3fwd-thread. However, when I try to create the rx queue in a port using the rte_

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

2018-02-21 Thread Trahe, Fiona
Hi Ahmed, Shally, > -Original Message- > From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] > Sent: Tuesday, February 20, 2018 7:56 PM > To: Verma, Shally ; Trahe, Fiona > ; dev@dpdk.org > Cc: Athreya, Narayana Prasad ; Gupta, > Ashish > ; Sahu, Sunila ; De Lara > Guarch, Pablo > ; Cha

[dpdk-dev] [PATCH 8/8] net/mrvl: add Tx queue start/stop

2018-02-21 Thread Tomasz Duszynski
Add Tx queue start/stop feature. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- doc/guides/nics/mrvl.rst | 1 + drivers/net/mrvl/mrvl_ethdev.c | 92 +- 2 files changed, 91 insertions(+), 2 deletions(-) diff --git a/doc/guides/

[dpdk-dev] [PATCH 5/8] net/mrvl: add classifier support

2018-02-21 Thread Tomasz Duszynski
Add classifier configuration support via rte_flow api. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- doc/guides/nics/mrvl.rst | 168 +++ drivers/net/mrvl/Makefile |1 + drivers/net/mrvl/mrvl_ethdev.c | 59 + drivers/net/mrvl/mrvl_ethdev.h | 10 + driver

[dpdk-dev] [PATCH 7/8] net/mrvl: add Rx flow control

2018-02-21 Thread Tomasz Duszynski
Add Rx side flow control support. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- doc/guides/nics/features/mrvl.ini | 1 + doc/guides/nics/mrvl.rst | 1 + drivers/net/mrvl/mrvl_ethdev.c| 78 +++ 3 files changed, 80 insertion

[dpdk-dev] [PATCH 6/8] net/mrvl: add extended statistics

2018-02-21 Thread Tomasz Duszynski
Add extended statistics implementation. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- doc/guides/nics/features/mrvl.ini | 1 + doc/guides/nics/mrvl.rst | 1 + drivers/net/mrvl/mrvl_ethdev.c| 205 +- 3 files changed, 206

[dpdk-dev] [PATCH 4/8] net/mrvl: document policer/scheduler/rate limiter usage

2018-02-21 Thread Tomasz Duszynski
Add documentation and example for ingress policer, egress scheduler and egress rate limiter. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- doc/guides/nics/mrvl.rst | 86 1 file changed, 80 insertions(+), 6 deletions(-) diff

[dpdk-dev] [PATCH 3/8] net/mrvl: add egress scheduler/rate limiter support

2018-02-21 Thread Tomasz Duszynski
Add egress scheduler and egress rate limiter support. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- drivers/net/mrvl/mrvl_ethdev.c | 6 +- drivers/net/mrvl/mrvl_qos.c| 141 +++-- drivers/net/mrvl/mrvl_qos.h| 19 ++ 3 files

[dpdk-dev] [PATCH 0/8] net/mrvl: add new features to PMD

2018-02-21 Thread Tomasz Duszynski
This patch series comes along with a set of features, documentation updates and fixes. Below one can find a short summary of introduced changes: o Added support for selective Tx queue start and stop. o Added support for Rx flow control. o Added support for extended statistics counters. o Added su

[dpdk-dev] [PATCH 1/8] net/mrvl: fix crash when port is closed without starting

2018-02-21 Thread Tomasz Duszynski
From: Natalie Samsonov Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton") Cc: sta...@dpdk.org Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- drivers/net/mrvl/mrvl_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/mrvl/mrvl_ethd

[dpdk-dev] [PATCH 2/8] net/mrvl: add ingress policer support

2018-02-21 Thread Tomasz Duszynski
Add ingress policer support. Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- drivers/net/mrvl/mrvl_ethdev.c | 6 ++ drivers/net/mrvl/mrvl_ethdev.h | 1 + drivers/net/mrvl/mrvl_qos.c| 160 +++-- drivers/net/mrvl/mrvl_qos.h| 3

[dpdk-dev] [PATCH v1] net/mlx4: fix RSS actions with no parameters

2018-02-21 Thread Ophir Munk
When creating an RSS flow with missing actions parameters, for example: flow create 0 ingress pattern / end actions rss / end testpmd aborts with segmentation fault. In the corrupted code mlx4_flow_prepare() accesses RSS action->conf pointer without verifying its validity. In case of missing RSS

Re: [dpdk-dev] [PATCH] net/virtio: add driver to meson build

2018-02-21 Thread Maxime Coquelin
On 02/16/2018 06:21 PM, Bruce Richardson wrote: Signed-off-by: Bruce Richardson --- drivers/net/meson.build| 2 +- drivers/net/virtio/meson.build | 27 +++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 drivers/net/virtio/meson.build

[dpdk-dev] Back-up committers for subtrees

2018-02-21 Thread De Lara Guarch, Pablo
Hi everyone, In the last few releases, the DPDK community has experienced a significant growth, specifically in patches submitted and integrated. Therefore, the number of subtrees has increased, to help maintain the scalability. Section 5.3 of the Contributor's guide (http://dpdk.org/doc/guide

Re: [dpdk-dev] [PATCH v6] kernel folder for Linux and BSD modules

2018-02-21 Thread Bruce Richardson
On Wed, Feb 21, 2018 at 01:39:31PM +0530, Hemant Agrawal wrote: > This patch moves the kernel modules code from EAL to a common place. > - Separate the kernel module code from user space code. > > Signed-off-by: Hemant Agrawal > Tested-by: Bruce Richardson > --- > v6: added meson build support

[dpdk-dev] [PATCH] bnxt: Fix bug with duplicate pattern for 5tuple filter

2018-02-21 Thread Somnath Kotur
When user re-issues same 5 tuple filter pattern cmd with different destination queue, it would flag it as an existing match. However, when deletion on this filter was attempted, it would crash as the 'vnic' from which the filter was being removed from would be different. Fix by updating the filter

Re: [dpdk-dev] [PATCH] version: 18.05-rc0

2018-02-21 Thread Bruce Richardson
On Wed, Feb 21, 2018 at 08:16:07AM +, Hemant Agrawal wrote: > Hi Bruce, > > > > On Tue, Feb 20, 2018 at 06:12:49AM +, Hemant Agrawal wrote: > > > Hi Thomas, > > > Can you integrate ? > > > > > > An early integration will help the subsequent kernel module patches to use > > new path. > >

Re: [dpdk-dev] [PATCH] vhost: fix return avail ring position in get vring base

2018-02-21 Thread Maxime Coquelin
On 02/09/2018 06:28 PM, Tomasz Kulasek wrote: According to the "Vhost-user Protocol" document, VHOST_USER_GET_VRING_BASE should get the available vring base offset. Fixes: 8f972312b8f4 ("vhost: support vhost-user") Cc:huawei@intel.com Cc:sta...@dpdk.org Signed-off-by: Pawel Wodkowski Sign

[dpdk-dev] Minutes of technical board meeting 2018-02-14

2018-02-21 Thread Olivier Matz
Hi, Here are the minutes of the last DPDK technical board meeting held on 2018-02-14. Attendees: 6 members among 9 were present, which is less than the quorum (70% of the Technical Board): - Ferruh Yigit - Jerin Jacob - Konstantin Ananyev - Olivier Matz - Stephen Hemminger - Thomas Monjalon 1)

Re: [dpdk-dev] [PATCH] version: 18.05-rc0

2018-02-21 Thread Hemant Agrawal
Hi Bruce, > On Tue, Feb 20, 2018 at 06:12:49AM +, Hemant Agrawal wrote: > > Hi Thomas, > > Can you integrate ? > > > > An early integration will help the subsequent kernel module patches to use > new path. > > > > Regards, > > Hemant > > > > I think that could do with a respin to include

[dpdk-dev] [PATCH v6] kernel folder for Linux and BSD modules

2018-02-21 Thread Hemant Agrawal
This patch moves the kernel modules code from EAL to a common place. - Separate the kernel module code from user space code. Signed-off-by: Hemant Agrawal Tested-by: Bruce Richardson --- v6: added meson build support v5: rearrange kernel compliation as per Bruce's suggestion v4: update the path