Re: [dpdk-dev] [PATCH] doc: update failsafe feature list

2017-11-01 Thread Matan Azrad
Hi Ferruh, Gaetan > -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Thursday, November 2, 2017 12:34 AM > To: Matan Azrad ; Gaetan Rivet > > Cc: dev@dpdk.org; john.mcnam...@intel.com > Subject: Re: [dpdk-dev] [PATCH] doc: update failsafe feature list > > O

[dpdk-dev] [PATCH v2] net/enic: fix TSO for packets greater than 9208 bytes

2017-11-01 Thread John Daley
A check was previously added to drop Tx packets greater than what the Nic is capable of sending since such packets can freeze the send queue. The check did not account for TSO packets however, so TSO was limited to 9208 bytes. Check packet length only for non-TSO packets. Also insure that TSO pack

Re: [dpdk-dev] [PATCH] eventdev: remove experimental label

2017-11-01 Thread Jerin Jacob
-Original Message- > Date: Wed, 1 Nov 2017 14:12:59 + > From: "Eads, Gage" > To: Jerin Jacob > CC: "dev@dpdk.org" , "Richardson, Bruce" > , "Van Haaren, Harry" > , Hemant Agrawal , > Nipun Gupta , "Rao, Nikhil" , > Pavan Nikhilesh , Thomas Monjalon > > Subject: RE: [dpdk-dev] [P

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

2017-11-01 Thread santosh
Hi Ferruh, On Thursday 02 November 2017 05:36 AM, Ferruh Yigit wrote: > 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 f

[dpdk-dev] Please help me to debug memory mis-unmap in ovs-dpdk.

2017-11-01 Thread Sam
Hi all, I'm debugging a mis-unmap bug in ovs-dpdk, process is this: 1. start ovs-dpdk with 10G socket memory, then use `top`, ovs-vswitchd take 10G memory. command is bellow. 2. start qemu vm1 with vhost device as server to connect port on ovs-dpdk, command is bellow. qemu share 40G memory with o

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

2017-11-01 Thread Tan, Jianfeng
On 10/31/2017 5:44 PM, Zhiyong Yang wrote: 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

[dpdk-dev] [PATCH] net/enic: fix TSO for packets greater than 9208 bytes

2017-11-01 Thread John Daley
A check was previously added to drop Tx packets greater than what the Nic is capable of sending since such packets can freeze the send queue. The check did not account for TSO packets however, so TSO was limited to 9208 bytes. Check packet length only for non-TSO packets. Also insure that TSO pack

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

2017-11-01 Thread Yang, Zhiyong
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:y...@fridaylinux.org] > Sent: Wednesday, November 1, 2017 11:40 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; maxime.coque...@redhat.com; Tan, Jianfeng > > Subject: Re: [PATCH] net/virtio: fix use_msix get the wrong value > > On

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

2017-11-01 Thread Jia He
Hi Jerin On 11/2/2017 3:04 AM, Jerin Jacob Wrote: Date: Thu, 2 Nov 2017 00:27:46 +0530 From: Jerin Jacob To: Jia He Cc: "Ananyev, Konstantin" , "Zhao, Bing" , Olivier MATZ , "dev@dpdk.org" , "jia...@hxt-semitech.com" , "jie2@hxt-semitech.com" ,

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

2017-11-01 Thread 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 /dev/null with "icc -o /dev/null" instead of sen

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

2017-11-01 Thread 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 address cause crash in kernel. This is a

Re: [dpdk-dev] [PATCH] doc: update failsafe feature list

2017-11-01 Thread Ferruh Yigit
On 10/25/2017 11:44 AM, Ferruh Yigit wrote: > On 9/23/2017 10:55 PM, Matan Azrad wrote: >> Hi Ferruh >> >>> -Original Message- >>> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] >>> Sent: Friday, September 22, 2017 1:32 PM >>> To: Matan Azrad ; Gaetan Rivet >>> >>> Cc: dev@dpdk.org; jo

Re: [dpdk-dev] [PATCH v2] doc: how to set VF MAC address on ixgbe

2017-11-01 Thread Ferruh Yigit
On 10/23/2017 5:57 PM, Wenzhuo Lu wrote: > Add the description of how to add a MAC address for a VF > from PF on ixgbe. > > Signed-off-by: Wenzhuo Lu Applied to dpdk-next-net/master, thanks.

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

