[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-08-24 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, August 24, 2016 11:25 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH] drivers: make driver names consistent > > ... > > -

[dpdk-dev] [PATCH] drivers: make driver names consistent

2016-08-24 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, August 24, 2016 3:25 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH] drivers: make driver names consistent > > As discussed in the past release, driver names are modified > to be more

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-24 Thread souvikdey33
This change is required to have the interface name for virtio interfaces. When we execute the status command the for virtio inerfaces we get Sample output without the change: :00:04.0 'Virtio network device' if= drv=virtio-pci unused=virtio_pci,igb_uio Though for other drivers this works.

[dpdk-dev] [PATCH v1] Signed-off-by: Karmarkar Suyash <skarmar...@sonusnet.com> For Recurring/Periodic timers , if the lag gets introduced and it was keeping the lag consistently. Corrected the behavi

2016-08-24 Thread Karmarkar Suyash
--- lib/librte_timer/rte_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c index 43da836..18782fa 100644 --- a/lib/librte_timer/rte_timer.c +++ b/lib/librte_timer/rte_timer.c @@ -613,7 +613,7 @@ void

[dpdk-dev] [PATCH] ethdev: ensure consistent port id assignment

2016-08-24 Thread Tootoonchian, Amin
Sergio, could you please review this patch? Thanks, Amin > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, July 20, 2016 8:12 AM > To: Tootoonchian, Amin > Cc: dev at dpdk.org; Kerlin, MarcinX > Subject: Re: [dpdk-dev] [PATCH] ethdev:

[dpdk-dev] pthread_create fails with error code 11 (pthread_create: Cannot allocate memory)

2016-08-24 Thread Ajay Khambadkone
I am running dpdk with my existing application and after rte_eal_init, other inits and rte_eal_remote_launch, It end up going through my existing app that starts some more threads. I do see all the rte_* ran successfully. But the pthread_create calls from my existing app fails with the

[dpdk-dev] [PATCH 0/5] i40e: vector poll-mode driver on ARM64

2016-08-24 Thread Shreyansh Jain
Hi Thomas, On Wednesday 24 August 2016 04:19 PM, Thomas Monjalon wrote: > 2016-08-24 15:23, Jianbo Liu: >> This patch set is to implement i40e vector PMD on ARM64. > > Thanks for extending ARM support. > > The current NIC support status is: > % git grep -l 'ARM.*=.*Y' doc/guides/nics/features/ >

[dpdk-dev] [PATCH] kni: memzone info not required to get mbuf address

2016-08-24 Thread Thomas Monjalon
2016-08-04 16:54, Ferruh Yigit: > Originally mempool->mz is used to get address of the mbuf, but now > address get directly from mempool, so mempool->mz information is not > required. > > Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default") > > Signed-off-by: Ferruh

[dpdk-dev] [PATCH] ethtool: remove triple license information

2016-08-24 Thread Thomas Monjalon
2016-08-04 17:45, Ferruh Yigit: > On 8/1/2016 1:17 PM, Christian Ehrhardt wrote: > > License information is already in LICENSE.GPL. > > Remove two extra copies and change referred filename in the files. > > > > Signed-off-by: Christian Ehrhardt > > In patch subject, I think it is better to use

[dpdk-dev] [PATCH v2] scripts: make load-devel-config not to appear as executable

2016-08-24 Thread Thomas Monjalon
2016-08-03 16:59, Christian Ehrhardt: > *Updates in v2* > - drop the #!/bin/echo now that it is no more executable > > Quoting the first line of the script: "#! /bin/echo must be loaded with ." > Given that we should drop the .sh file ending as well as the executable > flag - both are not needed

[dpdk-dev] [PATCH 2/4] mempool: make cache flush threshold macro public

2016-08-24 Thread Olivier MATZ
Hi Robert, On 08/23/2016 06:07 PM, Sanford, Robert wrote: > Hi Olivier, > > On 8/23/16, 11:09 AM, "Olivier MATZ" wrote: > > Hi Robert, > > On 08/01/2016 10:42 PM, Robert Sanford wrote: > > Rename macros that calculate a mempool cache flush threshold, and > > move them from

[dpdk-dev] [PATCH v2] examples: fix unusual-interpreter

2016-08-24 Thread Thomas Monjalon
> > *update in v2* > > - use #!/usr/bin/env python as usually recommended and suggested in the > > discussion > > > > Due to regular lintian checks in Debian packaging it surfaced that these > > two scripts had a space in their #! statement which renders it to be > > human, but not shell

