[dpdk-dev] [PATCH FIX-OPTION-2 1/2] eal: use named memzone to store user mempool ops name

2018-02-02 Thread Hemant Agrawal
The new mbuf pool ops name API uses the named memzone to store different types of configured mempool ops name. It is better to also save the user configured mempool ops name in named memzone. This way the best mempool ops name can easily get the user configured mempool ops name for it's decisions.

[dpdk-dev] [PATCH FIX-OPTION-1] mbuf: fix the logic of user mempool ops API

2018-02-02 Thread Hemant Agrawal
From: Nipun Gupta The existing rte_eal_mbuf_default mempool ops can return the compile time default ops name if the user has not provided command line inputs for mempool ops name. It will break the logic of best mempool ops as it will never return platform hw mempool ops. This patch introduces a

[dpdk-dev] [PATCH] doc: remove eal API for default mempool ops name

2018-02-02 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index d59ad59..a2b391c 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guide

[dpdk-dev] [PATCH FIX-OPTION-2 2/2] mbuf: fix user mempool ops get to use only named memzone

2018-02-02 Thread Hemant Agrawal
The eal default mempool ops API can also return the compile time default mempool ops name, which can break the best mempool ops name logic. Fixes: a3acc3144a76 ("mbuf: add pool ops selection functions") Signed-off-by: Hemant Agrawal --- lib/librte_mbuf/rte_mbuf_pool_ops.c | 2 +- 1 file changed

Re: [dpdk-dev] [PATCH] event/rx_adapter: fix ignore return of event start

2018-02-02 Thread Varghese, Vipin
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, January 31, 2018 6:54 AM > To: Rao, Nikhil > Cc: Varghese, Vipin ; dev@dpdk.org; Jacob, Jerin > ; Van Haaren, Harry > ; Hemant Agrawal ; > Jain, Deepak K > Subject: Re: [PATCH] event/rx_a

Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload

2018-02-02 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Wednesday, January 31, 2018 11:34 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload > > HW supports outer IP Rx checksum offload, this

[dpdk-dev] XL710: [Q] traffic steering under DPDK.

2018-02-02 Thread Arkady Gilinsky
Hi, Basically we are trying to configure packet steering to specific VF according to L2 filter on XL710 Intel NIC adapter. We need to support steering by MAC address and VLAN VID. We do not need perfect match filtering, packet supposed to be sent to specific VF when MAC address or VLAN VID matches

Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload

2018-02-02 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Helin > Sent: Friday, February 2, 2018 4:14 PM > To: Xing, Beilei; Zhang, Qi Z > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: update Rx checksum offload > > > > > -Original Message---

[dpdk-dev] [PATCH v2] doc: remove eal API for default mempool ops name

2018-02-02 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- v2: fix checkpatch errors doc/guides/rel_notes/deprecation.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index d59ad59..c7d8f25 100644 --- a/doc/guides/rel_notes/depr

[dpdk-dev] [PATCH] vhost: unlink existing file for server mode

2018-02-02 Thread Zhiyong Yang
Vhost-user startup will fail based on server mode, if the specified socket file has already existed. The patch introduces function unlink() to remove the possible existing file. Cc: y...@fridaylinux.org Cc: maxime.coque...@redhat.com Signed-off-by: Zhiyong Yang --- lib/librte_vhost/socket.c | 1

Re: [dpdk-dev] [PATCH] doc: announce ABI change for crypto info struct

2018-02-02 Thread De Lara Guarch, Pablo
Hi Shally, > -Original Message- > From: Verma, Shally [mailto:shally.ve...@cavium.com] > Sent: Tuesday, January 30, 2018 11:54 AM > To: De Lara Guarch, Pablo ; Akhil Goyal > ; Trahe, Fiona ; > hemant.agra...@nxp.com; Doherty, Declan ; > Griffin, John ; Jain, Deepak K > ; j...@semihalf.com;

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

2018-02-02 Thread Thomas Monjalon
01/02/2018 18:04, Ferruh Yigit: > On 1/30/2018 11:40 PM, Thomas Monjalon wrote: > > 16/12/2017 01:13, 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" >

Re: [dpdk-dev] [PATCH v3 1/6] test: fix memory leak in bitmap test

2018-02-02 Thread Thomas Monjalon
01/02/2018 18:04, Burakov, Anatoly: > On 01-Feb-18 12:10 AM, Thomas Monjalon wrote: > > 17/01/2018 12:15, Anatoly Burakov: > >> Acked-by: Cristian Dumitrescu > >> > >> Fixes: c7e4a134e769 ("test: verify bitmap operations") > >> Cc: pbhagavat...@caviumnetworks.com > >> > >> Signed-off-by: Anatoly B

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