2017-11-01 Thread Stephen Hemminger
On Thu, 2 Nov 2017 04:16:44 +0800 Jeff Guo wrote: > + > +static int > +dev_uev_parse(const char *buf, struct rte_eal_uevent *event) > +{ > + char action[RTE_EAL_UEVENT_MSG_LEN]; > + char subsystem[RTE_EAL_UEVENT_MSG_LEN]; > + char dev_path[RTE_EAL_UEVENT_MSG_LEN]; > + char pci_sl

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

2017-11-01 Thread Stephen Hemminger
On Thu, 2 Nov 2017 04:16:44 +0800 Jeff Guo wrote: > > +/* Map pci device */ > +int > +rte_pci_remap_device(struct rte_pci_device *dev) > +{ > + int ret = -1; Please don't always initialize variables. It is unnecessary, and with modern compilers a bad habit since it defeats the uninitailiz

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

2017-11-01 Thread Ferruh Yigit
On 10/31/2017 8:51 AM, Nelio Laranjeiro wrote: > - 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 oute

[dpdk-dev] [PATCH] net/vmxnet3: fix memory leak when releasing queues

2017-11-01 Thread Chas Williams
From: Chas Williams At the end of the queue release, we can free the containers for the queue objects. Fixes: dfaff37fc46d ("vmxnet3: import new vmxnet3 poll mode driver implementation") Signed-off-by: --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 5 + 1 file changed, 5 insertions(+) diff --

Re: [dpdk-dev] [PATCH] net/dpaa2: set queues after reconfiguration

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 1:16 AM, Hemant Agrawal wrote: > From: Akhil Goyal > > if dpaa2_dev_tx_queue_setup is called multiple times, the > assignment of device->data->tx_queues is not done, as a result > tx_queues remain NULL after reconfiguration. > This patch sets the tx_queues from the device private dat

Re: [dpdk-dev] [PATCH] net/mlx5: fix counter set destroy order

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 10:12 AM, Yongseok Koh wrote: > >> On Oct 30, 2017, at 5:46 AM, Ori Kam wrote: >> >> The counter set should be destroyed only after the flow was destroyed. >> >> Fixes: 9a761de ("net/mlx5: flow counter support") >> Cc: or...@mellanox.com >> >> Signed-off-by: Ori Kam > Acked-by: Yon

Re: [dpdk-dev] [PATCH] net/bonding: fix setting default aggregator mode to stable

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 10:20 AM, Jastrzebski, MichalX K wrote: >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Mrzyglod >> Sent: Friday, October 20, 2017 4:33 PM >> To: Doherty, Declan >> Cc: dev@dpdk.org; Mrzyglod, DanielX T >> Subject: [dpdk-dev] [PATCH] net/b

[dpdk-dev] [PATCH v1] net/failsafe: fix VLAN stripping configuration

2017-11-01 Thread Ophir Munk
failsafe device has vlan stripping configured at startup however once a sub device is found as non-capable of vlan-stripping failsafe updates it configuration and removes vlan stripping from it. This update occurs only once at startup. Following a later plugin attempt and in case of vlan stripping

Re: [dpdk-dev] [PATCH v6 08/10] net/ixgbe: enable inline ipsec

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 12:58 PM, Thomas Monjalon wrote: > Hi, there is compilation error with GCC 4.8.5. > It may be a false positive strict aliasing check. > Please could you check it below? I just get a patch into next-net [1], that should be fixing this build error. [1] http://dpdk.org/browse/next/dpdk-

Re: [dpdk-dev] [PATCH 1/4] testpmd: fix LACP ports to work with idle links

2017-11-01 Thread Ferruh Yigit
On 10/30/2017 6:07 PM, Ferruh Yigit wrote: > On 6/21/2017 6:25 PM, jingjing.wu at intel.com (Wu, Jingjing) wrote: >>> -Original Message- >>> From: rsanford2 at gmail.com >>> Sent: Tuesday, August 2, 2016 4:43 AM >>> Subject: [dpdk-dev] [PATCH 1/4] testpmd: fix LACP ports to work with idle

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

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 4:28 AM, Radu Nicolau wrote: > Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec") > And small performance improvement > > Signed-off-by: Radu Nicolau > Acked-by: Konstantin Ananyev Applied to dpdk-next-net/master, thanks. (Replaced with previous version.)

Re: [dpdk-dev] [PATCH v6 08/10] net/ixgbe: enable inline ipsec

2017-11-01 Thread Thomas Monjalon
Hi, there is compilation error with GCC 4.8.5. It may be a false positive strict aliasing check. Please could you check it below? 25/10/2017 17:07, Akhil Goyal: > From: Radu Nicolau > > Signed-off-by: Radu Nicolau > Signed-off-by: Declan Doherty [...] > --- a/drivers/net/ixgbe/ixgbe_rxtx_vec_

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

2017-11-01 Thread Jerin Jacob
-Original Message- > Date: Wed, 1 Nov 2017 12:48:31 +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, Bruc

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

2017-11-01 Thread Jerin Jacob
Date: Thu, 2 Nov 2017 00:27:46 +0530 From: Jerin Jacob To: Jia He Cc: "Ananyev, Konstantin" , "Zhao, Bing" , Olivier MATZ , "dev@dpdk.org" , "jia...@hxt-semitech.com" , "jie2@hxt-semitech.com" , "bing.z...@hxt-semitech.com" , "Richardso

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

2017-11-01 Thread Yongseok Koh
> On Oct 31, 2017, at 8:51 AM, Nelio Laranjeiro > wrote: > > 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.o

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

2017-11-01 Thread Yongseok Koh
> On Oct 31, 2017, at 8:51 AM, Nelio Laranjeiro > wrote: > > 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

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

2017-11-01 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

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

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 1:53 AM, Tan, Jianfeng wrote: > > >> -Original Message- > ... >>> Regarding the KNI crash, it can be avoid by first checking the exiting mode(rte_eal_iova_mode()). i.e since legacy driver like KNI need real physical address to work "now", it can grace full exit

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

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 4:06 AM, santosh wrote: > > On Wednesday 01 November 2017 04:01 PM, Thomas Monjalon wrote: >> 01/11/2017 02:07, 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 p

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

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 3:31 AM, Thomas Monjalon wrote: > 01/11/2017 02:07, 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 I

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

2017-11-01 Thread Van Haaren, Harry
> From: Richardson, Bruce > Sent: Wednesday, November 1, 2017 5:09 PM > To: Van Haaren, Harry > Cc: dev@dpdk.org; pbhagavat...@caviumnetworks.com; tho...@monjalon.net > Subject: Re: [dpdk-dev] [PATCH] service: fix race in service on app lcore > function > > On Tue, Oct 31, 2017 at 11:49:02AM +000

Re: [dpdk-dev] [PATCH] net/bonding: fix setting default aggregator mode to stable

2017-11-01 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Mrzyglod > Sent: Friday, October 20, 2017 4:33 PM > To: Doherty, Declan > Cc: dev@dpdk.org; Mrzyglod, DanielX T > Subject: [dpdk-dev] [PATCH] net/bonding: fix setting default aggregator > mode to stable >

Re: [dpdk-dev] [PATCH] net/mlx5: fix counter set destroy order

2017-11-01 Thread Yongseok Koh
> On Oct 30, 2017, at 5:46 AM, Ori Kam wrote: > > The counter set should be destroyed only after the flow was destroyed. > > Fixes: 9a761de ("net/mlx5: flow counter support") > Cc: or...@mellanox.com > > Signed-off-by: Ori Kam > --- Acked-by: Yongseok Koh Thanks

Re: [dpdk-dev] [PATCH v3 01/19] Revert "vhost: workaround MQ fails to startup"

2017-11-01 Thread Kavanagh, Mark B
Hi Maxime, First off, apologies for the lateness of this reply - I realize that this patch has already been upstreamed. Unfortunately, during OvS-DPDK regression testing for DPDK v17.11-rc2 just today, a regression involving vHost multiq was detected, and pinpointed to this patch. Version inf

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

2017-11-01 Thread Bruce Richardson
On Tue, Oct 31, 2017 at 11:49:02AM +, 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. > > The fix is to change the num_mapped_cores vari

Re: [dpdk-dev] [dpdk-announce] release candidate 17.11-rc2

2017-11-01 Thread Bruce Richardson
On Fri, Oct 27, 2017 at 02:26:52AM +0200, Thomas Monjalon wrote: > A new DPDK release candidate is ready for testing: > http://dpdk.org/browse/dpdk/tag/?id=v17.11-rc2 > > What's new in RC2? > - igb_uio reset fixed > - EAL PCI moved to driver and lib > - Rx offload API for t

[dpdk-dev] [PATCH 6/6] net/ixgbe: Enable port representor PMD and broker for ixgbe PMD driver

2017-11-01 Thread Mohammad Abdul Awal
Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- drivers/net/ixgbe/Makefile | 1 + drivers/net/ixgbe/ixgbe_ethdev.c | 22 +++- drivers/net/ixgbe/ixgbe_ethdev.h | 6 + drivers/net/ixgbe/ixgbe_prep_ops.c | 250 +++

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/virtio: fix memory leak

2017-11-01 Thread Yuanhan Liu
On Wed, Nov 01, 2017 at 11:33:51PM +0800, Yuanhan Liu wrote: > On Fri, Oct 27, 2017 at 11:54:09AM +0800, Pengzhen Liu wrote: > > In function eth_virtio_dev_init(), dynamic memory stored > > in "eth_dev->data->mac_addrs" variable and it is not freed > > when function return, > > this is a possible m

[dpdk-dev] [PATCH 5/6] net/i40e: Enable port representor PMD and broker for fortville PMD driver

2017-11-01 Thread Mohammad Abdul Awal
Signed-off-by: Mohammad Abdul Awal Signed-off-by: Remy Horton Signed-off-by: Declan Doherty --- drivers/net/i40e/Makefile| 1 + drivers/net/i40e/i40e_ethdev.c | 16 ++ drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_prep_ops.c | 472 +

[dpdk-dev] [PATCH 4/6] net/representor: Implement port representor PMD

2017-11-01 Thread Mohammad Abdul Awal
Representor PMD is a virtual PMD which provides a logical representation in DPDK for ports of a multi port device. This supports configuration, management, and monitoring of VFs of a physical function bound to a userspace control plane application. Signed-off-by: Mohammad Abdul Awal Signed-off-by

[dpdk-dev] [PATCH 3/6] eal: added --enable-representor command line argument in EAL to load representor broker infrastructure

2017-11-01 Thread Mohammad Abdul Awal
Signed-off-by: Mohammad Abdul Awal Signed-off-by: Declan Doherty --- lib/librte_eal/bsdapp/eal/eal.c| 6 ++ lib/librte_eal/common/eal_common_options.c | 1 + lib/librte_eal/common/eal_internal_cfg.h | 2 ++ lib/librte_eal/common/eal_options.h| 2 ++ lib/librte_eal/commo

[dpdk-dev] [PATCH 1/6] ethdev: added switch_domain and representor port flag

2017-11-01 Thread Mohammad Abdul Awal
switch_domain attribute has been added to specify that a rte_eth_dev instance belongs to a switch domain in the software switch. RTE_ETH_DEV_REPRESENTOR_PORT has been defined to specify that a rte_eth_dev instance is a representor device. Signed-off-by: Mohammad Abdul Awal Signed-off-by: Declan

[dpdk-dev] [PATCH 2/6] lib/representor: port representor library to manage broker infrastructure and representor PMDs

2017-11-01 Thread Mohammad Abdul Awal
The library provides the broker infrastructure to be instantiated by base driver and corresponding methods to manage the broker infrastructure. The broker keeps records of list of representor PMDs. The library also provides methods to manage the representor PMDs by the broker. Signed-off-by: Moham

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

2017-11-01 Thread Yuanhan Liu
On Tue, Oct 31, 2017 at 05:44:56PM +0800, Zhiyong Yang wrote: > When running l3fwd-power to test virtio rxq interrupt using vfio > pci noiommu mode, startup fails. What errors have you met? > In the function virtio_read_caps, > the code if (flags & PCI_MSIX_ENABLE) intends to double check > if vf

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/virtio: fix memory leak

2017-11-01 Thread Yuanhan Liu
On Fri, Oct 27, 2017 at 11:54:09AM +0800, Pengzhen Liu wrote: > In function eth_virtio_dev_init(), dynamic memory stored > in "eth_dev->data->mac_addrs" variable and it is not freed > when function return, > this is a possible memory leak. > > Fixes: 8ced1542f7a3 ("net/virtio: eth_dev->data->mac_a

Re: [dpdk-dev] [PATCH] eventdev: remove experimental label

2017-11-01 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, October 30, 2017 12:38 PM > To: Eads, Gage > Cc: dev@dpdk.org; Richardson, Bruce ; Van > Haaren, Harry ; Hemant Agrawal > ; Nipun Gupta ; Rao, > Nikhil ; Pavan Nikhilesh > ; Thomas Monjalon >

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

2017-11-01 Thread Stephen Hemminger
On Wed, 1 Nov 2017 06:58:53 + "Mody, Rasesh" wrote: > 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,

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

2017-11-01 Thread Dumitrescu, Cristian
> -Original Message- > From: Jianbo Liu [mailto:jianbo@arm.com] > Sent: Monday, October 30, 2017 3:33 AM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: Re: [PATCH] examples/ip_pipeline: avoid the failure of creating hash > table > > The 10/27/2017 10:01, Dumitrescu, Cristi

[dpdk-dev] [PATCH] examples/flow_classify: fix fseek error handling

2017-11-01 Thread Bernard Iremonger
Check return value of fseek and exit if non zero. Coverity issue: 143435 Fixes: bab16ddaf2c1 ("examples/flow_classify: add sample application") Signed-off-by: Bernard Iremonger --- examples/flow_classify/flow_classify.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a

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

2017-11-01 Thread Radu Nicolau
Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec") And small performance improvement Signed-off-by: Radu Nicolau Acked-by: Konstantin Ananyev --- v2: fixed build on gcc 4.8.5 drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 80 +- 1 file changed, 31 insertions(+),

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

2017-11-01 Thread santosh
On Wednesday 01 November 2017 04:01 PM, Thomas Monjalon wrote: > 01/11/2017 02:07, 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 o

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

2017-11-01 Thread Thomas Monjalon
01/11/2017 02:07, 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 intens

[dpdk-dev] [PATCH v3] examples/flow_filtering: demo of simple rte flow

2017-11-01 Thread Ori Kam
This application shows a simple usage of the rte_flow API for hardware filtering offloading. In this demo we are filtering specific IP to specific target queue, while sending all the rest of the packets to other queue. Signed-off-by: Ori Kam --- v3: * Fix the position of the example doc accord

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

2017-11-01 Thread Tan, Jianfeng
> -Original Message- ... > > > > > Regarding the KNI crash, it can be avoid by first checking the exiting > > > mode(rte_eal_iova_mode()). i.e since legacy driver like KNI need real > > > physical address to work "now", it can grace full exit on the init time if > > > mode == IOVA_VA; > >

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

2017-11-01 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 | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/

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

2017-11-01 Thread Jerin Jacob
-Original Message- > Date: Wed, 1 Nov 2017 15:39:01 +0800 > From: "Tan, Jianfeng" > To: Jerin Jacob , Ferruh Yigit > > CC: Thomas Monjalon , Bruce Richardson > , Sergio Gonzalez Monroy > , dev@dpdk.org, Santosh Shukla > > Subject: Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detecti

[dpdk-dev] [PATCH] net/dpaa2: set queues after reconfiguration

2017-11-01 Thread Hemant Agrawal
From: Akhil Goyal if dpaa2_dev_tx_queue_setup is called multiple times, the assignment of device->data->tx_queues is not done, as a result tx_queues remain NULL after reconfiguration. This patch sets the tx_queues from the device private data to the usable device tx queues. Fixes: 7ae777d064e8 (

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

2017-11-01 Thread Ferruh Yigit
On 10/31/2017 11:54 PM, Jerin Jacob wrote: > -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: R

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

2017-11-01 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 1, 2017 3:29 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-11-01 Thread Tan, Jianfeng
On 11/1/2017 2:54 PM, Jerin Jacob wrote: -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]

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

2017-11-01 Thread Ferruh Yigit
On 10/31/2017 11:37 PM, Tan, Jianfeng wrote: > > >> -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: