Re: [dpdk-dev] [PATCH v2] examples/ip_pipeline: use crc32 in hash functions for arm64

2017-11-06 Thread Ferruh Yigit
On 10/27/2017 2:55 AM, Dumitrescu, Cristian wrote: > > >> -Original Message- >> From: Jianbo Liu [mailto:jianbo@arm.com] >> Sent: Friday, October 27, 2017 10:25 AM >> To: dev@dpdk.org; Dumitrescu, Cristian >> Cc: Jianbo Liu >> Subject: [PATCH v2] examples/ip_pipeline: use crc32 in h

Re: [dpdk-dev] [PATCH] examples/ip_pipeline: avoid the failure of creating hash table

2017-11-06 Thread Ferruh Yigit
On 10/27/2017 3:01 AM, Dumitrescu, Cristian wrote: > > >> -Original Message- >> From: Jianbo Liu [mailto:jianbo@arm.com] >> Sent: Friday, October 27, 2017 3:55 AM >> To: dev@dpdk.org; Dumitrescu, Cristian >> Cc: Jianbo Liu >> Subject: [PATCH] examples/ip_pipeline: avoid the failure

Re: [dpdk-dev] [PATCH] app/crypto-perf: fix crypto op init

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 3:59 AM, Zhang, Roy Fan wrote: >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara >> Sent: Monday, November 6, 2017 9:36 AM >> To: Doherty, Declan >> Cc: dev@dpdk.org; De Lara Guarch, Pablo >> Subject: [dpdk-dev] [PATCH] app/crypto-per

Re: [dpdk-dev] [PATCH] doc: fix description of traffic management function in testpmd

2017-11-06 Thread Ferruh Yigit
On 11/2/2017 10:04 AM, Mcnamara, John wrote: > > >> -Original Message- >> From: Singh, Jasvinder >> Sent: Thursday, October 26, 2017 12:07 PM >> To: dev@dpdk.org >> Cc: Mcnamara, John >> Subject: [PATCH] doc: fix description of traffic management function in >> testpmd >> >> Fixes: 5b590

Re: [dpdk-dev] [PATCH] app/testpmd: fix potential memory leak

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 11:06 PM, Ferruh Yigit wrote: > On 11/2/2017 3:13 AM, Kirill Rybalchenko wrote: >> Fix potential memory leak in cmd_ddp_info_parsed() function. > > Coverity issue: 195044 > >> Fixes: a8e005696c7b ("app/testpmd: get ddp profile protocol info") >> >> Signed-off-by: Kirill Rybalchenko

Re: [dpdk-dev] [PATCH] app/testpmd: fix potential memory leak

2017-11-06 Thread Ferruh Yigit
On 11/2/2017 3:13 AM, Kirill Rybalchenko wrote: > Fix potential memory leak in cmd_ddp_info_parsed() function. Coverity issue: 195044 > Fixes: a8e005696c7b ("app/testpmd: get ddp profile protocol info") > > Signed-off-by: Kirill Rybalchenko Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v5 2/3] doc: add mempool and octeontx mempool device

2017-11-06 Thread Santosh Shukla
This commit adds a section to the docs listing the mempool device PMDs available. It then adds the octeontx fpavf mempool PMD to the listed mempool devices. Cc: John McNamara Signed-off-by: Santosh Shukla --- v4 --> v5: * Replaced `Ref :` with `See :doc:` (John) * Renamed section from Platform

[dpdk-dev] [PATCH v5 3/3] doc: use correct mempool ops handle name

2017-11-06 Thread Santosh Shukla
Fixes: f820b5896631 ("doc: add octeontx ethdev driver documentation") Signed-off-by: Santosh Shukla Acked-by: Jerin Jacob Acked-by: John McNamara --- doc/guides/nics/octeontx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/nics/octeontx.rst b/doc/guides/nics/

[dpdk-dev] [PATCH v5 1/3] doc: add platform guide

2017-11-06 Thread Santosh Shukla
This commit adds a section to the docs listing the platform guide for the PMDs. It then adds the octeontx platform guide to the listed platform devices. Patch also removes platform specific duplicate setup information from eventdev/octeontx.rst, nics/octeontx.rst and update to plaform/octeontx.rs

[dpdk-dev] [PATCH v5 0/3] Doc misc

2017-11-06 Thread Santosh Shukla
v5: Introduce platform specific guide in doc, That can have any misc/common information about platform like quick start guide, , tunning tips, how-to-setup platform. Also can have information about platforms common hw block etc.. Series has Octeontx specific Misc doc changes. v5 --> 4: * Replac

Re: [dpdk-dev] [PATCH v2 01/25] ethdev: introduce generic flow API

2017-11-06 Thread Zhao1, Wei
Hi, Adrien Thank you for your so details answer! Let me study your mail first then maybe I will supply some details when I implement PMD code of MOVING rss to rte_flow for ixgbe. > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Wednesday, Novembe

[dpdk-dev] [PATCH v12 4/4] bus/vdev: change log type

2017-11-06 Thread Jianfeng Tan
Use specialized dynamic log type for vdev bus logging. Suggested-by: Gaetan Rivet Suggested-by: Shreyansh Jain Signed-off-by: Jianfeng Tan --- drivers/bus/vdev/vdev.c | 20 drivers/bus/vdev/vdev_logs.h | 45 2 files changed

[dpdk-dev] [PATCH v12 0/4] move vdev into drivers/bus

2017-11-06 Thread Jianfeng Tan
v12: (Suggested Thomas) - Remove unnecessary files introduced in v11. - Adjust position for some macros. - Move LDLIBS into PMD Makefile. - Do not bump the LIBABIVER. - Rebase on latest code. v11: - Rename rte_vdev.h to rte_bus_vdev.h as suggested by Thomas. v10: - Rebase on 17.11-r

[dpdk-dev] [PATCH v12 3/4] bus/vdev: move to vdev bus to drivers/bus

2017-11-06 Thread Jianfeng Tan
Move the vdev bus from lib/librte_eal to drivers/bus. As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those helper function into drivers/bus too. Signed-off-by: Jianfeng Tan --- config/common_base | 5 + doc/guides/rel_notes/relea

[dpdk-dev] [PATCH v12 2/4] eal: remove dependency on vdev

2017-11-06 Thread Jianfeng Tan
We can call bus->plug() to avoid calling rte_vdev_init() explicitly. Signed-off-by: Jianfeng Tan --- lib/librte_eal/common/eal_common_dev.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/lib/librte_eal/common/eal_common_dev.c b/lib/librte_eal/common/

[dpdk-dev] [PATCH v12 1/4] cryptodev: remove crypto vdev init API

2017-11-06 Thread Jianfeng Tan
Remove rte_cryptodev_create_vdev() for duplication. Signed-off-by: Jianfeng Tan Acked-by: Pablo de Lara --- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_notes/release_17_11.rst | 2 ++ lib/librte_cryptodev/rte_cryptodev.c | 6 -- lib/librte_c

Re: [dpdk-dev] [PATCH v2] testpmd: Fix a typo in a command description

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 10:51 PM, Ferruh Yigit wrote: > On 10/29/2017 11:56 PM, Pavel Shirshov wrote: > > app/testpmd: fix a typo in a command description > > Fixes: 26faac80327f ("app/testpmd: unify help strings") > Cc: sta...@dpdk.org > >> Signed-off-by: Pavel Shirshov > > Reviewed-by: Ferr

Re: [dpdk-dev] [PATCH v2] testpmd: Fix a typo in a command description

2017-11-06 Thread Ferruh Yigit
On 10/29/2017 11:56 PM, Pavel Shirshov wrote: app/testpmd: fix a typo in a command description Fixes: 26faac80327f ("app/testpmd: unify help strings") Cc: sta...@dpdk.org > Signed-off-by: Pavel Shirshov Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH v2] doc: update release notes for rte_security

2017-11-06 Thread Akhil Goyal
Removed the deprication notice for ABI breakage and updated release notes for rte_security. Signed-off-by: Akhil Goyal --- Changes in v2: incorporated comment from John doc/guides/rel_notes/deprecation.rst | 10 -- doc/guides/rel_notes/release_17_11.rst | 33 ++

Re: [dpdk-dev] [PATCH] app/testpmd: remove port status check from TM hierarchy commit cli

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 10:38 PM, Ferruh Yigit wrote: > On 10/27/2017 2:46 AM, Jasvinder Singh wrote: >> Some drivers might allow to commit the traffic management hierarchy >> while being in running state. Therefore, removes port status check >> before invoking hierarchy commit API in the cli. If needed, devi

Re: [dpdk-dev] [PATCH] app/testpmd: remove port status check from TM hierarchy commit cli

2017-11-06 Thread Ferruh Yigit
On 10/27/2017 2:46 AM, Jasvinder Singh wrote: > Some drivers might allow to commit the traffic management hierarchy > while being in running state. Therefore, removes port status check > before invoking hierarchy commit API in the cli. If needed, device can > add port status check at the driver lay

Re: [dpdk-dev] [PATCH] app/testpmd: fix memory access error for metering CLI

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 10:29 PM, Ferruh Yigit wrote: > On 10/27/2017 2:17 AM, Jasvinder Singh wrote: >> Fix memory access (out of bounds write) error, color and >> action assignments. >> >> Coverity issue: 198437 >> Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and >> policing") >> >> Sig

Re: [dpdk-dev] [PATCH] app/testpmd: fix memory access error for metering CLI

2017-11-06 Thread Ferruh Yigit
On 10/27/2017 2:17 AM, Jasvinder Singh wrote: > Fix memory access (out of bounds write) error, color and > action assignments. > > Coverity issue: 198437 > Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and > policing") > > Signed-off-by: Jasvinder Singh Reviewed-by: Ferruh Y

Re: [dpdk-dev] [PATCH v11 3/4] bus/vdev: move to vdev bus to drivers/bus

2017-11-06 Thread Tan, Jianfeng
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, November 7, 2017 10:43 AM > To: Tan, Jianfeng > Cc: dev@dpdk.org; jblu...@infradead.org; Richardson, Bruce; Ananyev, > Konstantin; De Lara Guarch, Pablo; y...@fridaylinux.org; > maxime.coq