2018-02-02 Thread Pascal Mazon
Hi, You didn't address my request about not using a global value. Was there a good reason? I paste it here again as a reminder: Can you also not use a global value for user_mac, but instead change the last argument for eth_dev_tap_create(): Use directly a char mac[ETHER_ADDR_LEN], automati

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

2018-02-02 Thread Varghese, Vipin
Hi Pascal, Sincere apologizes, I think I missed out since rework was asked. Please find my answers inline to the comment > -Original Message- > From: Pascal Mazon [mailto:pascal.ma...@6wind.com] > Sent: Friday, February 2, 2018 9:16 AM > To: Varghese, Vipin ; dev@dpdk.org > Cc: Yigit, Fe

Re: [dpdk-dev] [PATCH] event/rx_adapter: fix ignore return of event start

2018-02-02 Thread Rao, Nikhil
> -Original Message- > From: Varghese, Vipin > Sent: Friday, February 2, 2018 1:39 PM > To: Jerin Jacob ; Rao, Nikhil > > Cc: dev@dpdk.org; Jacob, Jerin ; Van > Haaren, Harry ; Hemant Agrawal > ; Jain, Deepak K > Subject: RE: [PATCH] event/rx_adapter: fix ignore return of event start >

Re: [dpdk-dev] [PATCH V14 1/3] eal: add uevent monitor api and callback func

2018-02-02 Thread Guo, Jia
On 1/31/2018 8:44 AM, Stephen Hemminger wrote: On Tue, 30 Jan 2018 20:20:58 +0800 Jeff Guo wrote: + memset(&ep_kernel, 0, sizeof(struct epoll_event)); + ep_kernel.events = EPOLLIN | EPOLLPRI | EPOLLRDHUP | EPOLLHUP; + ep_kernel.data.fd = netlink_fd; + if (epoll_ctl(fd

Re: [dpdk-dev] [PATCH] doc: announce ABI change for crypto info struct

2018-02-02 Thread Verma, Shally
>-Original Message- >From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com] >Sent: 02 February 2018 14:38 >To: Verma, Shally ; Akhil Goyal >; Trahe, Fiona ; >hemant.agra...@nxp.com; Doherty, Declan ; Griffin, >John ; Jain, Deepak K >; j...@semihalf.com; t...@semihalf.com;

Re: [dpdk-dev] [PATCH] net/i40e: fix VF testpmd startup failure issue

2018-02-02 Thread Xing, Beilei
> -Original Message- > From: Li, Xiaoyun > Sent: Friday, February 2, 2018 1:45 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH] net/i40e: fix VF testpmd startup failure issue > > New testpmd will get CRC strip offload from rx_offload_capa. I40ev

Re: [dpdk-dev] [PATCH v3 1/6] test: fix memory leak in bitmap test

2018-02-02 Thread Burakov, Anatoly
On 02-Feb-18 9:08 AM, Thomas Monjalon wrote: 01/02/2018 18:04, Burakov, Anatoly: On 01-Feb-18 12:10 AM, Thomas Monjalon wrote: 17/01/2018 12:15, Anatoly Burakov: Acked-by: Cristian Dumitrescu Fixes: c7e4a134e769 ("test: verify bitmap operations") Cc: pbhagavat...@caviumnetworks.com Signed-o

Re: [dpdk-dev] [PATCH v2 0/5] Fix meson build on FreeBSD

2018-02-02 Thread Bruce Richardson
On Thu, Feb 01, 2018 at 02:20:06PM +, Bruce Richardson wrote: > There are a few issues with building DPDK for FreeBSD using the > meson build system, specifically: > * the kernel modules aren't compiling due to an incorrect VPATH > * a number of unit tests depend on libraries not supported on B

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-02 Thread Burakov, Anatoly
On 01-Feb-18 7:26 PM, Ravi Kerur wrote: On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 31-Jan-18 9:51 PM, Ravi Kerur wrote: Hi Anatoly, Thanks. I am following wiki link below which uses vIOMMU with DPDK as a use-ca

Re: [dpdk-dev] [RFC v3] Compression API in DPDK :SW ZLIB PMD

