[dpdk-dev] [PATCH] bnx2x: tx_start_bd->vlan_or_ethertype is le16

2015-12-02 Thread Thomas Monjalon
2015-12-01 14:37, Stephen Hemminger: > Harish Patil wrote: > > >2015-11-03 12:26, Chas Williams: > > >> --- a/drivers/net/bnx2x/bnx2x.c > > >> +++ b/drivers/net/bnx2x/bnx2x.c > > >> -tx_start_bd->vlan_or_ethertype = > > >> eh->ether_type; > > >> +

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Yoshinobu Inoue
Hello Bruce, > Hi, > > that is indeed very similar to what we are thinking ourselves. Is there any of > what you have already done that you could contribute publically to save us > duplicating some of your effort? [The one big difference, is that we are not > thinking of enabling kni permanently

[dpdk-dev] [ovs-dev] OVS with DPDK Meetup notes

2015-12-02 Thread Loftus, Ciara
> > > > On Thu, Nov 26, 2015 at 05:56:08PM +, Traynor, Kevin wrote: > > > Hi All, > > > > > > Just wanted to post some summary notes on the recent OVS with DPDK > Meetup > > we > > > had after the OVS conference. Thanks to everyone for the often lively > > discussion. > > > I've collated and co

[dpdk-dev] [PATCH] bnx2x: tx_start_bd->vlan_or_ethertype is le16

2015-12-02 Thread Thomas Monjalon
2015-12-01 18:58, Charles Williams: > On Wed, 2015-12-02 at 00:34 +0100, Thomas Monjalon wrote: > > 2015-12-01 14:37, Stephen Hemminger: > > > Harish Patil wrote: > > > > >2015-11-03 12:26, Chas Williams: > > > > >> --- a/drivers/net/bnx2x/bnx2x.c > > > > >> +++ b/drivers/net/bnx2x/bnx2x.c > >

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Wiles, Keith
On 12/1/15, 10:54 AM, "dev on behalf of Richardson, Bruce" wrote: > > >> -Original Message- >> From: Aaron Conole [mailto:aconole at redhat.com] >> Sent: Tuesday, December 1, 2015 3:31 PM >> To: Richardson, Bruce >> Cc: Panu Matilainen ; dev at dpdk.org >> Subject: Re: [dpdk-dev] 2.3 Roa

[dpdk-dev] [PATCH v2] lib/librte_sched: Fix compile with gcc 4.3.4

2015-12-02 Thread Michael Qiu
gcc 4.3.4 does not include "immintrin.h", and will post below error: lib/librte_sched/rte_sched.c:56:23: error: immintrin.h: No such file or directory To avoid this issue, a gcc version check is need and a flag to indicate vector ablility. Fixes: 42ec27a0178a ("sched: enable SSE optimizat

[dpdk-dev] [PATCH v2] lib/librte_sched: Fix compile with gcc 4.3.4

2015-12-02 Thread Thomas Monjalon
2015-12-02 10:09, Michael Qiu: > gcc 4.3.4 does not include "immintrin.h", and will post below error: > lib/librte_sched/rte_sched.c:56:23: error: > immintrin.h: No such file or directory This compiler issue is fixed with rte_vect.h. > To avoid this issue, a gcc version check is need and

[dpdk-dev] [PATCH] hash: add rte_hash_set_cmp_func() function to DPDK_2.2.

2015-12-02 Thread Yu Nemo Wenbin
Give user a chance to customize the hash key compare function. The default rte_hash_cmp_eq function is set in the rte_hash_create function, but these builtin ones may not be good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash/rte_

[dpdk-dev] [PATCH v2] lib/librte_sched: Fix compile with gcc 4.3.4

2015-12-02 Thread Qiu, Michael
I will make v3 patch to fix the issue. Thanks, Michael On 2015/12/2 10:19, Thomas Monjalon wrote: > 2015-12-02 10:09, Michael Qiu: >> gcc 4.3.4 does not include "immintrin.h", and will post below error: >> lib/librte_sched/rte_sched.c:56:23: error: >> immintrin.h: No such file or director

[dpdk-dev] [PATCH v3] lib/librte_sched: Fix compile with gcc 4.3.4

2015-12-02 Thread Michael Qiu
gcc 4.3.4 does not include "immintrin.h", and will post below error: lib/librte_sched/rte_sched.c:56:23: error: immintrin.h: No such file or directory This compiler issue is fixed with rte_vect.h There is another issue, need SSE2 support Fixes: 42ec27a0178a ("sched: enable SSE optimizati

[dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support

2015-12-02 Thread Yuanhan Liu
This patch set adds the initial vhost-user live migration support. The major task behind that is to log pages we touched during live migration. So, this patch is basically about adding vhost log support, and using it. Patchset - Patch 1 handles VHOST_USER_SET_LOG_BASE, which tells us whe

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Yuanhan Liu
VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk vhost-user) where we should log dirty pages, and how big the log buffer is. This request introduces a new payload: typedef struct VhostUserLog { uint64_t mmap_size; uint64_t mmap_offset;

[dpdk-dev] [PATCH 2/4] vhost: introduce vhost_log_write

2015-12-02 Thread Yuanhan Liu
Introduce vhost_log_write() helper function to log the dirty pages we touched. Page size is harded code to 4096 (VHOST_LOG_PAGE), and each log is presented by 1 bit. Therefore, vhost_log_write() simply finds the right bit for related page we are gonna change, and set it to 1. dev->log_base denotes

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Yuanhan Liu
Invoking vhost_log_write() to mark corresponding page as dirty while updating used vring. Signed-off-by: Yuanhan Liu --- lib/librte_vhost/vhost_rxtx.c | 74 +-- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b

[dpdk-dev] [PATCH 4/4] vhost: enable log_shmfd protocol feature

2015-12-02 Thread Yuanhan Liu
To claim that we support vhost-user live migration support: SET_LOG_BASE request will be send only when this feature flag is set. Besides this flag, we actually need another feature flag set to make vhost-user live migration work: VHOST_F_LOG_ALL. Which, however, has been enabled long time ago. S

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Thomas Monjalon
Following the recent discussions, this is a proposal to have a standard installation process while keeping compatibility with most of the old behaviours. Thank you Mario and Bruce for having submitted other proposals. I hope there will be a strong consensus for this one. The doc and pkg/dpdk.spec a

[dpdk-dev] [PATCH 01/10] mk: remove multi-target install

2015-12-02 Thread Thomas Monjalon
The multi-target install create some subdirectories with the target name which is not standard for a "make install" procedure. The uninstall procedure cannot be applied properly (without removing all files in a directory). It would need to pre-compute paths. As it is a packaging issue, it is remov

[dpdk-dev] [PATCH 02/10] mk: move installation procedure in install rule

2015-12-02 Thread Thomas Monjalon
The real installation was called "binary install" and was done after the build when DESTDIR was specified. Remove this limitation and move the code in install rule only. Signed-off-by: Thomas Monjalon --- mk/rte.sdkbuild.mk | 16 mk/rte.sdkinstall.mk | 21 ++---

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Thomas Monjalon
The rule "install" follows these conventions: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html https://www.gnu.org/prep/standards/html_node/DESTDIR.html The variable sdkdir has been added to the more standards ones, to configure the directory used with RTE_SDK when using the D

[dpdk-dev] [PATCH 04/10] mk: introduce new install syntax

2015-12-02 Thread Thomas Monjalon
The old install command was: make install T=x86_64-native-linuxapp-gcc DESTDIR=install It still works and can be replaced by these more standard commands: make config T=x86_64-native-linuxapp-gcc 0=x86_64-native-linuxapp-gcc make O=x86_64-native-linuxapp-gcc make ins

[dpdk-dev] [PATCH 05/10] mk: split install rule

2015-12-02 Thread Thomas Monjalon
Provides new sub-rules to install runtime and sdk separately. The build directory must be changed from BUILD_DIR to O in install rules to avoid a bad recursive effect (O being BUILD_DIR being O + T). Suggested-by: Mario Carrillo Signed-off-by: Thomas Monjalon --- mk/rte.sdkinstall.mk | 18

[dpdk-dev] [PATCH 06/10] mk: install kernel modules

2015-12-02 Thread Thomas Monjalon
Add kernel modules to "make install". Nothing is done if there is no kernel module compiled. On native Linux, this path is suggested: kerneldir=/lib/modules/$(uname -r)/extra/dpdk Suggested-by: Mario Carrillo Signed-off-by: Thomas Monjalon --- mk/rte.sdkinstall.mk | 8 1 file

[dpdk-dev] [PATCH 07/10] mk: install binding tool in sbin directory

2015-12-02 Thread Thomas Monjalon
sbin/dpdk_nic_bind is a symbolic link to tools/dpdk_nic_bind.py where some python objects may be generated. Signed-off-by: Thomas Monjalon --- mk/rte.sdkinstall.mk | 4 1 file changed, 4 insertions(+) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 46253ff..d6df30c 100644 --

[dpdk-dev] [PATCH 08/10] mk: install doc

2015-12-02 Thread Thomas Monjalon
The HTML API and HTML/PDF guides may be installed if generated. Signed-off-by: Thomas Monjalon --- mk/rte.sdkinstall.mk | 11 +++ 1 file changed, 11 insertions(+) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index d6df30c..6a26d5b 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/r

[dpdk-dev] [PATCH 09/10] mk: install examples

2015-12-02 Thread Thomas Monjalon
The examples are part of the installed documentation. Signed-off-by: Thomas Monjalon --- mk/rte.sdkinstall.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 6a26d5b..e151c46 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -13

[dpdk-dev] [PATCH 10/10] app/proc_info: rename binary with prefix

2015-12-02 Thread Thomas Monjalon
In order to be installed system-wise, this application needs a prefix. So it makes clear that it is DPDK related. Signed-off-by: Thomas Monjalon --- app/proc_info/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proc_info/Makefile b/app/proc_info/Makefile index 24

[dpdk-dev] Unable to run qos_meter sample application

2015-12-02 Thread ravulakollu.ku...@wipro.com
Hi all, I am running qos_meter sample application inside VM which is broghut up with vhost-cuse interfaces. Inside VM Loaded uio, igb_uio modules. Bound two interfaces to DPDK (eth0,eth1), started running qos_meter app. Below is the error I am getting . [root at localhost qos_meter]# ./build/qo

[dpdk-dev] [PATCH] examples/vhost: add rate statistics for rx/tx and core

2015-12-02 Thread Jianfeng Tan
Currently, we only have aggregated statistics. This seems not obvious to show how fast rx/tx and how busy of each core. This patch adds rx/tx rate of each period of option --stat. And also a simple core busy rate is added to show how many rounds are really processing packets in all rounds of circu

[dpdk-dev] [PATCH] examples/vhost: add rate statistics for rx/tx and core

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 06:32:54AM +0800, Jianfeng Tan wrote: > Currently, we only have aggregated statistics. This seems not > obvious to show how fast rx/tx and how busy of each core. > > This patch adds rx/tx rate of each period of option --stat. > And also a simple core busy rate is added to s

[dpdk-dev] [PATCH 2/4] eal/acl: enable acl for armv7-a

2015-12-02 Thread Jianbo Liu
On 1 December 2015 at 22:46, Jan Viktorin wrote: > On Tue, 1 Dec 2015 20:13:49 +0530 > Jerin Jacob wrote: > >> > enum rte_acl_classify_alg alg = RTE_ACL_CLASSIFY_DEFAULT; >> > >> > -#ifdef RTE_ARCH_ARM64 >> > +#if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) >> > alg = RTE_ACL_CLASSI

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 00:41, Jerin Jacob wrote: > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: >> Adds ARM NEON support for lpm. >> And enables table/pipeline libraries which depend on lpm. > > I already sent the patch on the same yesterday. > We can converge the patches after the

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > Following the recent discussions, this is a proposal to have a standard > installation process while keeping compatibility with most of the old > behaviours. > Thank you Mario and Bruce for having submitted other proposals. > I hope there will be a s

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: > On 2 December 2015 at 00:41, Jerin Jacob > wrote: > > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: > >> Adds ARM NEON support for lpm. > >> And enables table/pipeline libraries which depend on lpm. > > > > I already sent

[dpdk-dev] Query on Filtering Support in DPDK

2015-12-02 Thread Rahul Lakkireddy
Hi Thomas, On Monday, November 11/30/15, 2015 at 05:43:18 -0800, Thomas Monjalon wrote: > Hi, > > 2015-11-30 18:19, Rahul Lakkireddy: > > 1. Add a new action 'switch' that will: > >* Allow re-direction to different ports in hardware. > > > >Also, for such a rule, additionally support bel

[dpdk-dev] [PATCH] hash: add rte_hash_set_cmp_func() function to DPDK_2.2.

2015-12-02 Thread De Lara Guarch, Pablo
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yu Nemo Wenbin > Sent: Wednesday, December 02, 2015 2:19 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] hash: add rte_hash_set_cmp_func() function > to DPDK_2.2. > > Give user a chance to customize

[dpdk-dev] [PATCH 0/3] replace bzero with memset

2015-12-02 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Wednesday, December 02, 2015 3:24 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/3] replace bzero with memset > > The DPDK is mostly consistent about using the POSIX standa

[dpdk-dev] [ovs-dev] OVS with DPDK Meetup notes

2015-12-02 Thread Gray, Mark D
> > > > I agree, it should simplify the code a lot. Ciara reviewed it and did > > a quick integration to see if the api would work. The patch was > > churning quite a bit, so we decided to hold off doing any more work > > with it for the time being. > > Correct, the vHost PMD really cleans things

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Thomas Monjalon
2015-12-02 09:44, Panu Matilainen: > That aside, a bigger problem is that it doesn't seem to work. > > make clean > make config T=x86_64-native-linuxapp-gcc > make > make install DESTDIR=/tmp/dpdk-root Oh, I forgot to test the simple case where O= is not specified! It should be fixed with this c

[dpdk-dev] [PATCH v8 00/11] Add installation rules for dpdk files.

2015-12-02 Thread Panu Matilainen
On 12/01/2015 09:39 PM, Mario Carrillo wrote: > DPDK package lacks of a mechanism to install libraries, headers > applications, kernel modules and sdk files to a file system tree. > This patch set allows to install files based on the next > proposal: > http://www.freedesktop.org/software/systemd/ma

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Panu Matilainen
On 12/02/2015 11:25 AM, Thomas Monjalon wrote: > 2015-12-02 09:44, Panu Matilainen: >> That aside, a bigger problem is that it doesn't seem to work. >> >> make clean >> make config T=x86_64-native-linuxapp-gcc >> make >> make install DESTDIR=/tmp/dpdk-root > > Oh, I forgot to test the simple case w

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 16:03, Jerin Jacob wrote: > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: >> On 2 December 2015 at 00:41, Jerin Jacob >> wrote: >> > On Tue, Dec 01, 2015 at 01:41:15PM -0500, Jianbo Liu wrote: >> >> Adds ARM NEON support for lpm. >> >> And enables table/pipel

[dpdk-dev] [PATCH 06/10] mk: install kernel modules

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > Add kernel modules to "make install". > Nothing is done if there is no kernel module compiled. > > On native Linux, this path is suggested: > kerneldir=/lib/modules/$(uname -r)/extra/dpdk > > Suggested-by: Mario Carrillo > Signed-off-by: Thoma

[dpdk-dev] [PATCH 07/10] mk: install binding tool in sbin directory

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > sbin/dpdk_nic_bind is a symbolic link to tools/dpdk_nic_bind.py > where some python objects may be generated. > > Signed-off-by: Thomas Monjalon > --- > mk/rte.sdkinstall.mk | 4 > 1 file changed, 4 insertions(+) > > diff --git a/mk/rte.sdki

[dpdk-dev] [PATCH 00/10] standard make install

2015-12-02 Thread Thomas Monjalon
2015-12-02 11:47, Panu Matilainen: > On 12/02/2015 11:25 AM, Thomas Monjalon wrote: > > 2015-12-02 09:44, Panu Matilainen: > >> That aside, a bigger problem is that it doesn't seem to work. > >> > >> make clean > >> make config T=x86_64-native-linuxapp-gcc > >> make > >> make install DESTDIR=/tmp/d

[dpdk-dev] [PATCH 06/10] mk: install kernel modules

2015-12-02 Thread Thomas Monjalon
2015-12-02 11:53, Panu Matilainen: > On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > > Add kernel modules to "make install". > > Nothing is done if there is no kernel module compiled. > > > > On native Linux, this path is suggested: > > kerneldir=/lib/modules/$(uname -r)/extra/dpdk [...] > > +

[dpdk-dev] [PATCH] bnx2x: tx_start_bd->vlan_or_ethertype is le16

2015-12-02 Thread Charles (Chas) Williams
On Wed, 2015-12-02 at 02:04 +0100, Thomas Monjalon wrote: > 2015-12-01 18:58, Charles Williams: > > On Wed, 2015-12-02 at 00:34 +0100, Thomas Monjalon wrote: > > > 2015-12-01 14:37, Stephen Hemminger: > > > > Harish Patil wrote: > > > > > >2015-11-03 12:26, Chas Williams: > > > > > >> --- a/dri

[dpdk-dev] [PATCH v5] ip_pipeline: add more functions to routing-pipeline

2015-12-02 Thread Jasvinder Singh
This patch adds following features to the routing-pipeline to enable it for various NFV use-cases; 1.Fast-path ARP table enable/disable 2.Double-tagged VLAN (Q-in-Q) packet enacapsulation for the next-hop 3.MPLS encapsulation for the next-hop 4.Add colour (Traffic-class for QoS) to the MPLS tag 5.

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > The rule "install" follows these conventions: > https://www.gnu.org/prep/standards/html_node/Directory-Variables.html > https://www.gnu.org/prep/standards/html_node/DESTDIR.html > > The variable sdkdir has been added to the more standards ones, > to

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Ananyev, Konstantin
Hi everyone, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu > Sent: Wednesday, December 02, 2015 9:50 AM > To: Jerin Jacob > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs > > On 2 December 2015

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: > On 2 December 2015 at 16:03, Jerin Jacob > wrote: > > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: > >> On 2 December 2015 at 00:41, Jerin Jacob >> caviumnetworks.com> wrote: > >> > On Tue, Dec 01, 2015 at 01:41:15PM -0

[dpdk-dev] [PATCH] bnx2x: tx_start_bd->vlan_or_ethertype is le16

2015-12-02 Thread Thomas Monjalon
2015-12-02 05:18, Charles Williams: > On Wed, 2015-12-02 at 02:04 +0100, Thomas Monjalon wrote: > > 2015-12-01 18:58, Charles Williams: > > > On Wed, 2015-12-02 at 00:34 +0100, Thomas Monjalon wrote: > > > > 2015-12-01 14:37, Stephen Hemminger: > > > > > Harish Patil wrote: > > > > > > >2015-11-

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 10:33:44AM +, Ananyev, Konstantin wrote: > Hi everyone, > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jianbo Liu > > Sent: Wednesday, December 02, 2015 9:50 AM > > To: Jerin Jacob > > Cc: dev at dpdk.org > > Subject: Re: [d

[dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation

2015-12-02 Thread Ferruh Yigit
On Thu, Nov 26, 2015 at 09:55:17AM +, Mrzyglod, DanielX T wrote: > > > >-Original Message- > >From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > >Sent: Wednesday, November 25, 2015 7:08 PM > > > >2015-11-25 19:03, Daniel Mrzyglod: > >> definition of 'AF_INET' enum was missi

[dpdk-dev] [PATCH v2] examples/bond: fix bsd compile error

2015-12-02 Thread Yigit, Ferruh
On Thu, Nov 26, 2015 at 09:52:15AM +, Mrzyglod, DanielX T wrote: > >-Original Message- > >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit > >Sent: Wednesday, November 25, 2015 6:41 PM > >To: dev at dpdk.org > >Subject: [dpdk-dev] [PATCH v2] examples/bond: fix bsd co

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Neil Horman
On Tue, Dec 01, 2015 at 03:48:54PM +0100, Vincent JARDIN wrote: > On 01/12/2015 15:27, Panu Matilainen wrote: > >The problem with that (unless I'm missing something here) is that KNI > >requires using out-of-tree kernel modules which makes it pretty much a > >non-option for distros. > > It works f

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Thomas Monjalon
2015-12-02 12:27, Panu Matilainen: > On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > > The old installed tree was static and always had .config, includes and > > libs in a RTE_TARGET subdirectory. There is no such directory anymore in > > an installed SDK. So the top directory is checked. > > But

[dpdk-dev] [PATCH] mk: fix the combined library problems by replacing it with a linker script

2015-12-02 Thread Neil Horman
On Tue, Dec 01, 2015 at 12:37:37PM +, Robie Basak wrote: > Re-sending this unsigned since the ML rejected my signed email. > > -1 from Ubuntu without further discussion since it will break us. Please > don't commit this patch yet. > > I don't understand why we must have the complexity of so m

[dpdk-dev] [PATCH] app/test: fix memory_autotest integer overflow/wraparound

2015-12-02 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Tuesday, November 17, 2015 3:39 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] app/test: fix memory_autotest integer > overflow/wraparound > > memory_autotest loops inf

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Bruce Richardson
On Tue, Dec 01, 2015 at 02:49:46PM -0500, Matthew Hall wrote: > On Tue, Dec 01, 2015 at 01:57:39PM +, Bruce Richardson wrote: > > Hi Matthew, > > > > Couple of follow-up questions on this: > > * do you need the exact same number of bits in both implementations? If we > > support > > 21 bits o

[dpdk-dev] [PATCH] mk: Make XEN_PMD build in combined library mode

2015-12-02 Thread Christian Ehrhardt
Building RTE_LIBRTE_PMD_XENVIRT was broken when RTE_BUILD_COMBINE_LIBS was enabled (http://dpdk.org/ml/archives/dev/2015-November/028660.html). Now the underlying issue is rather simple, the xen code needs libxenstore. But rte.app.mk so far only considered that when RTE_BUILD_COMBINE_LIBS was disab

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Panu Matilainen
On 12/02/2015 01:25 PM, Thomas Monjalon wrote: > 2015-12-02 12:27, Panu Matilainen: >> On 12/02/2015 05:57 AM, Thomas Monjalon wrote: >>> The old installed tree was static and always had .config, includes and >>> libs in a RTE_TARGET subdirectory. There is no such directory anymore in >>> an instal

[dpdk-dev] [PATCH] maintainers: claim responsability

2015-12-02 Thread Sergio Gonzalez Monroy
Claim responsability for: - Secondary Process as maintainer. - FreeBSD EAL, FreeBSD contigmem and FreeBSD UIO as co-maintainer. Signed-off-by: Sergio Gonzalez Monroy --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4478862..51da877 100644 --

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Thomas Monjalon
2015-12-02 14:54, Panu Matilainen: > On 12/02/2015 01:25 PM, Thomas Monjalon wrote: > > 2015-12-02 12:27, Panu Matilainen: > >> $(prefix)/share is supposed to be shareable across different > >> architectures. Most of the content here is, but at least the lib symlink > >> and .config file are not. >

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jan Viktorin
On Wed, 2 Dec 2015 16:09:06 +0530 Jerin Jacob wrote: > > > [snip] > > > IMO, it's not always good to emulate GCC defined intrinsics of > > > other architecture. What if a legacy DPDK application has such mappings > > > then BOOM, multiple definition, which one is correct? which one > > > to comme

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jan Viktorin
On Wed, 2 Dec 2015 16:18:13 +0530 Jerin Jacob wrote: > > > [snip] > > > > My preference would also be to put architecture dependent implementation > > into different files. > > Might be create lib/librte_lpm/arch/(arm|x86)/... here? > > Konstantin > > +1 > > my existing patch creates lib/

[dpdk-dev] Bond port with multiple queues

2015-12-02 Thread Sergey Balabanov
Hello, I configured a bond port with 2 rx queues on it and added 2 slaves into the bond port. When I run traffic I get all packets on queue #0. This is quite expected when RSS turned off. When I turn on RSS all packets are distributed between two rx queues. There is no guarantee that I will get

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jianbo Liu
On 2 December 2015 at 18:39, Jerin Jacob wrote: > On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: >> On 2 December 2015 at 16:03, Jerin Jacob >> wrote: >> > On Wed, Dec 02, 2015 at 02:54:52PM +0800, Jianbo Liu wrote: >> >> On 2 December 2015 at 00:41, Jerin Jacob > >> caviumnetworks

[dpdk-dev] [PATCH 03/10] mk: install a standard cutomizable tree

2015-12-02 Thread Panu Matilainen
On 12/02/2015 03:05 PM, Thomas Monjalon wrote: > 2015-12-02 14:54, Panu Matilainen: >> On 12/02/2015 01:25 PM, Thomas Monjalon wrote: >>> 2015-12-02 12:27, Panu Matilainen: $(prefix)/share is supposed to be shareable across different architectures. Most of the content here is, but at leas

[dpdk-dev] [PATCH 0/3] add lpm support for NEON

2015-12-02 Thread Jan Viktorin
Hello Jerin, thank you for this patch series. Please CC me next time when doing an ARM-related changes. It took me a while to find the related e-mails on the mail server. On Mon, 30 Nov 2015 22:54:10 +0530 Jerin Jacob wrote: > - Introduce new rte_vect_* abstractions in eal > - This patch set ha

[dpdk-dev] [PATCH 1/3] eal: introduce rte_vect_* abstractions

2015-12-02 Thread Jan Viktorin
On Mon, 30 Nov 2015 22:54:11 +0530 Jerin Jacob wrote: > introduce rte_vect_* abstractions to remove SSE/AVX specific > code in the common code(i.e the test applications) > > The patch does not provide any functional change for IA, the goal is to Does IA mean Intel Architecture? > have infrastr

[dpdk-dev] [PATCH 2/3] lpm: add support for NEON

2015-12-02 Thread Jan Viktorin
On Mon, 30 Nov 2015 22:54:12 +0530 Jerin Jacob wrote: > enabled CONFIG_RTE_LIBRTE_LPM, CONFIG_RTE_LIBRTE_TABLE, > CONFIG_RTE_LIBRTE_PIPELINE libraries for arm64. > > TABLE, PIPELINE libraries were disabled due to LPM library dependency. > > Signed-off-by: Jerin Jacob > --- > app/test/test_lpm

[dpdk-dev] [PATCH 3/3] maintainers: claim responsibility for arm64 specific files of hash and lpm

2015-12-02 Thread Jan Viktorin
On Mon, 30 Nov 2015 22:54:13 +0530 Jerin Jacob wrote: > Signed-off-by: Jerin Jacob > --- > MAINTAINERS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4478862..dc8f80a 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -130,6 +130,9 @@ ARM v8 > M

[dpdk-dev] [PATCH 2/4] vhost: introduce vhost_log_write

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:11AM +0800, Yuanhan Liu wrote: > Introduce vhost_log_write() helper function to log the dirty pages we > touched. Page size is harded code to 4096 (VHOST_LOG_PAGE), and each > log is presented by 1 bit. > > Therefore, vhost_log_write() simply finds the right bit for r

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Panu Matilainen
On 12/02/2015 05:43 AM, Yuanhan Liu wrote: > VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk > vhost-user) where we should log dirty pages, and how big the log > buffer is. > > This request introduces a new payload: > > typedef struct VhostUserLog { > uint64_t

[dpdk-dev] building LIBRTE_PMD_XENVIRT in 32bit triggers some errors

2015-12-02 Thread Christian Ehrhardt
Hi, just FYI - building LIBRTE_PMD_XENVIRT in 32bit triggers some errors. I don't know if that part of the tree is actively maintained - It is default off, in the config template config/common_linuxapp. I'm not even entirely sure if LIBRTE_PMD_XENVIRT is still required. I guess in the Dom0 you c

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > Invoking vhost_log_write() to mark corresponding page as dirty while > updating used vring. Looks good, thanks! I didn't find where you log the dirty pages in result of data written to the buffers pointed by the descriptors in RX vrin

[dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:09AM +0800, Yuanhan Liu wrote: > This patch set adds the initial vhost-user live migration support. > > The major task behind that is to log pages we touched during > live migration. So, this patch is basically about adding vhost > log support, and using it. > > Patc

[dpdk-dev] Does anybody know OpenDataPlane

2015-12-02 Thread Kury Nicolas
Hi! Does anybody know OpenDataPlane ? http://www.opendataplane.org/ It is a framework designed to enable software portability between networking SoCs, regardless of the underlying instruction set architecture. There are several implementations. * OpenDataPlane using DPDK for Intel NIC

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 03:53:45PM +0200, Panu Matilainen wrote: > On 12/02/2015 05:43 AM, Yuanhan Liu wrote: > >VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk > >vhost-user) where we should log dirty pages, and how big the log > >buffer is. > > > >This request introduces a new p

[dpdk-dev] [PATCH] maintainers: claim responsability

2015-12-02 Thread Bruce Richardson
On Wed, Dec 02, 2015 at 01:06:20PM +, Sergio Gonzalez Monroy wrote: > Claim responsability for: > - Secondary Process as maintainer. > - FreeBSD EAL, FreeBSD contigmem and FreeBSD UIO as co-maintainer. > > Signed-off-by: Sergio Gonzalez Monroy Acked-by: Bruce Richardson

[dpdk-dev] [PATCH 0/4 for 2.3] vhost-user live migration support

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 04:10:56PM +0200, Victor Kaplansky wrote: ... > > Note: this patch set has mostly been based on Victor Kaplansk's demo > > work (vhost-user-bridge) at QEMU project. I was thinking to add Victor > > as the co-author. Victor, what do you think of that? :) > > Thanks for addin

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > Invoking vhost_log_write() to mark corresponding page as dirty while > > updating used vring. > > Looks good, thanks! > > I didn't find where you log the dirty page

[dpdk-dev] [PATCH 3/4] eal/arm: Enable lpm/table/pipeline libs

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 09:13:51PM +0800, Jianbo Liu wrote: > On 2 December 2015 at 18:39, Jerin Jacob > wrote: > > On Wed, Dec 02, 2015 at 05:49:41PM +0800, Jianbo Liu wrote: > >> On 2 December 2015 at 16:03, Jerin Jacob >> caviumnetworks.com> wrote: > >> > On Wed, Dec 02, 2015 at 02:54:52PM +0

[dpdk-dev] [PATCH 2/4] vhost: introduce vhost_log_write

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 03:53:01PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:11AM +0800, Yuanhan Liu wrote: > > Introduce vhost_log_write() helper function to log the dirty pages we > > touched. Page size is harded code to 4096 (VHOST_LOG_PAGE), and each > > log is presented by

[dpdk-dev] [PATCH 0/3] add lpm support for NEON

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:12PM +0100, Jan Viktorin wrote: > Hello Jerin, > > thank you for this patch series. Please CC me next time when doing an > ARM-related changes. It took me a while to find the related e-mails on > the mail server. It's was my mistake. Sorry about that. > > On Mon,

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Panu Matilainen
On 12/02/2015 04:31 PM, Yuanhan Liu wrote: > On Wed, Dec 02, 2015 at 03:53:45PM +0200, Panu Matilainen wrote: >> On 12/02/2015 05:43 AM, Yuanhan Liu wrote: >>> VHOST_USER_SET_LOG_BASE request is used to tell the backend (dpdk >>> vhost-user) where we should log dirty pages, and how big the log >>>

[dpdk-dev] [PATCH 1/3] eal: introduce rte_vect_* abstractions

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:34PM +0100, Jan Viktorin wrote: > On Mon, 30 Nov 2015 22:54:11 +0530 > Jerin Jacob wrote: > > > introduce rte_vect_* abstractions to remove SSE/AVX specific > > code in the common code(i.e the test applications) > > > > The patch does not provide any functional chan

[dpdk-dev] DPDK OVS on Ubuntu 14.04

2015-12-02 Thread Gray, Mark D
+ discuss at openvswitch.org one comment below: > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Polehn, Mike A > Sent: Tuesday, December 1, 2015 2:46 PM > To: Abhijeet Karve; dev at dpdk.org > Cc: bhavya.addep at gmail.com > Subject: Re: [dpdk-dev] DPDK OVS

[dpdk-dev] [PATCH 2/3] lpm: add support for NEON

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:40PM +0100, Jan Viktorin wrote: > On Mon, 30 Nov 2015 22:54:12 +0530 > Jerin Jacob wrote: > > > enabled CONFIG_RTE_LIBRTE_LPM, CONFIG_RTE_LIBRTE_TABLE, > > CONFIG_RTE_LIBRTE_PIPELINE libraries for arm64. > > > > TABLE, PIPELINE libraries were disabled due to LPM lib

[dpdk-dev] [PATCH 3/3] maintainers: claim responsibility for arm64 specific files of hash and lpm

2015-12-02 Thread Jerin Jacob
On Wed, Dec 02, 2015 at 02:43:52PM +0100, Jan Viktorin wrote: > On Mon, 30 Nov 2015 22:54:13 +0530 > Jerin Jacob wrote: > > > Signed-off-by: Jerin Jacob > > --- > > MAINTAINERS | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > index 4478862..dc8f80

[dpdk-dev] [PATCH 2/3] lpm: add support for NEON

2015-12-02 Thread Jan Viktorin
On Wed, 2 Dec 2015 20:26:08 +0530 Jerin Jacob wrote: > > [snip] > > I would separate the SSE implementation into its own file as well. > > make sense. planning to make it as lib/librte_lpm/rte_lpm_sse.h > and lib/librte_lpm/rte_lpm_neon.h. OK ? > > I can fix it in next revision. Yes, pleas

[dpdk-dev] [dpdk-dev, v2] igb_uio: fix igb_uio's access to pci_dev->msi_list for kernels >= 4.3

2015-12-02 Thread Pablo de Lara
From: David Hunfdsfst Fix to take this change into account: https://lkml.org/lkml/2015/7/9/101 Has been applied to Kernel 4.3.0-rc6 Linux: 4a7cc831 ("genirq/MSI: Move msi_list from struct pci_dev to struct device") Signed-off-by: Davidfsdf Hunt Acked-by: Pablo de Lara --- lib

[dpdk-dev] [dpdk-dev, v2] igb_uio: fix igb_uio's access to pci_dev->msi_list for kernels >= 4.3

2015-12-02 Thread De Lara Guarch, Pablo
Hi, Sorry about the spam, I was testing my mail server and sent it accidentally to the mailing list. Pablo > -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, December 02, 2015 3:03 PM > To: De Lara Guarch, Pablo; dev at dpdk.org > Cc: David Hunfdsfst; Davidfsdf Hunt >

[dpdk-dev] [PATCH 1/4] vhost: handle VHOST_USER_SET_LOG_BASE request

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 04:48:14PM +0200, Panu Matilainen wrote: ... > >>>diff --git a/lib/librte_vhost/rte_virtio_net.h > >>>b/lib/librte_vhost/rte_virtio_net.h > >>>index 5687452..416dac2 100644 > >>>--- a/lib/librte_vhost/rte_virtio_net.h > >>>+++ b/lib/librte_vhost/rte_virtio_net.h > >>>@@ -12

[dpdk-dev] [PATCH v4 2/2] examples: add pthread-shim in performance-thread sample app

2015-12-02 Thread ibetts
From: Ian Betts This commit adds a simple pthread_shim example for the cooperative scheduler included with this patchset. The shim demonstrates a way in which legacy code writtem for pthreads could be adapted to lighweight threads. Signed-off-by: Ian Betts --- doc/guides/sample_app_ug/perform

[dpdk-dev] [PATCH v4 2/2] examples: add pthread-shim in performance-thread sample app

2015-12-02 Thread ibetts
From: Ian Betts This commit adds a simple pthread_shim example for the cooperative scheduler included with this patchset. The shim demonstrates a way in which legacy code writtem for pthreads could be adapted to lighweight threads. Signed-off-by: Ian Betts --- doc/guides/sample_app_ug/perform

[dpdk-dev] [PATCH] vfio: Include No-IOMMU mode

2015-12-02 Thread Alex Williamson
On Mon, 2015-11-16 at 19:12 +0200, Avi Kivity wrote: > On 11/16/2015 07:06 PM, Alex Williamson wrote: > > On Wed, 2015-10-28 at 15:21 -0600, Alex Williamson wrote: > >> There is really no way to safely give a user full access to a DMA > >> capable device without an IOMMU to protect the host system.

[dpdk-dev] 2.3 Roadmap

2015-12-02 Thread Matthew Hall
On Wed, Dec 02, 2015 at 12:35:16PM +, Bruce Richardson wrote: > Hi Matthew, > > thanks for the info, but I'm not sure I understand it correctly. It seems to > me that you are mostly referring to the depths/sizes of the tables being used, > rather than to the "data-size" being stored in each en

[dpdk-dev] [PATCH v4 1/2] examples: add performance thread sample application

2015-12-02 Thread ibetts
From: Ian Betts This example comprises a layer 3 forwarding derivative intended to facilitate characterization of performance with different threading models, specifically:- 1. EAL threads running on different physical cores 2. EAL threads running on the same physical core 3. Lightweight threads

[dpdk-dev] Bond port with multiple queues

2015-12-02 Thread Declan Doherty
On 02/12/15 13:11, Sergey Balabanov wrote: > Hello, > > I configured a bond port with 2 rx queues on it and added 2 slaves into the > bond port. When I run traffic I get all packets on queue #0. This is quite > expected when RSS turned off. When I turn on RSS all packets are distributed > between t

  1   2   >