Re: [dpdk-dev] [PATCH] igb_uio: remove device reset in open

2017-10-31 Thread Mody, Rasesh
Hi Jianfeng and Ferruh, > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Thursday, October 26, 2017 5:50 PM > > On 10/26/2017 2:28 AM, Tan, Jianfeng wrote: > > Hi Rasesh, > > > > > > On 10/26/2017 7:43 AM, Mody, Rasesh wrote: > >> Hi Ferruh, > >> > >>> From: dev [mailto:dev-boun...@dp

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Jerin Jacob
-Original Message- > Date: Tue, 31 Oct 2017 23:21:18 -0700 > From: Ferruh Yigit > To: Jerin Jacob > CC: Thomas Monjalon , Bruce Richardson > , Sergio Gonzalez Monroy > , dev@dpdk.org, Jianfeng Tan > , Santosh Shukla > > Subject: Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection

[dpdk-dev] [PATCH] net/ixgbe: fix filter parser error in L2 tunnel

2017-10-31 Thread Wei Zhao
The action for L2 tunnel should be VF, not QUEUE. Fixes: 99e7003831c ("net/ixgbe: parse L2 tunnel filter") Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_flow.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixg

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 1, 2017 2:33 PM > To: Tan, Jianfeng; Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, > Sergio > Cc: dev@dpdk.org; Santosh Shukla > Subject: Re: [PATCH] eal: disable IOVA mode detection by default > > On 10/31/201

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 7:17 PM, Tan, Jianfeng wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Wednesday, November 1, 2017 9:07 AM >> To: Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, Sergio >> Cc: dev@dpdk.org; Yigit, Ferruh; Tan, Jianfeng; Santosh Shukla >> Subject: [PATCH

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

2017-10-31 Thread Akhil Goyal
Hi Thomas, On 10/30/2017 7:52 PM, Thomas Monjalon wrote: 30/10/2017 13:27, Akhil Goyal: Removed the deprication notice for ABI breakage and updated release notes for rte_security. Signed-off-by: Akhil Goyal --- +.. _security_library: + Security Library [...] +* **Added t

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 9:02 PM, Jerin Jacob wrote: > -Original Message- >> Date: Wed, 1 Nov 2017 01:07:26 + >> From: Ferruh Yigit >> To: Thomas Monjalon , Bruce Richardson >> , Sergio Gonzalez Monroy >> >> CC: dev@dpdk.org, Ferruh Yigit , Jianfeng Tan >> , Santosh Shukla >> >> Subject: [d

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

2017-10-31 Thread Jia He
Hi Jerin On 10/31/2017 7:14 PM, Jerin Jacob Wrote: -Original Message- Date: Tue, 31 Oct 2017 10:55:15 +0800 From: Jia He To: Jerin Jacob Cc: "Ananyev, Konstantin" , "Zhao, Bing" , Olivier MATZ , "dev@dpdk.org" , "jia...@hxt-semitech.com" , "jie2@hxt-semitech.com" , "bing.

[dpdk-dev] [PATCH v6 2/2] app/testpmd: use uevent to monitor hotplug

2017-10-31 Thread Jeff Guo
use testpmd for example, to show app how to request and use uevent monitoring to handle the hot removal event and the hot insertion event. Signed-off-by: Jeff Guo --- v6->v5: add hot plug policy in app, show example to use hotplug list to manage to deside which device need to hot plug. --- app/t

[dpdk-dev] [PATCH v6 1/2] eal: add uevent monitor for hot plug

2017-10-31 Thread Jeff Guo
This patch aim to add a general uevent mechanism in eal device layer, to enable all linux kernel object hot plug monitoring, so user could use these APIs to monitor and read out the device status info that sent from the kernel side, then corresponding to handle it, such as detach or attach the devi

[dpdk-dev] [PATCH v6 0/2] add uevent monitor for hot plug

2017-10-31 Thread Jeff Guo
So far, about hot plug in dpdk, we already have hot plug add/remove api and fail-safe driver to offload the fail-safe work from the app user. But there are still lack of a general event api, since the interrupt event, which hot plug related with, is diversity between each device and driver, such as

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Jerin Jacob
-Original Message- > Date: Wed, 1 Nov 2017 01:07:26 + > From: Ferruh Yigit > To: Thomas Monjalon , Bruce Richardson > , Sergio Gonzalez Monroy > > CC: dev@dpdk.org, Ferruh Yigit , Jianfeng Tan > , Santosh Shukla > > Subject: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread santosh
On Wednesday 01 November 2017 06:37 AM, Ferruh Yigit wrote: > Fix kernel crash with KNI because KNI requires physical addresses. > > A config option introduced to disable IOVA mode detection and to set it > to physical address by default. Disabling config option will enable IOVA > mode detection.

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

2017-10-31 Thread Jia He
Hi Jerin Thanks for your suggestions. I will try to use config macro to let it be chosen by user. I need to point out one possible issue in your load_acq/store_rel patch at https://github.com/jerinjacobk/mytests/blob/master/ring/0001-ring-using-c11-memory-model.patch @@ -516,8 +541,13 @@ _

[dpdk-dev] [PATCH v3] doc: more clarification for i40e 16 byte desc

2017-10-31 Thread Wenzhuo Lu
The description of i40e 16 byte descriptor is not clear enough. Add more details. Signed-off-by: Wenzhuo Lu Acked-by: Bruce Richardson --- doc/guides/nics/i40e.rst | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 1, 2017 9:07 AM > To: Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, Sergio > Cc: dev@dpdk.org; Yigit, Ferruh; Tan, Jianfeng; Santosh Shukla > Subject: [PATCH] eal: disable IOVA mode detection by default > > Fix

Re: [dpdk-dev] [PATCH v2] doc: more clarification for i40e 16 bytes desc

2017-10-31 Thread Lu, Wenzhuo
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Tuesday, October 31, 2017 6:04 PM > To: Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] doc: more clarification for i40e 16 bytes > desc > > On Tue, Oct 31, 2017 at 11:40:33AM +0800, Wenzhuo Lu wrote: >

Re: [dpdk-dev] [PATCH 1/2] eal: honor IOVA mode for no-huge case

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 3:37 PM, Ferruh Yigit wrote: > On 10/31/2017 2:49 PM, Ferruh Yigit wrote: >> On 10/11/2017 3:33 AM, Jianfeng Tan wrote: >>> With the introduction of IOVA mode, the only blocker to run >>> with 4KB pages for NICs binding to vfio-pci, is that >>> RTE_BAD_PHYS_ADDR is not a valid IOVA ad

[dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Ferruh Yigit
Fix kernel crash with KNI because KNI requires physical addresses. A config option introduced to disable IOVA mode detection and to set it to physical address by default. Disabling config option will enable IOVA mode detection. When there is no intension to use KNI, it is safe to enable detection

[dpdk-dev] DPDK support for x553

2017-10-31 Thread Ananda Sathyanarayana
Hi, Is the below Ethernet controller (x553) supported in DPDK (in-built into Denverton based processors) ? 08:00.0 Ethernet controller: Intel Corporation Device 15e4 (rev 11) 09:00.0 Ethernet controller: Intel Corporation Device 15e5 (rev 11) If it is supported, could you please let me kn

Re: [dpdk-dev] [PATCH 4/5] net/mlx5: fix fdir flow removal

2017-10-31 Thread Yongseok Koh
> On Oct 31, 2017, at 8:51 AM, Nelio Laranjeiro > wrote: > > Initialise struct mlx5_fdir to avoid passing non initialised items/actions > arrays elements to the generic flow interpreter. > > Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director") > > Signed-off-by: Nelio Laranjeiro > --- Ack

Re: [dpdk-dev] [PATCH 5/5] net/mlx5: fix flow director TCPv6 filter

2017-10-31 Thread Yongseok Koh
> On Oct 31, 2017, at 8:51 AM, Nelio Laranjeiro > wrote: > > Flow director to generic flow conversion wrongly handles TCPv6 layer. > > Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director") > > Signed-off-by: Nelio Laranjeiro > --- Acked-by: Yongseok Koh Thanks

Re: [dpdk-dev] [PATCH 1/5] net/mlx5: fix parser inner value

2017-10-31 Thread Yongseok Koh
> On Oct 31, 2017, at 8:51 AM, Nelio Laranjeiro > wrote: > > In validate() it sets the value to 1 whereas the expected one is > IBV_FLOW_SPEC_INNER. > > Fixes: c2c6ddd51da4 ("net/mlx5: limit flow API rules to one tunnel") > Cc: sta...@dpdk.org > > Signed-off-by: Nelio Laranjeiro > --- Acked-

Re: [dpdk-dev] [PATCH 1/2] eal: honor IOVA mode for no-huge case

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 2:49 PM, Ferruh Yigit wrote: > On 10/11/2017 3:33 AM, Jianfeng Tan wrote: >> With the introduction of IOVA mode, the only blocker to run >> with 4KB pages for NICs binding to vfio-pci, is that >> RTE_BAD_PHYS_ADDR is not a valid IOVA address. >> >> We can refine this by using VA as IO

Re: [dpdk-dev] [PATCH 1/2] eal: honor IOVA mode for no-huge case

2017-10-31 Thread Ferruh Yigit
On 10/11/2017 3:33 AM, Jianfeng Tan wrote: > With the introduction of IOVA mode, the only blocker to run > with 4KB pages for NICs binding to vfio-pci, is that > RTE_BAD_PHYS_ADDR is not a valid IOVA address. > > We can refine this by using VA as IOVA if it's IOVA mode. > > Signed-off-by: Jianfen

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix received packets number for ARM vPMD

2017-10-31 Thread Ferruh Yigit
On 10/30/2017 10:52 PM, Jianbo Liu wrote: > Fix i40e stop receiving on ARM, as the statuses of RX descriptors > are not consistent, which is caused by cacheable hugepages. > > Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM") > Cc: sta...@dpdk.org > > Signed-off-by: Jianbo Liu Appl

Re: [dpdk-dev] [PATCH] net/ixgbe: fix IPsec Rx with SSE on

2017-10-31 Thread Shahaf Shuler
Tuesday, October 31, 2017 7:16 PM, Ferruh Yigit: > On 10/31/2017 8:47 AM, Ananyev, Konstantin wrote: > > > > > >> -Original Message- > >> From: Nicolau, Radu > >> Sent: Friday, October 27, 2017 2:25 PM > >> To: dev@dpdk.org > >> Cc: Ananyev, Konstantin ; Nicolau, Radu > >> > >> Subject: [P

Re: [dpdk-dev] [PATCH] bus/pci: fix vfio device reset

2017-10-31 Thread Thomas Monjalon
28/10/2017 12:54, Jonas Pfefferle1: > Jerin Jacob wrote on 28/10/2017 08:22:55: > > If the device is not capable of resetting, then Linux kernel updates > > the errno as EINVAL. > > https://urldefense.proofpoint.com/v2/url? > > u=http-3A__elixir.free-2Delectrons.com_linux_v4. > > 9_source_drivers_

[dpdk-dev] [PATCH v4 8/8] net/mlx4: mitigate Tx path memory barriers

2017-10-31 Thread Matan Azrad
Replace most of the memory barriers by IO memory barriers since they are all targeted to the DRAM; This improves code efficiency for systems which force store order between different addresses. Only the doorbell register store should be protected by memory barrier since it is targeted to the PCI m

[dpdk-dev] [PATCH v4 6/8] net/mlx4: separate Tx segment cases

2017-10-31 Thread Matan Azrad
Optimize single segment case by processing it in different block which prevents checks, calculations and barriers relevant only for multi segment case. Call a dedicated function for handling multi segments case. Signed-off-by: Matan Azrad Signed-off-by: Ophir Munk --- drivers/net/mlx4/mlx4_rxt

[dpdk-dev] [PATCH v4 7/8] net/mlx4: fix HW memory optimizations careless

2017-10-31 Thread Matan Azrad
Volatilize all Rx/Tx HW negotiation memories to be sure no compiler optimization prevents either load or store commands. Fixes: c3c977bbecbd ("net/mlx4: add Tx bypassing Verbs") Fixes: 9f57340a8087 ("net/mlx4: restore Rx offloads") Fixes: 6681b845034c ("net/mlx4: add Rx bypassing Verbs") Fixes: 62

[dpdk-dev] [PATCH v4 5/8] net/mlx4: remove duplicate handling in Tx burst

2017-10-31 Thread Matan Azrad
Remove usage of variable which count the packets for completion and doesn't add more information than packets counter. Remove no space in elements ring check which is already covered by regular Tx flow. Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4_rxtx.c | 6 +- 1 file changed, 1 in

[dpdk-dev] [PATCH v4 4/8] net/mlx4: merge Tx path functions

2017-10-31 Thread Matan Azrad
Merge tx_burst and mlx4_post_send functions to prevent double asking about WQ remain space. Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4_rxtx.c | 355 +-- 1 file changed, 170 insertions(+), 185 deletions(-) diff --git a/drivers/net/mlx4/mlx4_rxtx.

[dpdk-dev] [PATCH v4 2/8] net/mlx4: associate MR to MP in a short function

2017-10-31 Thread Matan Azrad
From: Ophir Munk Associate memory region to mempool (on data path) in a short function. Handle the less common case of adding a new memory region to mempool in a separate function. Signed-off-by: Ophir Munk --- drivers/net/mlx4/mlx4.h | 2 ++ drivers/net/mlx4/mlx4_mr.c | 47 +++

[dpdk-dev] [PATCH v4 3/8] net/mlx4: fix ring wraparound compiler hint

2017-10-31 Thread Matan Azrad
Remove unlikely hint from WQ wraparound check because it is expected case. Fixes: c3c977bbecbd ("net/mlx4: add Tx bypassing Verbs") Signed-off-by: Matan Azrad --- drivers/net/mlx4/mlx4_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/driv

[dpdk-dev] [PATCH v4 1/8] net/mlx4: remove error flows from Tx fast path

2017-10-31 Thread Matan Azrad
Move unnecessary error flows to DEBUG mode. Signed-off-by: Matan Azrad Acked-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4_rxtx.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/drivers/net/mlx4/mlx4_rxtx.c index 67dc712..79c7

[dpdk-dev] [PATCH v4 0/8] net/mlx4: Tx path improvements

2017-10-31 Thread Matan Azrad
v1: This series is a follow-up of the new datapath implementation introduced in RC1. It is dedicated to Tx and improves the performance. v2: Change uint32_t be_lkey to rte_be32_t lkey v3: Rebase to 17.11-rc2. Remove "net/mlx4: save lkey in big-endian format" patch which degrade performance. Merg

Re: [dpdk-dev] [PATCH v4] bus/pci: fix vfio mode

2017-10-31 Thread Thomas Monjalon
31/10/2017 13:03, Bruce Richardson: > On Mon, Oct 30, 2017 at 10:32:27PM +, Ferruh Yigit wrote: > > Revert back to using VFIO_PRESENT as a marker to enable compilation > > of VFIO-related segments. > > > > VFIO_PRESENT is the combination of user configuration RTE_EAL_VFIO and > > kernel versio

[dpdk-dev] [dpdk-announce] Agenda for DPDK Summit North America

2017-10-31 Thread O'Driscoll, Tim
The agenda for the DPDK Summit North America is available now at: http://events.linuxfoundation.org/events/dpdk-north-america-summit/program/agenda. The event is on November 14th and 15th at Club Auto Sport in San Jose. If you're planning to attend and haven't done so already, you can register a

Re: [dpdk-dev] [PATCH] net/bnxt: fix vlan spoof configuration

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 7:45 AM, Ajit Khaparde wrote: > We are not programming the vlan_spoof setting currently owing to > an unnecessary check. This patch fixes that. > > Fixes: 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof") > > Signed-off-by: Ajit Khaparde Applied to dpdk-next-net/mas

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

2017-10-31 Thread Adrien Mazarguil
Hi Wei, Sorry for the late answer, see below. On Mon, Oct 23, 2017 at 08:53:49AM +, Zhao1, Wei wrote: > +/** > + * RTE_FLOW_ACTION_TYPE_RSS > + * > + * Similar to QUEUE, except RSS is additionally performed on packets to > + * spread them among several queues according to the provided parame

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix mirror for new FW

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 2:48 AM, Xing, Beilei wrote: >> -Original Message- >> From: Zhang, Qi Z >> Sent: Tuesday, October 31, 2017 10:27 PM >> To: Xing, Beilei >> Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org >> Subject: [PATCH] net/i40e: fix mirror for new FW >> >> Value of I40E_GL_SWR_PRI_JOIN_M

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

2017-10-31 Thread 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(-) diff --git a/config/defconfig_arm-armv7a-linuxapp-gcc

Re: [dpdk-dev] [PATCH v2 0/6] Remove RTE_ETH_DEV_DETACHABLE

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 4:09 AM, Alejandro Lucero wrote: > I'm afraid the patch introduced a problem for the NFP PMD.  > > I have submitted a patch fixing it: "net/nfp: avoid unplug if multiport" Hi Alejandro, Sorry for this short notice, and thank you for the fix. > > Thanks > > On Mon, Oct 30, 2017 a

Re: [dpdk-dev] [PATCH] net/nfp: avoid unplug if multiport

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 4:04 AM, Alejandro Lucero wrote: > PF multiport support has some limitations like not allowing plugging or > unplugging of single ports as they all belong to same PCI device. > > A previous patch for removing detachable flag introduced a wrong check. > > Fixes: 00a3d8104ac5 ("ethdev

Re: [dpdk-dev] [PATCH] net/ixgbe: fix IPsec Rx with SSE on

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 8:47 AM, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Nicolau, Radu >> Sent: Friday, October 27, 2017 2:25 PM >> To: dev@dpdk.org >> Cc: Ananyev, Konstantin ; Nicolau, Radu >> >> Subject: [PATCH] net/ixgbe: fix IPsec Rx with SSE on >> >> Fixes: 9a0752f498d

Re: [dpdk-dev] [PATCH v4] bus/pci: fix vfio mode

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 5:03 AM, Bruce Richardson wrote: > On Mon, Oct 30, 2017 at 10:32:27PM +, Ferruh Yigit wrote: >> Revert back to using VFIO_PRESENT as a marker to enable compilation >> of VFIO-related segments. >> >> VFIO_PRESENT is the combination of user configuration RTE_EAL_VFIO and >> kernel v

[dpdk-dev] [PATCH] doc/guides: mention 17.11 LTS in contributing/stable

2017-10-31 Thread luca . boccassi
From: Luca Boccassi Signed-off-by: Luca Boccassi --- doc/guides/contributing/stable.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/contributing/stable.rst b/doc/guides/contributing/stable.rst index d52ec4772..0f2f1f375 100644 --- a/doc/guides/contribut

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

2017-10-31 Thread Jonas Pfefferle
Check and report errors on open/read in noiommu check. Signed-off-by: Jonas Pfefferle --- lib/librte_eal/linuxapp/eal/eal_vfio.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c b/lib/librte_eal/linuxapp/ea

[dpdk-dev] [PATCH 5/5] net/mlx5: fix flow director TCPv6 filter

2017-10-31 Thread Nelio Laranjeiro
Flow director to generic flow conversion wrongly handles TCPv6 layer. Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director") Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drive

[dpdk-dev] [PATCH 4/5] net/mlx5: fix fdir flow removal

2017-10-31 Thread Nelio Laranjeiro
Initialise struct mlx5_fdir to avoid passing non initialised items/actions arrays elements to the generic flow interpreter. Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director") Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_flow.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet

[dpdk-dev] [PATCH 3/5] net/mlx5: fix RSS tunneled flow without outer

2017-10-31 Thread Nelio Laranjeiro
Allow to use the RSS when the outer part of the packet is not defined. The RSS is still performed on the outer. This modification only serves the internal engine to create the necessary Verbs flows according to the user request. Fixes: 39797c6db80b ("net/mlx5: fix RSS action for tunneled packets"

[dpdk-dev] [PATCH 2/5] net/mlx5: fix flows when VXLAN tunnel is 0

2017-10-31 Thread Nelio Laranjeiro
Fix a strange behavior from the NIC, when the flow starts with a VXLAN layer with a VNI equals to zero all the traffic will match within this rule. Fixes: 2e709b6aa0f5 ("net/mlx5: support VXLAN flow item") Cc: sta...@dpdk.org Signed-off-by: Nelio Laranjeiro --- doc/guides/nics/mlx5.rst | 2

[dpdk-dev] [PATCH 1/5] net/mlx5: fix parser inner value

2017-10-31 Thread Nelio Laranjeiro
In validate() it sets the value to 1 whereas the expected one is IBV_FLOW_SPEC_INNER. Fixes: c2c6ddd51da4 ("net/mlx5: limit flow API rules to one tunnel") Cc: sta...@dpdk.org Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH 0/5] net/mlx5: fixes

2017-10-31 Thread Nelio Laranjeiro
- Multiple fixes for tunnels in flow actions. - fix some mistakes in flow director code. Nelio Laranjeiro (5): net/mlx5: fix parser inner value net/mlx5: fix flows when VXLAN tunnel is 0 net/mlx5: fix RSS tunneled flow without outer net/mlx5: fix fdir flow removal net/mlx5: fix flow dire

Re: [dpdk-dev] [PATCH] net/ixgbe: fix IPsec Rx with SSE on

2017-10-31 Thread Ananyev, Konstantin
> -Original Message- > From: Nicolau, Radu > Sent: Friday, October 27, 2017 2:25 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin ; Nicolau, Radu > > Subject: [PATCH] net/ixgbe: fix IPsec Rx with SSE on > > Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec") > And small performance i

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

2017-10-31 Thread Jonas Pfefferle
Check and report errors on open/read in noiommu check. Signed-off-by: Jonas Pfefferle --- lib/librte_eal/linuxapp/eal/eal_vfio.c | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c b/lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH] net/bnxt: fix vlan spoof configuration

2017-10-31 Thread Ajit Khaparde
We are not programming the vlan_spoof setting currently owing to an unnecessary check. This patch fixes that. Fixes: 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/rte_pmd_bnxt.c | 3 --- 1 file changed, 3 deletions(-) diff --

Re: [dpdk-dev] [PATCH v4] bus/pci: fix vfio mode

2017-10-31 Thread Gaëtan Rivet
Hi Ferruh, On Mon, Oct 30, 2017 at 10:32:27PM +, Ferruh Yigit wrote: > Revert back to using VFIO_PRESENT as a marker to enable compilation > of VFIO-related segments. > > VFIO_PRESENT is the combination of user configuration RTE_EAL_VFIO and > kernel version support check. > > eal_vfio.h VFI

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

2017-10-31 Thread Wu, Jingjing
Ping > -Original Message- > From: Wu, Jingjing > Sent: Tuesday, October 24, 2017 9:39 PM > To: Thomas Monjalon > Cc: dev@dpdk.org; Tan, Jianfeng ; > shreyansh.j...@nxp.com; > hemant.agra...@nxp.com; santosh.shu...@caviumnetworks.com; Tomasz Duszynski > ; Jacek Siuda ; > jerin.ja...@caviu

Re: [dpdk-dev] [PATCH v3 2/7] net/mlx4: associate MR to MP in a short function

2017-10-31 Thread Ophir Munk
Hi, Please see inline On Monday, October 30, 2017 4:23 PM, Adrien Mazarguil wrote: > > On Mon, Oct 30, 2017 at 10:07:24AM +, Matan Azrad wrote: > > From: Ophir Munk > > > > Associate memory region to mempool (on data path) in a short function. > > Handle the less common case of adding a new

Re: [dpdk-dev] [PATCH v3 6/7] net/mlx4: mitigate Tx path memory barriers

2017-10-31 Thread Adrien Mazarguil
Hi Matan, On Tue, Oct 31, 2017 at 11:35:29AM +, Matan Azrad wrote: > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > > Sent: Tuesday, October 31, 2017 12:17 PM > > To: Matan Azrad > > Cc: dev@dpdk.org; Ophir Munk > > Subject: Re: [PATCH v3 6/7]

Re: [dpdk-dev] [PATCH v4] bus/pci: fix vfio mode

2017-10-31 Thread Bruce Richardson
On Mon, Oct 30, 2017 at 10:32:27PM +, Ferruh Yigit wrote: > Revert back to using VFIO_PRESENT as a marker to enable compilation > of VFIO-related segments. > > VFIO_PRESENT is the combination of user configuration RTE_EAL_VFIO and > kernel version support check. > > eal_vfio.h VFIO_PRESENT re

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

2017-10-31 Thread Harry van Haaren
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. The fix is to change the num_mapped_cores variable to be an atomic variable. This causes concurrent accesses by multiple t

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

2017-10-31 Thread Verma, Shally
HI Fiona This is an RFC document to brief our understanding and requirements on compression API proposal in DPDK. It is based on "[RFC] Compression API in DPDK http://dpdk.org/ml/archives/dev/2017-October/079377.html";. Intention of this document is to align on concepts built into compression AP

Re: [dpdk-dev] [PATCH v3 6/7] net/mlx4: mitigate Tx path memory barriers

2017-10-31 Thread Matan Azrad
Hi Adrien > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Tuesday, October 31, 2017 12:17 PM > To: Matan Azrad > Cc: dev@dpdk.org; Ophir Munk > Subject: Re: [PATCH v3 6/7] net/mlx4: mitigate Tx path memory barriers > > Hi Matan, > > On Mon, Oct

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

2017-10-31 Thread Jerin Jacob
-Original Message- > Date: Tue, 31 Oct 2017 10:55:15 +0800 > From: Jia He > To: Jerin Jacob > Cc: "Ananyev, Konstantin" , "Zhao, Bing" > , Olivier MATZ , > "dev@dpdk.org" , "jia...@hxt-semitech.com" > , "jie2@hxt-semitech.com" > , "bing.z...@hxt-semitech.com" > , "Richardson, Bru

Re: [dpdk-dev] [PATCH v2 0/6] Remove RTE_ETH_DEV_DETACHABLE

2017-10-31 Thread Alejandro Lucero
I'm afraid the patch introduced a problem for the NFP PMD. I have submitted a patch fixing it: "net/nfp: avoid unplug if multiport" Thanks On Mon, Oct 30, 2017 at 9:45 AM, Alejandro Lucero < alejandro.luc...@netronome.com> wrote: > Hi guys, > > i have been on PTO since the 19th of October. > >

[dpdk-dev] [PATCH] net/nfp: avoid unplug if multiport

2017-10-31 Thread Alejandro Lucero
PF multiport support has some limitations like not allowing plugging or unplugging of single ports as they all belong to same PCI device. A previous patch for removing detachable flag introduced a wrong check. Fixes: 00a3d8104ac5 ("ethdev: remove detachable device flag") Cc: gaetan.ri...@6wind.co

[dpdk-dev] [PATCH 1/2] net/mlx4: fix Rx after updating number of queues

2017-10-31 Thread Adrien Mazarguil
When not in isolated mode, internal flow rules are automatically maintained by the PMD to receive traffic according to global device settings (MAC, VLAN, promiscuous mode and so on). Since RSS support was added to the mix, it must also check whether Rx queue configuration has changed when refreshi

[dpdk-dev] [PATCH 2/2] net/mlx4: fix queue index check on flow rules

2017-10-31 Thread Adrien Mazarguil
Users are not prevented from creating flow rules targeting nonexistent queues, which silently makes such rules drop-like. While it can be thought as a feature, reporting an error instead is actually far more useful in order to catch common mistakes. Fixes: 078b8b452e6b ("net/mlx4: add RSS flow ru

Re: [dpdk-dev] [PATCH v3 6/7] net/mlx4: mitigate Tx path memory barriers

2017-10-31 Thread Adrien Mazarguil
Hi Matan, On Mon, Oct 30, 2017 at 07:47:20PM +, Matan Azrad wrote: > Hi Adrien > > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > > Sent: Monday, October 30, 2017 4:24 PM > > To: Matan Azrad > > Cc: dev@dpdk.org; Ophir Munk > > Subject: Re: [PA

Re: [dpdk-dev] [PATCH v3 5/7] net/mlx4: separate Tx segment cases

2017-10-31 Thread Adrien Mazarguil
On Mon, Oct 30, 2017 at 06:23:31PM +, Matan Azrad wrote: > Hi Adrien > > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > > Sent: Monday, October 30, 2017 4:24 PM > > To: Matan Azrad > > Cc: dev@dpdk.org; Ophir Munk > > Subject: Re: [PATCH v3 5/7]

Re: [dpdk-dev] [PATCH v3 1/7] net/mlx4: remove error flows from Tx fast path

2017-10-31 Thread Adrien Mazarguil
Hi Matan, On Mon, Oct 30, 2017 at 06:11:31PM +, Matan Azrad wrote: > Hi Adrien > > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > > Sent: Monday, October 30, 2017 4:23 PM > > To: Matan Azrad > > Cc: dev@dpdk.org; Ophir Munk > > Subject: Re: [PA

Re: [dpdk-dev] [RFC PATCH 0/4] testpmd: simulating noisy host environment

2017-10-31 Thread Bruce Richardson
On Mon, Oct 30, 2017 at 02:41:05AM -0400, Victor Kaplansky wrote: > > This RFC patch propose enhancements to testpmd to simulate > more realistic behavior of a guest machine engaged in receiving > and sending packets performing Virtual Network Function (VNF). > > The goal is to enable simple of m

Re: [dpdk-dev] [PATCH v2] doc: more clarification for i40e 16 bytes desc

2017-10-31 Thread Bruce Richardson
On Tue, Oct 31, 2017 at 11:40:33AM +0800, Wenzhuo Lu wrote: > The description of i40e 16 bytes descriptor is not clear > enough. Add more details. > > Signed-off-by: Wenzhuo Lu Thanks for the clarification, it's better now. Couple of minor tweaks I would suggest below. Otherwise: Acked-by: Bruc

[dpdk-dev] [PATCH] net/virtio: fix use_msix get the wrong value

2017-10-31 Thread Zhiyong Yang
When running l3fwd-power to test virtio rxq interrupt using vfio pci noiommu mode, startup fails. In the function virtio_read_caps, the code if (flags & PCI_MSIX_ENABLE) intends to double check if vfio msix is enabled or not. However, it is indeed not valid. Come back to l3fwd-power, use_msix is no

Re: [dpdk-dev] [PATCH] net/i40e: fix mirror for new FW

2017-10-31 Thread Xing, Beilei
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, October 31, 2017 10:27 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH] net/i40e: fix mirror for new FW > > Value of I40E_GL_SWR_PRI_JOIN_MAP_0 need to be corrected or mirror > does not wor

Re: [dpdk-dev] [PATCH] doc: fix a typo in ip pipeline app guide

2017-10-31 Thread Dumitrescu, Cristian
> -Original Message- > From: Rosen, Rami > Sent: Saturday, October 28, 2017 8:58 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Rosen, Rami > > Subject: [PATCH] doc: fix a typo in ip pipeline app guide > > This patch fixes a trivial typo in ip pipeline app guide. > > Signed-off-by:

Re: [dpdk-dev] [PATCH v2] test/pmd_perf: fix for segmentation fault

2017-10-31 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Friday, October 27, 2017 6:24 PM > To: dev@dpdk.org > Cc: Mrzyglod, DanielX T ; Liang, Cunming > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] test/pmd_perf: fix for segmentation fault >

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

2017-10-31 Thread 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 --- lib/librte_eal/linuxapp/eal/eal_memory.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-)