[dpdk-dev] [pull-request] next-eventdev 18.05 RC1

2018-04-14 Thread Jerin Jacob
The following changes since commit fb73e096110a41b77448fe27fd9be8c489ec5d82: app/testpmd: enable device hotplug monitoring (2018-04-13 12:01:19 +0200) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-eventdev for you to fetch changes up to fe5abd3150bc1caa8369e743

[dpdk-dev] [PATCH] vhost: fix meson build for vDPA

2018-04-14 Thread Jay Zhou
CC: Zhihong Wang Fixes: 8b991d412e (vhost: support selective datapath) Signed-off-by: Jay Zhou --- lib/librte_vhost/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson.build index 66cced1cb..b021894a0 100644 --- a

[dpdk-dev] [PATCH] compat: add virtio crypto header file

2018-04-14 Thread Jay Zhou
Moving the virtio crypto header file from vhost lib to compat lib, then this header file can be shared between vhost crypto backend and virtio crypto PMD. Signed-off-by: Jay Zhou --- lib/librte_compat/Makefile | 3 ++- lib/librte_compat/meson.build

[dpdk-dev] [PATCH v8 03/11] crypto/virtio: support basic PMD ops

2018-04-14 Thread Jay Zhou
This patch implements the basic operations of virtio crypto PMD, which includes start, stop, close, information getting, queue setup and release of the device. The virtio crypto device has two types of queues, data queue and control queue. It has one data queue at least and has one and only one con

[dpdk-dev] [PATCH v8 01/11] crypto/virtio: add virtio crypto PMD

2018-04-14 Thread Jay Zhou
The virtio crypto device is a virtual cryptography device as well as a kind of virtual hardware accelerator for virtual machines. The linux kernel virtio-crypto driver has been merged, and this patch introduces virtio crypto PMD to achieve better performance. Signed-off-by: Jay Zhou Reviewed-by:

[dpdk-dev] [PATCH v8 02/11] crypto/virtio: support virtio device init

2018-04-14 Thread Jay Zhou
This patch implements the initialization of the virtio crypto device. The virtio crypto device conforms to virtio-1.0, so this patch only supports modern mode operation. The cryptodev is created at the virtio crypto pci device probing stage. The function of virtio_crypto_pkt_tx_burst() is used to b

[dpdk-dev] [PATCH v8 09/11] crypto/virtio: build with meson

2018-04-14 Thread Jay Zhou
Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/meson.build| 2 +- drivers/crypto/virtio/meson.build | 12 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 drivers/crypto/virtio/meson.build diff --git a/drivers/cry

[dpdk-dev] [PATCH v8 05/11] crypto/virtio: support crypto enqueue/dequeue burst API

2018-04-14 Thread Jay Zhou
This patch implements the functions of virtio_crypto_pkt_tx_burst() and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests are placed in the data queue and are ultimately handled by the backend crypto accelerators. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zh

[dpdk-dev] [PATCH v8 07/11] crypto/virtio: support AES-CBC

2018-04-14 Thread Jay Zhou
The AES-CBC cipher only algorithm has been supported now. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++ drivers/crypto/virtio/virtio_cryptodev.c | 11 2 files changed, 41

[dpdk-dev] [PATCH v8 04/11] crypto/virtio: support session related ops

2018-04-14 Thread Jay Zhou
This patch implements session related operations, which includes creating and destroying the session. For now, it only supports the session-oriented API implementation. The control queue used to create or destroy sessions for symmetric algorithms. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang A

[dpdk-dev] [PATCH v8 00/11] crypto: add virtio poll mode driver