Re: [dpdk-dev] [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 10:07 PM, Ferruh Yigit wrote: > On 10/27/2017 2:10 AM, Jasvinder Singh wrote: >> Malloc() function might returns NULL when memory allocation fails >> due to insufficient space. Therefore, check for handling memory allocation >> failure is added. >> >> Coverity issue: 198442,198444 >> F

Re: [dpdk-dev] [PATCH] app/testpmd: fix NULL pointer deref for traffic management CLI

2017-11-06 Thread Ferruh Yigit
On 10/27/2017 2:10 AM, Jasvinder Singh wrote: > Malloc() function might returns NULL when memory allocation fails > due to insufficient space. Therefore, check for handling memory allocation > failure is added. > > Coverity issue: 198442,198444 > Fixes: 996cb153af06 ("app/testpmd: add commands for

Re: [dpdk-dev] [PATCH] doc: update ABI/API policy

2017-11-06 Thread Yuanhan Liu
On Mon, Nov 06, 2017 at 11:28:06AM +, Bruce Richardson wrote: > Following agreement at the DPDK Technical Board meeting of 2017-10-13 [1], > update the documentation with the ABI/API policy changes. > > [1] http://dpdk.org/ml/archives/dev/2017-October/079961.html > > Signed-off-by: Bruce Rich

Re: [dpdk-dev] [RFC] Compression API in DPDK

2017-11-06 Thread Verma, Shally
> -Original Message- > From: Trahe, Fiona [mailto:fiona.tr...@intel.com] > Sent: 03 November 2017 00:47 > To: Verma, Shally ; dev@dpdk.org; Athreya, > Narayana Prasad ; Challa, Mahipal > > Cc: Trahe, Fiona > Subject: RE: [dpdk-dev] [RFC] Compression API in DPDK > > Hi Shally, > > > ---

Re: [dpdk-dev] [PATCH v2] net/mlx5: fix flow creation on port start

2017-11-06 Thread Ferruh Yigit
On 11/6/2017 6:32 AM, Nélio Laranjeiro wrote: > On Mon, Nov 06, 2017 at 04:00:25PM +0200, Shahaf Shuler wrote: >> While the PMD avoids from creating hash RXQ with no hash fields and >> array of queues after the port was allready started, it lacks such >> protection when re-creating the flows after

Re: [dpdk-dev] [PATCH v2] doc: update mlx5 guide

2017-11-06 Thread Ferruh Yigit
On 11/2/2017 10:14 AM, Mcnamara, John wrote: > > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shahaf Shuler >> Sent: Monday, October 30, 2017 10:58 AM >> To: nelio.laranje...@6wind.com; adrien.mazarg...@6wind.com; >> ys...@mellanox.com >> Cc: dev@dpdk.org

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/e1000: fix cannot getting Rx interrupts issue

2017-11-06 Thread Ferruh Yigit
On 11/5/2017 8:57 PM, Lu, Wenzhuo wrote: > Hi, > >> -Original Message- >> From: Li, Xiaoyun >> Sent: Monday, November 6, 2017 10:42 AM >> To: Lu, Wenzhuo >> Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org >> Subject: [PATCH v2] net/e1000: fix cannot getting Rx interrupts issue >> >> When

Re: [dpdk-dev] [PATCH v2] ring: guarantee ordering of cons/prod loading when doing

2017-11-06 Thread Jerin Jacob
-Original Message- > Date: Mon, 6 Nov 2017 15:25:12 +0800 > From: Jia He > To: Jerin Jacob > Cc: dev@dpdk.org, olivier.m...@6wind.com, konstantin.anan...@intel.com, > bruce.richard...@intel.com, jianbo@arm.com, hemant.agra...@nxp.com, > jie2@hxt-semitech.com, bing.z...@hxt-semit

Re: [dpdk-dev] [PATCH] net/virtio: init MTU in case no control channel

2017-11-06 Thread Yuanhan Liu
On Wed, Oct 25, 2017 at 08:09:06PM -0700, wangzhike wrote: > The max_mtu is kept as zero in case no CRTL channel, which leads > to failure when calling virtio_mtu_set(). > > Signed-off-by: wangzhike Acked-by: Yuanhan Liu Thanks. --yliu > --- > drivers/net/virtio/virtio_ethdev.c | 2 +

Re: [dpdk-dev] [PATCH v2 0/3] vhost: disable iommu support by default

2017-11-06 Thread Yuanhan Liu
On Mon, Nov 06, 2017 at 09:38:09PM +0100, Maxime Coquelin wrote: > This series disables IOMMU feature by default, and introduce > a new flag passed at vhost device registration time to enable > it explicitly. > > When disabled, patch 1 also disables reply-ack protocol feature > to avoid Qemu v2.7.

[dpdk-dev] [dpdk-techboard] DPDK techboard minutes of October 26

2017-11-06 Thread Thomas Monjalon
Hi, Here are the minutes of the latest DPDK technical board meeting held on 2017-10-26. Attendees: - Bruce Richardson - Hemant Agrawal - Jerin Jacob - Konstantin Ananyev - Stephen Hemminger - Thomas Monjalon - Yuanhan Liu 1) update on ABI stability guidelines Bruce takes the action to update th

[dpdk-dev] [dpdk-techboard] [DRAFT] DPDK techboard minutes of October 26

2017-11-06 Thread Thomas Monjalon
Hi, Here are the minutes of the last DPDK technical board meeting held on 2017-10-26. Attendees: - Bruce Richardson - Hemant Agrawal - Jerin Jacob - Konstantin Ananyev - Stephen Hemminger - Thomas Monjalon - Yuanhan Liu 1) update on ABI stability guidelines Bruce takes the action to update the

Re: [dpdk-dev] [PATCH v11 3/4] bus/vdev: move to vdev bus to drivers/bus

2017-11-06 Thread Thomas Monjalon
Hi Jianfeng, This patch needs a rebase and some changes as described below. Would you have time to fix it quickly please? 30/10/2017 09:28, Jianfeng Tan: > create mode 100644 lib/librte_eal/common/.eal_common_dev.c.swp [...] > create mode 100644 test/test/autotest_data.pyc > create mode 100644

Re: [dpdk-dev] [PATCH] vhost: postpone ring addresses translations at kick time only

2017-11-06 Thread Thomas Monjalon
06/11/2017 12:58, Yuanhan Liu: > On Fri, Nov 03, 2017 at 04:52:35PM +0100, Maxime Coquelin wrote: > > If multiple queue pairs are created but all are not used, the > > device is never started, as unused queues aren't enabled and > > their ring addresses aren't translated. The device is changed > >

Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix build on gcc 4.5.1

2017-11-06 Thread Thomas Monjalon
06/11/2017 12:36, Radu Nicolau: > Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec") This Fixes line must be at the end before you SoB. > On SUSE11 with gcc 4.5.1 the following build error occurred, > most likely because of improper handling of annonymous unions: > > DPDK/drivers/net/ixgbe/i

Re: [dpdk-dev] [PATCH] cfgfile: fix resource leak

2017-11-06 Thread Thomas Monjalon
27/10/2017 17:08, Jastrzebski, MichalX K: > > > > Unsuccesfull memory allocation for elements inside cfgfile > > structure could result in resource leak. > > Fixed by pointer verification after each malloc, > > if malloc fail - error branch is proceeded with freeing memory. > > > > Coverity issue

Re: [dpdk-dev] [dpdk-stable] [PATCH] cfgfile: fix NULL pointer dereference

2017-11-06 Thread Thomas Monjalon
27/10/2017 17:08, Jastrzebski, MichalX K: > > > > Function memchr() could return NULL and assign it to split[1] pointer. > > Additional check and error handing is made after memchr() call. > > > > Coverity issue: 195004 > > Fixes: a6a47ac9c2c9 ("cfgfile: rework load function") > > Cc: jacekx.pias

Re: [dpdk-dev] [PATCH] lib/librte_table: fix copy paste error in lru hash table

2017-11-06 Thread Thomas Monjalon
27/10/2017 12:47, Jasvinder Singh: > Fixes the copy paste error in lru hash table parameters check. > > Coverity issue: 198433 > Fixes: b5cde2cb8c81 ("table: rework variable size key lru hash table") > > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu Applied with title "table:

Re: [dpdk-dev] [PATCH] lib: fix some typos

2017-11-06 Thread Thomas Monjalon
02/11/2017 20:30, Thomas Monjalon: > Signed-off-by: Thomas Monjalon > --- > lib/librte_eal/common/include/arch/arm/rte_vect.h | 2 +- > lib/librte_eventdev/rte_event_eth_rx_adapter.c| 2 +- > lib/librte_eventdev/rte_eventdev_pmd.h| 2 +- > 3 files changed, 3 insertions(+), 3 delet

Re: [dpdk-dev] [PATCH] lib/librte_distributor: Fix a couple typos

2017-11-06 Thread Thomas Monjalon
30/10/2017 08:03, Pavel Shirshov: > Signed-off-by: Pavel Shirshov Applied, thanks

Re: [dpdk-dev] [PATCH] lib: fix a typo in kni header file (doxygen)

2017-11-06 Thread Thomas Monjalon
04/11/2017 15:28, Rami Rosen: > This patch fixes a trivial typo in rte_kni.h header > file (librte_kni). > > Signed-off-by: Rami Rosen Merged with my patch (fixing other typos in libs) with your SoB. Thanks

Re: [dpdk-dev] [PATCH v3] eal: add counter size for efd clean

2017-11-06 Thread Thomas Monjalon
04/09/2017 04:49, Tan, Jianfeng: > From: Wu, Jingjing > > > > For virtual device, the rte_intr_handle struct is > > initialized by the virtual device driver, including > > the event fd assignment. If the event fd need to be > > read for clean, an argument is required for the proper > > event fd re

Re: [dpdk-dev] [PATCH v2] service: fix race in service on app lcore function

2017-11-06 Thread Thomas Monjalon
02/11/2017 10:41, Bruce Richardson: > On Wed, Nov 01, 2017 at 06:48:01PM +, Harry van Haaren wrote: > > This commit fixes a possible race condition if an application > > uses the service-cores infrastructure and the function to run > > a service on an application lcore at the same time. > > >

Re: [dpdk-dev] [PATCH] eal: fix check for default plugin directory