2018-02-02 Thread Verma, Shally
HI Fiona >-Original Message- >From: Verma, Shally >Sent: 12 January 2018 19:24 >To: 'Trahe, Fiona' ; dev@dpdk.org >Cc: Gupta, Ashish ; Sahu, Sunila >; Challa, Mahipal >; Athreya, Narayana Prasad >; De Lara Guarch, Pablo >; Jain, Deepak K ; >Roy Pledge ; Youri Querry >; Hemant Agrawal ;

[dpdk-dev] [PATCH 0/7] vhost: support selective datapath

2018-02-02 Thread Zhihong Wang
This patch set introduces support for selective datapath in DPDK vhost-user lib. vDPA stands for vhost Data Path Acceleration. The idea is to enable various types of virtio-compatible devices to do data transfer with virtio driver directly to enable acceleration. The default datapath is the existi

[dpdk-dev] [PATCH 1/7] vhost: make capabilities configurable

2018-02-02 Thread Zhihong Wang
This patch makes vhost device capabilities configurable to adopt new devices, since different devices may have different capabilities, like different combinations of supported features, or different number of queues. APIs are introduced to let app configure these capabilities. Signed-off-by: Zhiho

[dpdk-dev] [PATCH 3/7] vhost: support selective datapath

2018-02-02 Thread Zhihong Wang
This patch introduces support for selective datapath in DPDK vhost-user lib to enable various types of virtio-compatible devices to do data transfer with virtio driver directly to enable acceleration. The default datapath is the existing software implementation, more options will be available when

[dpdk-dev] [PATCH 2/7] vhost: export vhost feature definitions

2018-02-02 Thread Zhihong Wang
This patch exports vhost-user protocol features to support device driver development. Signed-off-by: Zhihong Wang --- lib/librte_vhost/rte_vhost.h | 8 lib/librte_vhost/vhost.h | 4 +--- lib/librte_vhost/vhost_user.c | 9 + lib/librte_vhost/vhost_user.h | 20 +++

[dpdk-dev] [PATCH 4/7] vhost: add apis for datapath configuration

2018-02-02 Thread Zhihong Wang
This patch adds APIs for datapath configuration. The eid and did of the vhost-user socket can be configured to identify the actual device. When the default software datapath is used, eid and did are set to -1. When alternative datapath is used, eid and did are set by app to specify which device to

[dpdk-dev] [PATCH 6/7] vhost: get callfd before device setup

2018-02-02 Thread Zhihong Wang
From: Xiao Wang This patch is to make sure device is configured with all needed guest info. According to QEMU vhost message sequence, the real callfd comes just before SET_VRING_ENABLE. Signed-off-by: Xiao Wang --- lib/librte_vhost/vhost_user.c | 3 ++- 1 file changed, 2 insertions(+), 1 delet

[dpdk-dev] [PATCH 7/7] vhost: export new apis

2018-02-02 Thread Zhihong Wang
This patch exports new APIs as experimental. Signed-off-by: Zhihong Wang --- lib/librte_vhost/rte_vdpa.h| 16 +++- lib/librte_vhost/rte_vhost.h | 30 -- lib/librte_vhost/rte_vhost_version.map | 18 ++ 3 files changed,

[dpdk-dev] [PATCH 5/7] vhost: adapt vhost lib for selective datapath

2018-02-02 Thread Zhihong Wang
This patch adapts vhost lib for selective datapath by calling device ops at the corresponding stage. Signed-off-by: Zhihong Wang --- lib/librte_vhost/socket.c | 3 +++ lib/librte_vhost/vhost.c | 5 + lib/librte_vhost/vhost_user.c | 48 +++ 3

Re: [dpdk-dev] [RFC v3] Compression API in DPDK :SW ZLIB PMD

2018-02-02 Thread Jain, Deepak K
Hi Shally, > -Original Message- > From: Verma, Shally [mailto:shally.ve...@cavium.com] > Sent: Friday, February 2, 2018 11:27 AM > To: Trahe, Fiona ; dev@dpdk.org > Cc: Gupta, Ashish ; Sahu, Sunila > ; Challa, Mahipal ; > Athreya, Narayana Prasad ; De Lara > Guarch, Pablo ; Jain, Deepak K

[dpdk-dev] [PATCH] pmdinfogen: fix resource leak of FILE object

2018-02-02 Thread Bruce Richardson
Coverity flags an issue where the resources used by the FILE object for the temporary input file are leaked. This is a very minor issue, but is easily fixed, while also avoiding later problems where we try to close an invalid file descriptor in the failure case. The fix is to use "dup()" to get a