[dpdk-dev] [PATCH 3/4] net/bonding: another fix to LACP mempool size

2016-08-24 Thread Olivier MATZ
Hi Robert, On 08/23/2016 10:01 PM, Sanford, Robert wrote: > Hi Olivier, > > On 8/23/16, 11:09 AM, "Olivier MATZ" wrote: > > Hi Robert, > > On 08/01/2016 10:42 PM, Robert Sanford wrote: > > The following log message may appear after a slave is idle (or nearly > > idle) for a

[dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc

2016-08-24 Thread Thomas Monjalon
2016-08-01 11:19, Nikhil Rao: > This patch fixes a typo in the eth device API doc, device > config. not stored between calls to rte_eth_dev_start/stop() > should be restored before a call to rte_eth_dev_start() > instead of after a call to rte_eth_dev_start(). > > Signed-off-by: Nikhil Rao [...]

[dpdk-dev] [PATCH] doc: Fix incorrect comment line

2016-08-24 Thread Thomas Monjalon
2016-08-17 18:36, Shreyansh Jain: > Signed-off-by: Shreyansh Jain Applied, thanks

[dpdk-dev] [PATCH] doc/versioning: add missing return value type in MAP_STATIC_SYMBOL example

2016-08-24 Thread Thomas Monjalon
2016-08-14 18:21, Mauricio Vasquez B: > The example only had as return type struct, it is actually struct rte_acl_ctx > * > > Signed-off-by: Mauricio Vasquez B Applied (minus a whitespace), thanks

[dpdk-dev] [RFC PATCH v1] rte: add bit-rate metrics to xstats

2016-08-24 Thread Remy Horton
This patch adds peak and average data-rate metrics to the extended statistics. The intervals used to generate the statistics are controlled by any application wishing to make use of these metrics. Signed-off-by: Remy Horton --- doc/guides/rel_notes/release_16_11.rst | 5 ++

[dpdk-dev] [PATCH 0/7] vhost: vhost-cuse removal and code path refactoring

2016-08-24 Thread Yuanhan Liu
On Wed, Aug 24, 2016 at 07:30:23AM +, Xu, Qian Q wrote: > I think you need also update vhost sample guide and vhost library in the > programmer guide for this release. Yes, updating vhost lib programmer would be easy, while updating the vhost sample requires a rewrite, that I will defer it

[dpdk-dev] [PATCH 1/6] vhost: simplify memory regions handling

2016-08-24 Thread Yuanhan Liu
Yes, it depends on the vhost-cuse removal patchset I sent last week. --yliu On Wed, Aug 24, 2016 at 07:26:07AM +, Xu, Qian Q wrote: > I want to apply the patch on the latest DPDK, see below commit ID but failed > since no vhost.h and vhost-user.h files. So do you have any dependency

[dpdk-dev] [PATCH] vhost: add pmd xstats

2016-08-24 Thread Panu Matilainen
On 08/24/2016 11:44 AM, Thomas Monjalon wrote: > 2016-08-24 13:46, Yuanhan Liu: >> On Tue, Aug 23, 2016 at 12:45:54PM +0300, Panu Matilainen wrote: >> Since collecting data of vhost_update_packet_xstats will have some >> effect on RX/TX performance, so, Setting compiling switch >>

[dpdk-dev] [PATCH 5/5] maintainers: claim i40e vector PMD on ARM

2016-08-24 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6536c6b..5d6ecba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -150,6 +150,7 @@ F: lib/librte_acl/acl_run_neon.* F: lib/librte_lpm/rte_lpm_neon.h F:

[dpdk-dev] [PATCH 4/5] i40e: make vector driver filenames consistent

2016-08-24 Thread Jianbo Liu
To be consistent with the naming for ARM NEON implementation, i40e_rxtx_vec.c is renamed to i40e_rxtx_vec_sse.c. Signed-off-by: Jianbo Liu --- drivers/net/i40e/Makefile | 4 ++-- drivers/net/i40e/{i40e_rxtx_vec.c => i40e_rxtx_vec_sse.c} | 0 2 files changed, 2

[dpdk-dev] [PATCH 3/5] i40e: enable i40e vector PMD on ARMv8a platform

2016-08-24 Thread Jianbo Liu
Signed-off-by: Jianbo Liu --- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 - doc/guides/nics/features/i40e_vec.ini | 1 + doc/guides/nics/features/i40e_vf_vec.ini | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/defconfig_arm64-armv8a-linuxapp-gcc

[dpdk-dev] [PATCH 2/5] i40e: implement vector PMD for ARM architecture

2016-08-24 Thread Jianbo Liu
Use ARM NEON intrinsic to implement i40e vPMD Signed-off-by: Jianbo Liu --- drivers/net/i40e/Makefile | 4 + drivers/net/i40e/i40e_rxtx_vec_neon.c | 581 ++ 2 files changed, 585 insertions(+) create mode 100644 drivers/net/i40e/i40e_rxtx_vec_neon.c

[dpdk-dev] [PATCH 1/5] i40e: extract non-x86 specific code from vector driver

2016-08-24 Thread Jianbo Liu
move scalar code which does not use x86 intrinsic functions to new file "i40e_rxtx_vec_common.h", while keeping x86 code in i40e_rxtx_vec.c. This allows the scalar code to to be shared among vector drivers for different platforms. Signed-off-by: Jianbo Liu --- drivers/net/i40e/i40e_rxtx_vec.c

[dpdk-dev] [PATCH 0/5] i40e: vector poll-mode driver on ARM64

2016-08-24 Thread Jianbo Liu
This patch set is to implement i40e vector PMD on ARM64. For x86, vPMD is only reorganized, there should be no performance loss. Jianbo Liu (5): i40e: extract non-x86 specific code from vector driver i40e: implement vector PMD for ARM architecture i40e: enable i40e vector PMD on ARMv8a

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-24 Thread Iremonger, Bernard
Hi Wenzhuo, > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe > > > > An issue is found that DCB cannot be configured on ixgbe NICs. It's > > said the TX queue number is not right. > > On ixgbe the max TX queue number is not fixed, it depends on the > > multi- queue

[dpdk-dev] [PATCH] vhost: add pmd xstats

2016-08-24 Thread Yuanhan Liu
On Tue, Aug 23, 2016 at 12:45:54PM +0300, Panu Matilainen wrote: > >>>Since collecting data of vhost_update_packet_xstats will have some > >>>effect on RX/TX performance, so, Setting compiling switch > >>>CONFIG_RTE_LIBRTE_PMD_VHOST_UPDATE_XSTATS=n by default in the > >>file >

[dpdk-dev] [PATCH 0/5] i40e: vector poll-mode driver on ARM64

2016-08-24 Thread Thomas Monjalon
2016-08-24 15:23, Jianbo Liu: > This patch set is to implement i40e vector PMD on ARM64. Thanks for extending ARM support. The current NIC support status is: % git grep -l 'ARM.*=.*Y' doc/guides/nics/features/ doc/guides/nics/features/ixgbe.ini doc/guides/nics/features/ixgbe_vec.ini

[dpdk-dev] [PATCH v2 0/6] various vmxnet3 fixes and enhancement

2016-08-24 Thread Stephen Hemminger
On Tue, 23 Aug 2016 17:05:34 -0700 Yong Wang wrote: > v2: > * updated vmxnet3 feature doc. > * updated vmxnet3 guide to remove stale information. > > v1: This patchset includes a few bug fixes and some enhancement. > > * Fixed a bug with dev_configure memzone size; > * Enhanced error checks

[dpdk-dev] [PATCH] net/enic: add Ethernet VLAN ptype

2016-08-24 Thread John Daley
Enic is capable of recognizing packets to be delivered to the app with single VLAN tags. Advertise this with the ptype RTE_PTYPE_L2_ETHER_VLAN and set the ptype for VLAN packets. Signed-off-by: John Daley --- Requires patchset http://dpdk.org/ml/archives/dev/2016-July/04.html I recommend

[dpdk-dev] [PATCH] vhost: add pmd xstats

2016-08-24 Thread Thomas Monjalon
2016-08-24 13:46, Yuanhan Liu: > On Tue, Aug 23, 2016 at 12:45:54PM +0300, Panu Matilainen wrote: > > >>>Since collecting data of vhost_update_packet_xstats will have some > > >>>effect on RX/TX performance, so, Setting compiling switch > > >>>CONFIG_RTE_LIBRTE_PMD_VHOST_UPDATE_XSTATS=n by default

[dpdk-dev] [PATCH 7/7] vhost: simplify features set/get

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > No need to use a pointer to store/retrieve features. > > Signed-off-by: Yuanhan Liu > --- > lib/librte_vhost/vhost_user.c | 20 > 1 file changed, 8 insertions(+), 12 deletions(-) > > diff --git a/lib/librte_vhost/vhost_user.c

[dpdk-dev] [PATCH 6/7] vhost: get device once

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > Invoke get_device() at the beginning of vhost_user_msg_handler, so that > we could check the return value once. Which could save tons of duplicate > get-and-check device. > > Signed-off-by: Yuanhan Liu > --- > lib/librte_vhost/vhost_user.c | 160 >

[dpdk-dev] [PATCH 5/7] vhost: unify function names

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > Some functions are with prefix "user_", while others with "vhost_". > Making them all starting with "vhost_user_" to unify the function names. > > Signed-off-by: Yuanhan Liu > --- > lib/librte_vhost/vhost_user.c | 60 >

[dpdk-dev] [PATCH 4/7] vhost: fold common message handlers

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > Due to history reason (that we have 2 vhost implementations), some > messages are handled in two calls: vhost specific implementation > handles it first and then invoke the common one to do another handling. > > We have one implementation only now, we

[dpdk-dev] [PATCH 3/7] vhost: refactor source code structure

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > The code structure is a bit messy now. For example, vhost-user message > handling is spread to three different files: > > vhost-net-user.c virtio-net.c virtio-net-user.c > > Where, vhost-net-user.c is the entrance to handle all those messages >

[dpdk-dev] [PATCH 2/7] vhost: remove sub source dir

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > We now have one vhost implementation; no sub source dir is needed. > Rmove it by move them to upper dir. s/Rmove/Remove/ > > Signed-off-by: Yuanhan Liu > --- > lib/librte_vhost/Makefile | 6 +++--- >

[dpdk-dev] [PATCH 1/7] vhost: remove vhost-cuse

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 10:48 AM, Yuanhan Liu wrote: > remove vhost-cuse code, including the eventfd_link kernel module that > is for vhost-cuse only. > > The lib/virt/qemu-wrap.py is also removed, as it's mainly for vhost-cuse > usage. > > As we have one vhost implementation now, one vhost config option

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-24 Thread Iremonger, Bernard
Hi Wenzhuo, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, August 5, 2016 6:20 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Lu, Wenzhuo > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe > > An

[dpdk-dev] vhost [query] : support for multiple ports and non VMDQ devices in vhost switch

2016-08-24 Thread Maxime Coquelin
On 08/18/2016 04:35 AM, Tan, Jianfeng wrote: > Hi Maxime, > > On 8/17/2016 7:18 PM, Maxime Coquelin wrote: >> Hi Jianfeng, >> >> On 08/17/2016 04:33 AM, Tan, Jianfeng wrote: >>> Hi, >>> >>> Please review below proposal of Pankaj and myself after an offline >>> discussion. (Pankaj, please correct

[dpdk-dev] [PATCH 1/6] vhost: simplify memory regions handling

2016-08-24 Thread Xu, Qian Q
OK, it's better to claim that his patchset have the dependency on another one. -Original Message- From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] Sent: Wednesday, August 24, 2016 3:40 PM To: Xu, Qian Q Cc: dev at dpdk.org; Maxime Coquelin Subject: Re: [dpdk-dev] [PATCH 1/6]

[dpdk-dev] [PATCH 0/7] vhost: vhost-cuse removal and code path refactoring

2016-08-24 Thread Xu, Qian Q
I think you need also update vhost sample guide and vhost library in the programmer guide for this release. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yuanhan Liu Sent: Thursday, August 18, 2016 4:49 PM To: dev at dpdk.org Cc: Yuanhan Liu Subject:

[dpdk-dev] [PATCH 1/6] vhost: simplify memory regions handling

2016-08-24 Thread Xu, Qian Q
I want to apply the patch on the latest DPDK, see below commit ID but failed since no vhost.h and vhost-user.h files. So do you have any dependency on other patches? commit 28d8abaf250c3fb4dcb6416518f4c54b4ae67205 Author: Deirdre O'Connor Date: Mon Aug 22 17:20:08 2016 +0100 doc: fix

[dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue

2016-08-24 Thread Wang, Zhihong
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, August 22, 2016 6:35 PM > To: Maxime Coquelin ; Wang, Zhihong > ; yuanhan.liu at linux.intel.com > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/5] vhost: optimize enqueue > >