2018-04-14 Thread Jay Zhou
This patch series introduce virtio crypto poll mode driver. Since it is limited by the vhost crypto backend of the virtio-crypto, this patch series only supports a limited subset of crypto services. Only the following algorithms are tested: Cipher algorithms: - RTE_CRYPTO_CIPHER_AES_CBC (128-bi

[dpdk-dev] [PATCH v8 11/11] doc: add virtio crypto PMD guide

2018-04-14 Thread Jay Zhou
This patch adds the guide for virtio crypto PMD. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- MAINTAINERS | 2 + doc/guides/cryptodevs/features/virtio.ini | 26 +++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryp

[dpdk-dev] [PATCH v8 06/11] crypto/virtio: support stats related ops

2018-04-14 Thread Jay Zhou
This patch implements the statistics of the packets. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/virtio/virtio_cryptodev.c | 66 +++- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/virtio/virti

[dpdk-dev] [PATCH v8 08/11] crypto/virtio: support HMAC-SHA1

2018-04-14 Thread Jay Zhou
The AES-CBC with HMAC-SHA1 has been supported now. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 + drivers/crypto/virtio/virtio_cryptodev.c | 4 +++- 2 files changed, 24 insertions(

[dpdk-dev] [PATCH v8 10/11] test/crypto: add function tests for virtio crypto PMD

2018-04-14 Thread Jay Zhou
Only RTE_CRYPTO_CIPHER_AES_CBC cipher algorithm are tested as unit test, it is supported both by the cryptodev-backend-builtin and cryptodev-vhost-user of qemu side. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- test/test/test_cryptodev.c | 48

Re: [dpdk-dev] [PATCH v3 2/2] eal: fix signed integers in fbarray

2018-04-14 Thread Burakov, Anatoly
On 13-Apr-18 7:43 PM, Adrien Mazarguil wrote: While debugging startup issues encountered with Clang (see "eal: fix undefined behavior in fbarray"), I noticed that fbarray stores indices, sizes and masks on signed integers involved in bitwise operations. Such operations almost invariably cause un

Re: [dpdk-dev] [PATCH v3 07/14] net/mlx5: support tunnel RSS level

2018-04-14 Thread Xueming(Steven) Li
Hi Nelio, > -Original Message- > From: Nélio Laranjeiro > Sent: Friday, April 13, 2018 9:27 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH v3 07/14] net/mlx5: support tunnel RSS level > > Seems you did not read my comments on this patch, I have exac

Re: [dpdk-dev] [PATCH] drivers/net: update link status

2018-04-14 Thread Tiwei Bie
On Fri, Apr 13, 2018 at 10:53:55PM +0100, Ferruh Yigit wrote: > On 4/10/2018 4:41 PM, Tiwei Bie wrote: > > On Tue, Mar 13, 2018 at 06:05:34PM +, Ferruh Yigit wrote: > >> Update link status related feature document items and minor updates in > >> some link status related functions. > >> > >> Sig

Re: [dpdk-dev] [PATCH v2 07/15] net/mlx5: support tunnel RSS level

2018-04-14 Thread Xueming(Steven) Li
> -Original Message- > From: Nélio Laranjeiro > Sent: Wednesday, April 11, 2018 4:55 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH v2 07/15] net/mlx5: support tunnel RSS level > > On Tue, Apr 10, 2018 at 09:34:07PM +0800, Xueming Li wrote: > > Tun

Re: [dpdk-dev] [PATCH v3 04/14] net/mlx5: support Rx tunnel type identification

2018-04-14 Thread Xueming(Steven) Li
+Adrien > -Original Message- > From: Nélio Laranjeiro > Sent: Friday, April 13, 2018 9:03 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org; Olivier Matz > > Subject: Re: [PATCH v3 04/14] net/mlx5: support Rx tunnel type > identification > > +Olivier, > > On Fri, Apr 13,

Re: [dpdk-dev] [PATCH] vhost: fix meson build for vDPA

2018-04-14 Thread Maxime Coquelin
On 04/14/2018 11:22 AM, Jay Zhou wrote: CC: Zhihong Wang Fixes: 8b991d412e (vhost: support selective datapath) Signed-off-by: Jay Zhou --- lib/librte_vhost/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/meson.build b/lib/librte_vhost/meson

Re: [dpdk-dev] [PATCH v5 02/21] eal: list acceptable init priorities

2018-04-14 Thread Neil Horman
On Fri, Apr 13, 2018 at 02:55:11PM +0200, Gaëtan Rivet wrote: > Hi Shreyansh, > > On Fri, Apr 13, 2018 at 06:22:43PM +0530, Shreyansh Jain wrote: > > On Friday 13 April 2018 05:12 PM, Neil Horman wrote: > > > On Thu, Apr 12, 2018 at 11:57:47PM +0200, Gaëtan Rivet wrote: > > > > Hello Neil, > > > >

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-14 Thread Matan Azrad
Hi all From: Burakov, Anatoly, Friday, April 13, 2018 8:41 PM > To: Bruce Richardson ; Thomas Monjalon > > Cc: dev@dpdk.org; pmati...@redhat.com; david.march...@6wind.com; > jia@intel.com; Matan Azrad ; > konstantin.anan...@intel.com; step...@networkplumber.org; > f...@redhat.com > Subject: R

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-14 Thread Stephen Hemminger
My vote is to work with udev and not try to replace it. Driverctl works well. Just not for bifurcated driver On Fri, Apr 13, 2018, 9:31 AM Thomas Monjalon wrote: > It's time to think (again) how we bind devices with kernel modules. > We need to decide how we want to manage hotplugged devices wi

Re: [dpdk-dev] kernel binding of devices + hotplug

2018-04-14 Thread Wiles, Keith
On Apr 13, 2018, at 11:40 AM, Bruce Richardson mailto:bruce.richard...@intel.com>> wrote: On Fri, Apr 13, 2018 at 06:31:21PM +0200, Thomas Monjalon wrote: It's time to think (again) how we bind devices with kernel modules. We need to decide how we want to manage hotplugged devices with DPDK. A

Re: [dpdk-dev] [PATCH v2] doc: reduce initial offload API scope to drivers

2018-04-14 Thread Shahaf Shuler
Saturday, April 14, 2018 12:21 AM, Ferruh Yigit: > Subject: [PATCH v2] doc: reduce initial offload API scope to drivers > > Do ethdev new offloading API switch in two steps. > > In v18.05 target is implementing the new ethdev-PMD offload interface, > which means converting all PMDs to new offload