[dpdk-dev] [PATCH v4 1/4] net/i40e: add warnings when writing global registers

2018-02-02 Thread Beilei Xing
Add warnings when writing global registers. Signed-off-by: Beilei Xing --- doc/guides/nics/i40e.rst | 12 drivers/net/i40e/i40e_ethdev.c | 25 drivers/net/i40e/i40e_ethdev.h | 43 ++ drivers/net/i40e/i40e_fdir.c

[dpdk-dev] [PATCH v4 0/4] net/i40e: fix multiple driver support issue

2018-02-02 Thread Beilei Xing
DPDK i40e PMD will modify some global registers during initialization and post initialization, there'll be impact during use of 700 series Ethernet Adapter with both Linux kernel and DPDK PMD. This patchset adds log for global configuration and adds device args to disable global configuration and c

[dpdk-dev] [PATCH v4 2/4] net/i40e: add debug logs when writing global registers

2018-02-02 Thread Beilei Xing
Add debug logs when writing global registers. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 153 ++--- drivers/net/i40e/i40e_ethdev.h | 11 +++ 2 files changed, 123 insertions(+), 41 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v4 3/4] net/i40e: fix multiple driver support issue

2018-02-02 Thread Beilei Xing
This patch provides the option to disable writing some global registers in PMD, in order to avoid affecting other drivers, when multiple drivers run on the same NIC and control different physical ports. Because there are few global resources shared among different physical ports. Fixes: ec246eeb5d

[dpdk-dev] [PATCH v4 4/4] net/i40e: fix interrupt conflict when using multi-driver

2018-02-02 Thread Beilei Xing
There's interrupt conflict when using DPDK and Linux i40e on different ports of the same Ethernet controller, this patch fixes it by switching from IntN to Int0 if multiple drivers are used. Fixes: be6c228d4da3 ("i40e: support Rx interrupt") Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_

Re: [dpdk-dev] [PATCH] net/i40e: fix VF testpmd startup failure issue

2018-02-02 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xing, Beilei > Sent: Friday, February 2, 2018 6:44 PM > To: Li, Xiaoyun > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix VF testpmd startup failure issue > > > > > -Origin

Re: [dpdk-dev] [PATCH] event/rx_adapter: fix ignore return of event start

2018-02-02 Thread Jerin Jacob
-Original Message- > Date: Fri, 2 Feb 2018 10:04:20 + > From: "Rao, Nikhil" > To: "Varghese, Vipin" , Jerin Jacob > > CC: "dev@dpdk.org" , "Jacob, Jerin" > , "Van Haaren, Harry" > , Hemant Agrawal , > "Jain, Deepak K" > Subject: RE: [PATCH] event/rx_adapter: fix ignore return of

[dpdk-dev] [PATCH v3 2/4] net/i40e: add debug logs when writing global registers

2018-02-02 Thread Beilei Xing
Add debug logs when writing global registers. Signed-off-by: Beilei Xing Cc: sta...@dpdk.org --- drivers/net/i40e/i40e_ethdev.c | 127 + drivers/net/i40e/i40e_ethdev.h | 8 +++ 2 files changed, 87 insertions(+), 48 deletions(-) diff --git a/drivers/net/

[dpdk-dev] [PATCH v3 3/4] net/i40e: fix multiple driver support issue

2018-02-02 Thread Beilei Xing
This patch provides the option to disable writing some global registers in PMD, in order to avoid affecting other drivers, when multiple drivers run on the same NIC and control different physical ports. Because there are few global resources shared among different physical ports. Fixes: ec246eeb5d

[dpdk-dev] [PATCH v3 4/4] net/i40e: fix interrupt conflict when using multi-driver

2018-02-02 Thread Beilei Xing
There's interrupt conflict when using DPDK and Linux i40e on different ports of the same Ethernet controller, this patch fixes it by switching from IntN to Int0 if multiple drivers are used. Fixes: be6c228d4da3 ("i40e: support Rx interrupt") Cc: sta...@dpdk.org Signed-off-by: Beilei Xing --- dr

[dpdk-dev] [PATCH v3 1/4] net/i40e: add warnings when writing global registers

2018-02-02 Thread Beilei Xing
Add warnings when writing global registers. Signed-off-by: Beilei Xing Cc: sta...@dpdk.org --- doc/guides/nics/i40e.rst | 12 drivers/net/i40e/i40e_ethdev.c | 15 +++ drivers/net/i40e/i40e_ethdev.h | 43 ++ 3 files changed, 7