2017-11-06 Thread Thomas Monjalon
06/11/2017 21:36, Aaron Conole: > Bruce Richardson writes: > > > The check for the existence of the default plugin directory calls stat > > using an incorrect variable, which will cause a NULL pointer dereference > > error. > > > > Coverity issue: 198440 > > Fixes: d6a4399cdfc9 ("eal: avoid error

Re: [dpdk-dev] [PATCH] eal/x86: revert select optimized memcpy at run-time

2017-11-06 Thread Thomas Monjalon
03/11/2017 13:47, Xiaoyun Li: > This patch reverts the patchset run-time Linking support including the > following 3 commits: > commit 84cc318424d4 ("eal/x86: select optimized memcpy at run-time") > commit c7fbc80fe60f ("test: select memcpy alignment unit at run-time") > commit 5f180ae32962 ("efd:

[dpdk-dev] [PATCH 3/3] net: run-time function selection

2017-11-06 Thread Elza Mathew
Compile-time function selection can potentially lead to lower performance on generic builds done by distros. Replaced compile time flag checks with run-time function selection. Signed-off-by: Elza Mathew --- lib/librte_net/rte_net_crc.c | 22 +- 1 file changed, 13 insertions(

[dpdk-dev] [PATCH 1/3] hash: run-time function selection

2017-11-06 Thread Elza Mathew
Compile-time function selection can potentially lead to lower performance on generic builds done by distros. Replaced compile time flag checks with run-time function selection. Signed-off-by: Elza Mathew --- lib/librte_hash/rte_cuckoo_hash.c | 10 +- lib/librte_hash/rte_cuckoo_hash.h |

[dpdk-dev] [PATCH 2/3] hash: run-time function selection

2017-11-06 Thread Elza Mathew
Compile-time function selection can potentially lead to lower performance on generic builds done by distros. Replaced compile time flag checks with run-time function selection. Signed-off-by: Elza Mathew --- lib/librte_hash/rte_fbk_hash.c | 11 ++- lib/librte_hash/rte_fbk_hash.h | 8 ---

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-06 Thread Thomas Monjalon
06/11/2017 19:48, Ferruh Yigit: > Some devices are having problem on device reset that happens during DPDK > application exit [1]. > > Create a static list of devices and exclude them from device reset. > > [1] > http://dpdk.org/ml/archives/dev/2017-November/080927.html > > Fixes: b58eedfc7dd5 (

Re: [dpdk-dev] [PATCH] bus/pci: fix namespace of sysfs path function

2017-11-06 Thread Thomas Monjalon
06/11/2017 09:43, Gaëtan Rivet: > There are others namespace inconsistencies with my pci move, I will send > additional fixes later. > > On Mon, Nov 06, 2017 at 03:08:47AM +0100, Thomas Monjalon wrote: > > The function pci_get_sysfs_path was moved from EAL to the PCI driver. > > > > The namespace

Re: [dpdk-dev] [PATCH] pci: get IOMMU class sPAPR iommu fix

2017-11-06 Thread Thomas Monjalon
03/11/2017 13:05, Jonas Pfefferle: > PPC64 sPAPR iommu does not support iova as va. > Use pa mode instead. > > Signed-off-by: Jonas Pfefferle Applied, thanks

Re: [dpdk-dev] [PATCH] eal/ppc: revert fix mmap for memory initialization

2017-11-06 Thread Thomas Monjalon
02/11/2017 14:58, Jonas Pfefferle: > This reverts commit 284ae3e9ff9a92575c28c858efd2c85c8de6d440 > ("eal/ppc: fix mmap for memory initialization").The logic if the > address hint is respected on mmap is no different on POWER than > on x86 however the address layout of userspace applications might

Re: [dpdk-dev] [PATCH] eal: force IOVA PA mode if KNI module inserted

2017-11-06 Thread Thomas Monjalon
02/11/2017 01:06, Ferruh Yigit: > Fix kernel crash with KNI because KNI requires physical addresses. > > When IOVA VA mode used, memzones and mbufs physical address fields > contain virtual addresses. But KNI relies on these fields to enable > kernel access for buffers. Those fields having virtual

Re: [dpdk-dev] [PATCH] eal: fix version map experimental export section

2017-11-06 Thread Thomas Monjalon
25/10/2017 14:29, Harry van Haaren: > Before this commit, the EXPERIMENTAL version of ABI > derived from the DPDK_17.08 tag. In parallel there > was a DPDK_17.11 tag. > > Experimental map should always derive from the latest ABI, > so this patch moves the 17.11 section above EXPERIMENTAL, > and up

Re: [dpdk-dev] [PATCH] mempool: increase ABI version

2017-11-06 Thread Thomas Monjalon
06/11/2017 12:33, santosh: > > On Monday 06 November 2017 04:38 PM, Thomas Monjalon wrote: > > API and ABI of mempool library has been changed in 17.11. > > > > Fixes: 02604520b2f2 ("mempool: remove unused flags argument") > > Fixes: 0cc0f8aaa35d ("mempool: change flags from int to unsigned int")

Re: [dpdk-dev] net/pcap: remove single interface constraint (v2)

2017-11-06 Thread Ferruh Yigit
On 11/5/2017 2:15 AM, Ilya Matveychikov wrote: > Hello folks, > > This patch removes single interface constraint from the libpcap-based PMD. > The problem it solves is to allow PCAP device consists of more than single > device: > > # testpmd --vdev net_pcap0,iface=vethA,iface=vethB,iface=vethC a

Re: [dpdk-dev] [PATCH v4 00/15] make DPDK IOVA aware

2017-11-06 Thread Thomas Monjalon
06/11/2017 02:41, Thomas Monjalon: > Santosh Shukla (5): > mem: rename segment address from physical to IOVA > malloc: use pointer diff macro in IOVA mapping > mbuf: rename physical address to IOVA > cryptodev: rename physical address type to IOVA > drivers/net: rename physical address ty

Re: [dpdk-dev] [PATCH] mem: remove old function from symbol list

2017-11-06 Thread Thomas Monjalon
03/11/2017 12:24, Thomas Monjalon: > The function rte_mem_phy2mch() was removed with the support > of Xen dom0. > > Fixes: a7cb2e20d23c ("mem: remove API to get physical address in dom0") > > Signed-off-by: Thomas Monjalon Applied

Re: [dpdk-dev] [PATCH] remove useless memzone includes

2017-11-06 Thread Thomas Monjalon
06/11/2017 11:44, Bruce Richardson: > On Sat, Nov 04, 2017 at 02:00:08AM +0100, Thomas Monjalon wrote: > > The memzone header is often included without good reason. > > > > Signed-off-by: Thomas Monjalon > > --- > Acked-by: Bruce Richardson Applied

Re: [dpdk-dev] [PATCH] remove include of generated config header

2017-11-06 Thread Thomas Monjalon
02/11/2017 22:38, Thomas Monjalon: > The file rte_config.h is generated and automatically included > with -include option. > The explicit includes in drivers and libraries are useless. > > Signed-off-by: Thomas Monjalon Applied

Re: [dpdk-dev] [PATCH] use macro to declare constructor functions

2017-11-06 Thread Thomas Monjalon
02/11/2017 23:10, Thomas Monjalon: > It is easier to find all constructor functions when they use > the same macros RTE_INIT or RTE_INIT_PRIO. > > The macro definitions are moved from rte_eal.h to rte_common.h. > > Signed-off-by: Thomas Monjalon Applied

Re: [dpdk-dev] [PATCH] mk: remove useless list of core libraries

2017-11-06 Thread Thomas Monjalon
06/11/2017 12:24, Thomas Monjalon: > When moving the library dependencies handling from top Makefiles > to library Makefiles, the list core-libs became useless. > > Fixes: cbc12b0a96f5 ("mk: do not generate LDLIBS from directory dependencies") > > Signed-off-by: Thomas Monjalon Applied

Re: [dpdk-dev] [PATCH v1] mk: allow use of toolchain cflags

2017-11-06 Thread Thomas Monjalon
03/11/2017 10:40, David Hunt: > From: Vipin Varghese > > with 'export TOOLCHAIN_CFLAGS' the values are > not inherited throuhout make system. The change > appends the user defined cflags. Why do you want to use export from the shell environment? The standard way of overriding a variable with mak

Re: [dpdk-dev] [dpdk-stable] [PATCH] config: fix bnx2x for armv7a defconfig

2017-11-06 Thread Thomas Monjalon
31/10/2017 18:39, Ferruh Yigit: > Fixes: 02a8686263de ("mk: introduce ARMv7 architecture") > Cc: sta...@dpdk.org > > Signed-off-by: Ferruh Yigit > --- > Cc: Jan Viktorin > Cc: Jianbo Liu > --- > config/defconfig_arm-armv7a-linuxapp-gcc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) A

Re: [dpdk-dev] [PATCH] buildtools: fix icc build

2017-11-06 Thread Thomas Monjalon
02/11/2017 01:25, Ferruh Yigit: > There are random build errors in test reports [1]. Build error > is not directly related to DPDK but observed during DPDK build. > > When I get similar unexpected build errors in my system, found > out that /dev/null is invalid. > > It seems ICC overwrites the /d

[dpdk-dev] [PATCH v2 3/3] net: vhost: add iommu-support parameter to enable IOMMU feature

2017-11-06 Thread Maxime Coquelin
Introduce a new iommu-support parameter to Vhost PMD that passes the RTE_VHOST_USER_IOMMU_SUPPORT flag at vhost device register time. Default value is 0, meaning that IOMMU support is disabled if not specified explicitly. Example to enable IOMMU support for a given device: --vdev 'net_vhost0,ifa

[dpdk-dev] [PATCH v2 0/3] vhost: disable iommu support by default

2017-11-06 Thread Maxime Coquelin
This series disables IOMMU feature by default, and introduce a new flag passed at vhost device registration time to enable it explicitly. When disabled, patch 1 also disables reply-ack protocol feature to avoid Qemu v2.7.0-v2.9.0 reply-ack bug with multiqueue. Last patch adds a Vhost PMD "iommu-s

[dpdk-dev] [PATCH v2 2/3] vhost: add flag to enable iommu support

2017-11-06 Thread Maxime Coquelin
Qemu versions from v2.7.0 to v2.9.0 have their reply-ack protocol feature implementation broken with multiqueue. The reply-ack protocol feature is optional except for IOMMU feature. This patch introduce a new RTE_VHOST_USER_IOMMU_SUPPORT flag to enable VIRTIO_F_IOMMU_PLATFORM virtio feature. By d

[dpdk-dev] [PATCH v2 1/3] vhost: disable reply-ack protocol feature if iommu feature disabled

2017-11-06 Thread Maxime Coquelin
If the application has disabled VIRTIO_F_IOMMU_PLATFORM, disable VHOST_USER_PROTOCOL_F_REPLY_ACK protocol feature that is only mandatory with IOMMU for now. This is done to provide a way for the application to support multiqueue with old Qemu versions (v2.7.0 to v2.9.0) that have reply-ack feature

Re: [dpdk-dev] [PATCH] eal: fix check for default plugin directory

2017-11-06 Thread Aaron Conole
Bruce Richardson writes: > The check for the existence of the default plugin directory calls stat > using an incorrect variable, which will cause a NULL pointer dereference > error. > > Coverity issue: 198440 > Fixes: d6a4399cdfc9 ("eal: avoid error for non-existent default PMD path") > > Signed-

Re: [dpdk-dev] [PATCH v1 0/2] Fix namespaces for VFIO and PCI

2017-11-06 Thread Thomas Monjalon
06/11/2017 17:08, Gaetan Rivet: > Some symbols are lacking the proper rte_ prefix. > > Gaetan Rivet (2): > eal: use proper namespace for VFIO symbols > pci: fix PCI lib prefix Applied, thanks

Re: [dpdk-dev] [PATCH] mem: warn if address hint is not respected

2017-11-06 Thread Thomas Monjalon
31/10/2017 10:08, Jonas Pfefferle: > Print a warning if the --base-virtaddr hint is not respected > since this might lead to problems when mapping memory in > the secondary process. > > Signed-off-by: Jonas Pfefferle Anatoly, please review this patch. It does not seem to fix something, so it is

Re: [dpdk-dev] [PATCH v2] vfio: noiommu check error handling

2017-11-06 Thread Thomas Monjalon
31/10/2017 16:59, Jonas Pfefferle: > Check and report errors on open/read in noiommu check. > > Signed-off-by: Jonas Pfefferle I cannot decide to apply this patch as it does not explain what it is fixing, and as it is not reviewed.

Re: [dpdk-dev] [PATCH] net/pcap: fix memory leak from missing pcap_close

2017-11-06 Thread Ferruh Yigit
On 11/5/2017 9:24 AM, Stefan Baranoff wrote: > In open_single_tx_pcap there is a call to pcap_open_dead which calls > malloc to create and return a pcap_t. That object is never freed in > this case. Other places it is freed by passing it back similar to the > way the pcap_dumper_t is in this case.

Re: [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration

2017-11-06 Thread Ferruh Yigit
On 11/4/2017 5:03 AM, Rami Rosen wrote: > This patch removes the forward declaration of eth_kni_drv > in rte_eth_kni.c; this forward declaration was made unnecessary > by commit 050fe6e9ff970ff92d842912136be8f9f52e171f > ("drivers/net: use ethdev allocation helper for vdev"), which > removes the

Re: [dpdk-dev] [PATCH] lib: fix a typo in kni header file (doxygen)

2017-11-06 Thread Ferruh Yigit
On 11/4/2017 7:28 AM, Rami Rosen wrote: > This patch fixes a trivial typo in rte_kni.h header > file (librte_kni). > > Signed-off-by: Rami Rosen kni: fix a typo in header file Fixes: 3fc5ca2f6352 ("kni: initial import") Cc: sta...@dpdk.org Acked-by: Ferruh Yigit

[dpdk-dev] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-06 Thread Ferruh Yigit
Some devices are having problem on device reset that happens during DPDK application exit [1]. Create a static list of devices and exclude them from device reset. [1] http://dpdk.org/ml/archives/dev/2017-November/080927.html Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of dev

Re: [dpdk-dev] [PATCH v2] igb_uio: add config option to control reset

2017-11-06 Thread Ferruh Yigit
On 11/4/2017 3:08 AM, Stephen Hemminger wrote: > > > On Nov 4, 2017 01:03, "Ferruh Yigit" > wrote: > > On 11/3/2017 12:42 PM, Roberts, Lee A. wrote: > > > > > >> -Original Message- > >> From: dev [mailto:dev-boun...@dpdk.org

Re: [dpdk-dev] [PATCH 2/3] net/mlx4: adjust removal error

2017-11-06 Thread Adrien Mazarguil
Hi Matan, On Sun, Nov 05, 2017 at 06:52:59AM +, Matan Azrad wrote: > Hi Adrien, > Thanks for the review :) > > Please see below comments. > > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > > Sent: Friday, November 3, 2017 3:06 PM > > To: Matan A

Re: [dpdk-dev] [PATCH v4 10/15] mempool: rename populate functions to IOVA

2017-11-06 Thread Olivier MATZ
On Mon, Nov 06, 2017 at 04:58:13PM +0100, Thomas Monjalon wrote: > 06/11/2017 16:49, Olivier MATZ: > > On Mon, Nov 06, 2017 at 02:41:36AM +0100, Thomas Monjalon wrote: > > > The functions rte_mempool_populate_phys() and > > > rte_mempool_populate_phys_tab() are renamed to > > > rte_mempool_populate

Re: [dpdk-dev] [PATCH] maintainers: fill git trees for net and crypto API

2017-11-06 Thread Pablo de Lara
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, November 6, 2017 11:37 AM > To: Yigit, Ferruh ; De Lara Guarch, Pablo > > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] maintainers: fill git trees for net and > crypto API > > T

[dpdk-dev] [PATCH v1 1/2] eal: use proper namespace for VFIO symbols

2017-11-06 Thread Gaetan Rivet
Exposed VFIO functions simply uses a "vfio" prefix. Use the proper "rte_vfio" prefix for those symbols. Fixes: 279b581c897d ("vfio: expose functions") Signed-off-by: Gaetan Rivet --- drivers/bus/pci/linux/pci.c | 2 +- drivers/bus/pci/linux/pci_vfio.c | 12 ++-- li

[dpdk-dev] [PATCH v1 0/2] Fix namespaces for VFIO and PCI

2017-11-06 Thread Gaetan Rivet
Some symbols are lacking the proper rte_ prefix. Gaetan Rivet (2): eal: use proper namespace for VFIO symbols pci: fix PCI lib prefix drivers/bus/pci/bsd/pci.c| 2 +- drivers/bus/pci/linux/pci.c | 4 ++-- drivers/bus/pci/linux/pci_vfio.c | 14 +++---

[dpdk-dev] [PATCH v1 2/2] pci: fix PCI lib prefix

2017-11-06 Thread Gaetan Rivet
Some symbols were introduced with the wrong prefix. Add the usual "rte_" prefix when needed. Fixes: c752998b5e2e ("pci: introduce library and driver") Signed-off-by: Gaetan Rivet --- drivers/bus/pci/bsd/pci.c | 2 +- drivers/bus/pci/linux/pci.c| 2 +- drivers/bus/pci/linux/pc

Re: [dpdk-dev] [PATCH v4 12/15] mbuf: rename data address helpers to IOVA

2017-11-06 Thread Thomas Monjalon
06/11/2017 16:56, Olivier MATZ: > On Mon, Nov 06, 2017 at 02:41:38AM +0100, Thomas Monjalon wrote: > > The following inline functions and macros have been renamed to be > > consistent with the IOVA wording: > > > > rte_mbuf_data_dma_addr -> rte_mbuf_data_iova > > rte_mbuf_data_dma_addr_def

Re: [dpdk-dev] [PATCH v4 11/15] mbuf: rename physical address to IOVA

2017-11-06 Thread Thomas Monjalon
06/11/2017 16:52, Olivier MATZ: > On Mon, Nov 06, 2017 at 02:41:37AM +0100, Thomas Monjalon wrote: > > From: Santosh Shukla > > > > Rename buf_physaddr to buf_iova. > > Keep the deprecated name in an anonymous union to avoid breaking > > the API. > > > > Signed-off-by: Santosh Shukla > > Review

Re: [dpdk-dev] [PATCH v4 10/15] mempool: rename populate functions to IOVA

2017-11-06 Thread Thomas Monjalon
06/11/2017 16:49, Olivier MATZ: > On Mon, Nov 06, 2017 at 02:41:36AM +0100, Thomas Monjalon wrote: > > The functions rte_mempool_populate_phys() and > > rte_mempool_populate_phys_tab() are renamed to > > rte_mempool_populate_iova() and rte_mempool_populate_iova_tab(). > > The deprecated functions a

Re: [dpdk-dev] [PATCH v4 12/15] mbuf: rename data address helpers to IOVA

2017-11-06 Thread Olivier MATZ
On Mon, Nov 06, 2017 at 02:41:38AM +0100, Thomas Monjalon wrote: > The following inline functions and macros have been renamed to be > consistent with the IOVA wording: > > rte_mbuf_data_dma_addr -> rte_mbuf_data_iova > rte_mbuf_data_dma_addr_default -> rte_mbuf_data_iova_default > rte_pkt

Re: [dpdk-dev] [PATCH v4 11/15] mbuf: rename physical address to IOVA

2017-11-06 Thread Olivier MATZ
On Mon, Nov 06, 2017 at 02:41:37AM +0100, Thomas Monjalon wrote: > From: Santosh Shukla > > Rename buf_physaddr to buf_iova. > Keep the deprecated name in an anonymous union to avoid breaking > the API. > > Signed-off-by: Santosh Shukla > Reviewed-by: Anatoly Burakov > Signed-off-by: Thomas Mo

Re: [dpdk-dev] [PATCH v4 10/15] mempool: rename populate functions to IOVA

2017-11-06 Thread Olivier MATZ
On Mon, Nov 06, 2017 at 02:41:36AM +0100, Thomas Monjalon wrote: > The functions rte_mempool_populate_phys() and > rte_mempool_populate_phys_tab() are renamed to > rte_mempool_populate_iova() and rte_mempool_populate_iova_tab(). > The deprecated functions are kept as aliases to avoid breaking the A

Re: [dpdk-dev] [PATCH v4 09/15] mempool: rename address mapping function to IOVA

2017-11-06 Thread Olivier MATZ
On Mon, Nov 06, 2017 at 02:41:35AM +0100, Thomas Monjalon wrote: > The function rte_mempool_virt2phy() is renamed to rte_mempool_virt2iova(). > The new function has one less parameter because it is unused. > The deprecated function is kept as an alias to avoid breaking the API. > > Signed-off-by:

Re: [dpdk-dev] [PATCH v4 08/15] mempool: rename addresses from physical to IOVA

2017-11-06 Thread Olivier MATZ
On Mon, Nov 06, 2017 at 02:41:34AM +0100, Thomas Monjalon wrote: > The struct fields phys_addr_t rte_mempool_objhdr.physaddr and > rte_mempool_memhdr.phys_addr are renamed to rte_iova_t iova. > The deprecated names are kept in an anonymous union to avoid breaking > the API. > > Signed-off-by: Thom

Re: [dpdk-dev] [PATCH] doc: update ABI/API policy

2017-11-06 Thread Mcnamara, John
> -Original Message- > From: Richardson, Bruce > Sent: Monday, November 6, 2017 11:28 AM > To: Mcnamara, John > Cc: dev@dpdk.org; Richardson, Bruce > Subject: [PATCH] doc: update ABI/API policy > > Following agreement at the DPDK Technical Board meeting of 2017-10-13 [1], > update the

[dpdk-dev] [PATCH] doc: move dom0 removal notice in removed items

2017-11-06 Thread Thomas Monjalon
Since the release notes has a new section for removed items, the dom0 removal notice can be moved there. Signed-off-by: Thomas Monjalon --- doc/guides/rel_notes/release_17_11.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/release_17_11.rst b/doc

Re: [dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables

2017-11-06 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, November 6, 2017 2:41 PM > To: Mcnamara, John > Cc: dev@dpdk.org > Subject: [PATCH] doc: adjust column width of PMD overview tables > > The net PMD overview table is big and required to be shrinked

[dpdk-dev] [PATCH] doc: adjust column width of PMD overview tables

2017-11-06 Thread Thomas Monjalon
The net PMD overview table is big and required to be shrinked. The crypto PMD tables had variable column sizes: the latest columns were smaller. The minimum width is set to 0.9em without any forced padding. The maximum width is set to 2em. The width of the first column set by sphinx is overriden t

  1   2   >