[dpdk-dev] [PATCH v3 0/4] net/i40e: fix multiple driver support issue

2018-02-02 Thread Beilei Xing
DPDK i40e PMD will modify some global registers during initialization and post initialization, there'll be impact during use of 700 series Ethernet Adapter with both Linux kernel and DPDK PMD. This patchset adds logs for global configuration and adds device args to disable global configuration and

Re: [dpdk-dev] [PATCH v4 0/4] net/i40e: fix multiple driver support issue

2018-02-02 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, February 2, 2018 8:06 PM > To: dev@dpdk.org; Wu, Jingjing > Subject: [PATCH v4 0/4] net/i40e: fix multiple driver support issue > > DPDK i40e PMD will modify some global registers during initialization > and post initialization,

[dpdk-dev] [PATCH 1/2] net/sfc: rename version map file

2018-02-02 Thread Andrew Rybchenko
From: Ivan Malov The version map filename does not comply with the format used by meson build rules for drivers (i.e. on the upper level) and needs to be revisited. This patch removes efx postfix from the driver title in the filename. Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko -

[dpdk-dev] [PATCH 2/2] net/sfc: add support for meson build

2018-02-02 Thread Andrew Rybchenko
From: Ivan Malov Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/meson.build | 2 +- drivers/net/sfc/base/meson.build | 69 drivers/net/sfc/meson.build | 61 +++ 3 files changed, 1

Re: [dpdk-dev] [PATCH] pmdinfogen: fix resource leak of FILE object

2018-02-02 Thread Neil Horman
On Fri, Feb 02, 2018 at 12:00:58PM +, Bruce Richardson wrote: > Coverity flags an issue where the resources used by the FILE object for > the temporary input file are leaked. This is a very minor issue, but is > easily fixed, while also avoiding later problems where we try to close > an invalid

Re: [dpdk-dev] [PATCH v4 0/4] net/i40e: fix multiple driver support issue

2018-02-02 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wu, Jingjing > Sent: Friday, February 2, 2018 8:42 PM > To: Xing, Beilei; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 0/4] net/i40e: fix multiple driver support > issue > > > > > -Original Message-

Re: [dpdk-dev] [PATCH FIX-OPTION-1] mbuf: fix the logic of user mempool ops API

2018-02-02 Thread Olivier Matz
On Fri, Feb 02, 2018 at 01:33:01PM +0530, Hemant Agrawal wrote: > From: Nipun Gupta > > The existing rte_eal_mbuf_default mempool ops can return the compile time > default ops name if the user has not provided command line inputs for > mempool ops name. It will break the logic of best mempool ops

Re: [dpdk-dev] [PATCH FIX-OPTION-1] mbuf: fix the logic of user mempool ops API

2018-02-02 Thread Hemant Agrawal
Hi Olivier, > On Fri, Feb 02, 2018 at 01:33:01PM +0530, Hemant Agrawal wrote: > > From: Nipun Gupta > > > > The existing rte_eal_mbuf_default mempool ops can return the compile > > time default ops name if the user has not provided command line inputs > > for mempool ops name. It will break the l

Re: [dpdk-dev] [PATCH v2] doc: remove eal API for default mempool ops name

2018-02-02 Thread Olivier Matz
On Fri, Feb 02, 2018 at 02:01:42PM +0530, Hemant Agrawal wrote: > Signed-off-by: Hemant Agrawal > --- > v2: fix checkpatch errors > > doc/guides/rel_notes/deprecation.rst | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_n

[dpdk-dev] [PATCH v3] eal: add error check for core options

2018-02-02 Thread Marko Kovacevic
Error information on current core usage list, mask or map were incomplete. Added states to differentiate core usage and to inform user. Signed-off-by: Marko Kovacevic Reviewed-by: Anatoly Burakov --- V3: - Changed to reflect the coding guidelines - Bruce - update the documentation for better

[dpdk-dev] [PATCH v3] doc: update definition of lcore id and lcore index

2018-02-02 Thread Marko Kovacevic
Added examples in lcore index for better explanation on various examples, Sited examples for lcore id. Signed-off-by: Marko Kovacevic --- V3: - Rephrased examples for lcore index and id - Bruce V2: - Added clearer description to lcore id - Bruce - Reframed examples for lcore index - Bruce --

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

2018-02-02 Thread Jain, Deepak K
HI Shally, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Verma, Shally > Subject: [dpdk-dev] FW: [RFC v1 1/1] lib/cryptodev: add support of > asymmetric crypto > > Hi Pablo/Fiona > > Could you please provide your input on this RFC. Your feedback is awaited.

[dpdk-dev] [PATCH v1 2/4] net/mlx: fix missing includes for rdma-core glue

2018-02-02 Thread Adrien Mazarguil
For consistency since these includes are already pulled by others. Fixes: 6aca97d310 ("net/mlx4: move rdma-core calls to separate file") Fixes: 7202118686 ("net/mlx5: move rdma-core calls to separate file") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_glue.c | 3 +++ drivers/net/ml

[dpdk-dev] [PATCH v1 0/4] net/mlx: enhance rdma-core glue configuration

2018-02-02 Thread Adrien Mazarguil
The decision to deliver mlx4/mlx5 rdma-core glue plug-ins separately instead of generating them at run time due to security concerns [1] led to a few issues: - They must be present on the file system before running DPDK. - Their location must be known to the dynamic linker. - Their names overlap a

[dpdk-dev] [PATCH v1 1/4] net/mlx: add debug checks to glue structure

2018-02-02 Thread Adrien Mazarguil
This code should catch mistakes early if a glue structure member is added without a corresponding implementation in the library. Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c | 9 + drivers/net/mlx5/mlx5.c | 9 + 2 files changed, 18 insertions(+) diff --git a/drive

[dpdk-dev] [PATCH v1 3/4] net/mlx: version rdma-core glue libraries

2018-02-02 Thread Adrien Mazarguil
When built as separate objects, these libraries do not have unique names. Since they do not maintain a stable ABI, loading an incompatible library may result in a crash (e.g. in case multiple versions are installed). This patch addresses the above by versioning glue libraries, both on the file sys

[dpdk-dev] [PATCH v1 4/4] net/mlx: make rdma-core glue path configurable

2018-02-02 Thread Adrien Mazarguil
Since rdma-core glue libraries are intrinsically tied to their respective PMDs and used as internal plug-ins, their presence in the default search path among other system libraries for the dynamic linker is not necessarily desired. This commit enables their installation and subsequent look-up at r

Re: [dpdk-dev] vhost: unlink existing file for server mode

2018-02-02 Thread Ilya Maximets
Oh. It's such a game: twice a year someone sends this patch to mail list. I have another one for you: * Find all the patches equal to this one in archives. * Read all the discussions. * Come back if you have some new ideas, not already discussed many times here. Sorry for my sarcasm. NACK for th

Re: [dpdk-dev] [PATCH v3] eal: add error check for core options

2018-02-02 Thread Bruce Richardson
On Fri, Feb 02, 2018 at 02:51:28PM +, Marko Kovacevic wrote: > Error information on current core usage list, mask or map > were incomplete. Added states to differentiate core usage > and to inform user. > > Signed-off-by: Marko Kovacevic > Reviewed-by: Anatoly Burakov Acked-by: Bruce Richard

Re: [dpdk-dev] vhost: unlink existing file for server mode

2018-02-02 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ilya Maximets > Sent: Friday, February 2, 2018 3:30 PM > To: Yang, Zhiyong ; dev@dpdk.org > Cc: y...@fridaylinux.org; maxime.coque...@redhat.com > Subject: Re: [dpdk-dev] vhost: unlink existing file for server mod

Re: [dpdk-dev] vhost: unlink existing file for server mode

2018-02-02 Thread Ilya Maximets
On 02.02.2018 18:38, Richardson, Bruce wrote: > > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ilya Maximets >> Sent: Friday, February 2, 2018 3:30 PM >> To: Yang, Zhiyong ; dev@dpdk.org >> Cc: y...@fridaylinux.org; maxime.coque...@redhat.com >> Subject: R

Re: [dpdk-dev] [PATCH] pmdinfogen: fix resource leak of FILE object

2018-02-02 Thread Bruce Richardson
On Fri, Feb 02, 2018 at 07:44:39AM -0500, Neil Horman wrote: > On Fri, Feb 02, 2018 at 12:00:58PM +, Bruce Richardson wrote: > > Coverity flags an issue where the resources used by the FILE object for > > the temporary input file are leaked. This is a very minor issue, but is > > easily fixed,

Re: [dpdk-dev] [PATCH] pmdinfogen: fix resource leak of FILE object

2018-02-02 Thread Bruce Richardson
On Fri, Feb 02, 2018 at 03:47:43PM +, Bruce Richardson wrote: > On Fri, Feb 02, 2018 at 07:44:39AM -0500, Neil Horman wrote: > > On Fri, Feb 02, 2018 at 12:00:58PM +, Bruce Richardson wrote: > > > Coverity flags an issue where the resources used by the FILE object for > > > the temporary in

Re: [dpdk-dev] [PATCH 2/2] net/sfc: add support for meson build

2018-02-02 Thread Bruce Richardson
On Fri, Feb 02, 2018 at 12:43:58PM +, Andrew Rybchenko wrote: > From: Ivan Malov > > Signed-off-by: Ivan Malov > Signed-off-by: Andrew Rybchenko > --- > drivers/net/meson.build | 2 +- > drivers/net/sfc/base/meson.build | 69 > > drivers/

Re: [dpdk-dev] [PATCH 1/2] net/sfc: rename version map file

2018-02-02 Thread Bruce Richardson
On Fri, Feb 02, 2018 at 12:43:57PM +, Andrew Rybchenko wrote: > From: Ivan Malov > > The version map filename does not comply with the format > used by meson build rules for drivers (i.e. on the upper > level) and needs to be revisited. This patch removes efx > postfix from the driver title i

[dpdk-dev] [PATCH v2 2/4] net/mlx: fix missing includes for rdma-core glue

2018-02-02 Thread Adrien Mazarguil
For consistency since these includes are already pulled by others. Fixes: 6aca97d310 ("net/mlx4: move rdma-core calls to separate file") Fixes: 7202118686 ("net/mlx5: move rdma-core calls to separate file") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_glue.c | 3 +++ drivers/net/ml

[dpdk-dev] [PATCH v2 3/4] net/mlx: version rdma-core glue libraries

2018-02-02 Thread Adrien Mazarguil
When built as separate objects, these libraries do not have unique names. Since they do not maintain a stable ABI, loading an incompatible library may result in a crash (e.g. in case multiple versions are installed). This patch addresses the above by versioning glue libraries, both on the file sys

[dpdk-dev] [PATCH v2 1/4] net/mlx: add debug checks to glue structure

2018-02-02 Thread Adrien Mazarguil
This code should catch mistakes early if a glue structure member is added without a corresponding implementation in the library. Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c | 9 + drivers/net/mlx5/mlx5.c | 9 + 2 files changed, 18 insertions(+) diff --git a/drive

[dpdk-dev] [PATCH v2 4/4] net/mlx: make rdma-core glue path configurable

2018-02-02 Thread Adrien Mazarguil
Since rdma-core glue libraries are intrinsically tied to their respective PMDs and used as internal plug-ins, their presence in the default search path among other system libraries for the dynamic linker is not necessarily desired. This commit enables their installation and subsequent look-up at r

[dpdk-dev] [PATCH v2 0/4] net/mlx: enhance rdma-core glue configuration

2018-02-02 Thread Adrien Mazarguil
The decision to deliver mlx4/mlx5 rdma-core glue plug-ins separately instead of generating them at run time due to security concerns [1] led to a few issues: - They must be present on the file system before running DPDK. - Their location must be known to the dynamic linker. - Their names overlap a

Re: [dpdk-dev] [PATCH v2 0/4] net/mlx: enhance rdma-core glue configuration

2018-02-02 Thread NĂ©lio Laranjeiro
On Fri, Feb 02, 2018 at 05:46:10PM +0100, Adrien Mazarguil wrote: > The decision to deliver mlx4/mlx5 rdma-core glue plug-ins separately instead > of generating them at run time due to security concerns [1] led to a few > issues: > > - They must be present on the file system before running DPDK. >

[dpdk-dev] I40E VF nullptr Dreference: rx_mbuf_alloc_failed

2018-02-02 Thread Stefan Baranoff
All, I was unclear if this should be usage or dev but it seemed like a dev issue to me. I'm on DPDK 16.11.2 (CentOS packages) using the I40EVF driver and in the case of rx_mbuf_alloc_failed there is a null pointer dereference in drivers/net/i40e/i40e_rxtx.c line 830. The variable 'dev' is null.

Re: [dpdk-dev] [PATCH v3 1/6] test: fix memory leak in bitmap test

2018-02-02 Thread Thomas Monjalon
02/02/2018 11:31, Burakov, Anatoly: > On 02-Feb-18 9:08 AM, Thomas Monjalon wrote: > > 01/02/2018 18:04, Burakov, Anatoly: > >> On 01-Feb-18 12:10 AM, Thomas Monjalon wrote: > >>> 17/01/2018 12:15, Anatoly Burakov: > Acked-by: Cristian Dumitrescu > > Fixes: c7e4a134e769 ("test: veri

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

2018-02-02 Thread Fiona Trahe
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 API is proposed in this commit, whic

Re: [dpdk-dev] [PATCH] pmdinfogen: fix resource leak of FILE object

2018-02-02 Thread Neil Horman
On Fri, Feb 02, 2018 at 03:51:12PM +, Bruce Richardson wrote: > On Fri, Feb 02, 2018 at 03:47:43PM +, Bruce Richardson wrote: > > On Fri, Feb 02, 2018 at 07:44:39AM -0500, Neil Horman wrote: > > > On Fri, Feb 02, 2018 at 12:00:58PM +, Bruce Richardson wrote: > > > > Coverity flags an is

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2018-02-02 Thread Yongseok Koh
On Tue, Dec 26, 2017 at 05:19:25PM +, Walker, Benjamin wrote: > On Fri, 2017-12-22 at 09:13 +, Burakov, Anatoly wrote: > > On 21-Dec-17 9:38 PM, Walker, Benjamin wrote: > > > SPDK will need some way to register for a notification when pages are > > > allocated > > > or freed. For storage, t

Re: [dpdk-dev] [PATCH v3] net/mlx4: fix dev rmv not detected after port stop

2018-02-02 Thread Adrien Mazarguil
Hi Matan, On Wed, Jan 31, 2018 at 05:07:56PM +, Matan Azrad wrote: > Hi Adrien > > From: Adrien Mazarguil , Sent: Wednesday, January 31, 2018 4:32 PM > > Hi Matan, > > > > On Wed, Jan 31, 2018 at 01:44:41PM +, Matan Azrad wrote: > > > Hi Adrien > > > I don't know what any application do

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-02 Thread Ravi Kerur
On Fri, Feb 2, 2018 at 2:28 AM, Burakov, Anatoly wrote: > On 01-Feb-18 7:26 PM, Ravi Kerur wrote: > >> >> >> On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly < >> anatoly.bura...@intel.com > wrote: >> >> On 31-Jan-18 9:51 PM, Ravi Kerur wrote: >> >> >>

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-02 Thread Ravi Kerur
On Fri, Feb 2, 2018 at 12:21 PM, Ravi Kerur wrote: > > > On Fri, Feb 2, 2018 at 2:28 AM, Burakov, Anatoly < > anatoly.bura...@intel.com> wrote: > >> On 01-Feb-18 7:26 PM, Ravi Kerur wrote: >> >>> >>> >>> On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly < >>> anatoly.bura...@intel.com

[dpdk-dev] [PATCH] net/null:Different mac address support

2018-02-02 Thread Mallesh Koujalagi
After attaching two Null device to ovs, seeing "00.00.00.00.00.00" mac address for both null devices. Fix this issue, by setting different mac address. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions

[dpdk-dev] [PATCH] net/null: Support bulk alloc and free.

2018-02-02 Thread Mallesh Koujalagi
After bulk allocation and freeing of multiple mbufs increase more than ~2% throughput on single core. Signed-off-by: Mallesh Koujalagi --- drivers/net/null/rte_eth_null.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/driver

[dpdk-dev] [PATCH 1/3] net/qede: fix VF vport creation sequence

2018-02-02 Thread Rasesh Mody
From: Harish Patil Few adjustments are required to effectively handle VF vport create/delete sequence. The problem is exposed by recent ethdev TX offload changes which requires port to be in down state before applying TX offloads. - Move vport creation from dev_init() to dev_configure() - Forc

[dpdk-dev] [PATCH 3/3] doc: qede: align dynamic log names with standard

2018-02-02 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- doc/guides/nics/qede.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst index 0ca5084..63ce9b4 100644 --- a/doc/guides/nics/qede.rst +++ b/doc/guides/nics/qede.rst @@ -193,7 +193,7 @@ This s

[dpdk-dev] [PATCH 2/3] net/qede: fix few log messages

2018-02-02 Thread Rasesh Mody
Fixes: 9e334305178f ("net/qede: fix MTU set and max Rx length") Fixes: 22d07d939c3c ("net/qede/base: update") Cc: sta...@dpdk.org Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dcbx.c |7 +++ drivers/net/qede/qede_rxtx.c |2 +- 2 files changed, 4 insertions(+), 5 de