[dpdk-dev] [PATCH v6 1/5] ethdev: Added ETH_SPEED_CAP bitmap for ports

2015-11-19 Thread Marc Sune
Hi Thomas, 2015-11-01 23:11 GMT+01:00 Thomas Monjalon : > 2015-10-25 22:59, Marc Sune: > > +#define ETH_SPEED_CAP_NOT_PHY(0) /*< No phy media > */ > > +#define ETH_SPEED_CAP_10M_HD (1 << 0) /*< 10 Mbps half-duplex> */ > > +#define ETH_SPEED_CAP_10M_FD (1 << 1) /*< 10 Mbps full-duplex>

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

2015-11-19 Thread Yu Nemo Wenbin
Give user a chance to costomize 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 good enough, so the user may call this to override the default one. Signed-off-by: Yu Nemo Wenbin --- lib/librte_hash/rte_cuc

[dpdk-dev] [PATCH v4 0/2] Add VHOST PMD

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/17 22:26, Yuanhan Liu wrote: > On Fri, Nov 13, 2015 at 03:50:16PM +0900, Tetsuya Mukawa wrote: >> On 2015/11/13 14:32, Yuanhan Liu wrote: >>> On Fri, Nov 13, 2015 at 02:20:29PM +0900, Tetsuya Mukawa wrote: The patch introduces a new PMD. This PMD is implemented as thin wrapper

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/17 22:29, Yuanhan Liu wrote: > On Fri, Nov 13, 2015 at 02:20:30PM +0900, Tetsuya Mukawa wrote: >> These variables are needed to be able to manage one of virtio devices >> using both vhost library APIs and vhost PMD. >> For example, if vhost PMD uses current callback handler and private d

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Wang, Zhihong
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > Sent: Thursday, November 19, 2015 3:09 AM > To: Richardson, Bruce > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary > hugepage zero-filling

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Yuanhan Liu
On Thu, Nov 19, 2015 at 11:03:50AM +0900, Tetsuya Mukawa wrote: > On 2015/11/17 22:29, Yuanhan Liu wrote: > > On Fri, Nov 13, 2015 at 02:20:30PM +0900, Tetsuya Mukawa wrote: > >> These variables are needed to be able to manage one of virtio devices > >> using both vhost library APIs and vhost PMD.

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/19 11:18, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 11:03:50AM +0900, Tetsuya Mukawa wrote: >> On 2015/11/17 22:29, Yuanhan Liu wrote: >>> On Fri, Nov 13, 2015 at 02:20:30PM +0900, Tetsuya Mukawa wrote: These variables are needed to be able to manage one of virtio devices us

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Yuanhan Liu
On Thu, Nov 19, 2015 at 12:13:38PM +0900, Tetsuya Mukawa wrote: > On 2015/11/19 11:18, Yuanhan Liu wrote: > > On Thu, Nov 19, 2015 at 11:03:50AM +0900, Tetsuya Mukawa wrote: > >> On 2015/11/17 22:29, Yuanhan Liu wrote: > >>> On Fri, Nov 13, 2015 at 02:20:30PM +0900, Tetsuya Mukawa wrote: > The

[dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

2015-11-19 Thread Karmarkar Suyash
Hello All, I am trying some experiments with DPDK 1.6 and Cisco NIC - (:06:00.0 Network controller: Cisco Systems Inc. Cisco VIC Ethernet NIC [vmnic0]), on the guest I am using VMXNET3 as interface/pmd and one weird behavior that is see is with VMWare ESX 5.5 DPDK is not able to initialize

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Wang, Zhihong
> -Original Message- > From: Xie, Huawei > Sent: Wednesday, November 18, 2015 8:08 PM > To: Wang, Zhihong ; Mcnamara, John > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary > hugepage zero-filling > > On 11/18/2015 6:45 PM, Wang, Zhihong wro

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/19 12:33, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 12:13:38PM +0900, Tetsuya Mukawa wrote: >> On 2015/11/19 11:18, Yuanhan Liu wrote: >>> On Thu, Nov 19, 2015 at 11:03:50AM +0900, Tetsuya Mukawa wrote: On 2015/11/17 22:29, Yuanhan Liu wrote: > On Fri, Nov 13, 2015 at 02:20:3

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Yuanhan Liu
On Thu, Nov 19, 2015 at 02:14:13PM +0900, Tetsuya Mukawa wrote: > On 2015/11/19 12:33, Yuanhan Liu wrote: > > On Thu, Nov 19, 2015 at 12:13:38PM +0900, Tetsuya Mukawa wrote: > >> On 2015/11/19 11:18, Yuanhan Liu wrote: > >>> On Thu, Nov 19, 2015 at 11:03:50AM +0900, Tetsuya Mukawa wrote: > On

[dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

2015-11-19 Thread Karmarkar Suyash
I was looking at older thread here it mentions the kernel vmxnet3 pmd dependency with Vmware tsc map, Is this the reason why the CISCO NIC is coming up fine on ESX 6.0 which will have higher version/updated driver and ESX 5.5 has older version of the driver and because of incompatability the NIC

[dpdk-dev] [PATCH] vhost: avoid buffer overflow in update_secure_len

2015-11-19 Thread Yuanhan Liu
On Wed, Nov 18, 2015 at 11:15:25AM +, Xie, Huawei wrote: > On 11/18/2015 4:47 PM, Yuanhan Liu wrote: > > On Wed, Nov 18, 2015 at 07:53:24AM +, Xie, Huawei wrote: > > ... > >>> do { > >>> + if (vec_id >= BUF_VECTOR_MAX) > >>> + break; > >>> + > >>> next_de

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/19 14:45, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 02:14:13PM +0900, Tetsuya Mukawa wrote: >> On 2015/11/19 12:33, Yuanhan Liu wrote: >>> On Thu, Nov 19, 2015 at 12:13:38PM +0900, Tetsuya Mukawa wrote: On 2015/11/19 11:18, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 11:03:5

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Xie, Huawei
On 11/19/2015 10:16 AM, Wang, Zhihong wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger >> Sent: Thursday, November 19, 2015 3:09 AM >> To: Richardson, Bruce >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [RFC PATCH 2/2] lib/libr

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Xie, Huawei
On 11/19/2015 11:54 AM, Wang, Zhihong wrote: > >> -Original Message- >> From: Xie, Huawei >> Sent: Wednesday, November 18, 2015 8:08 PM >> To: Wang, Zhihong ; Mcnamara, John >> ; dev at dpdk.org >> Subject: Re: [dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary >> hugepage zero-f

[dpdk-dev] [PATCH] i40e: fix the issue dcb cannot be configured when FW version is 5.x

2015-11-19 Thread Pei, Yulong
Tested-by: Yulong Pei -Original Message- From: Wu, Jingjing Sent: Monday, November 16, 2015 4:57 PM To: dev at dpdk.org Cc: Wu, Jingjing ; Zhang, Helin ; Pei, Yulong Subject: [PATCH] i40e: fix the issue dcb cannot be configured when FW version is 5.x When NVM version is updated to 5.x

[dpdk-dev] [PATCH] vhost: Fix reset_owner message handling not to clear callfd

2015-11-19 Thread Tetsuya Mukawa
The patch fixes reset_owner message handling not to clear callfd, because callfd will be valid while connection is establihed. Signed-off-by: Tetsuya Mukawa --- lib/librte_vhost/virtio-net.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/lib/librte_vhos

[dpdk-dev] dpdk+libuinet

2015-11-19 Thread huqiwei321
Hi all, I want to run libuinet on DPDK,but I can not get much information on the Internet.Any help or suggestion is greate. Best Regards, Qiwei Hu

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Yuanhan Liu
On Thu, Nov 19, 2015 at 02:58:56PM +0900, Tetsuya Mukawa wrote: > On 2015/11/19 14:45, Yuanhan Liu wrote: > > On Thu, Nov 19, 2015 at 02:14:13PM +0900, Tetsuya Mukawa wrote: > >> On 2015/11/19 12:33, Yuanhan Liu wrote: > >>> On Thu, Nov 19, 2015 at 12:13:38PM +0900, Tetsuya Mukawa wrote: > On

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Wang, Zhihong
> -Original Message- > From: Xie, Huawei > Sent: Thursday, November 19, 2015 2:05 PM > To: Wang, Zhihong ; Stephen Hemminger > ; Richardson, Bruce > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary > hugepage zero-filling > > On 11/19/201

[dpdk-dev] [PATCH v4 1/2] vhost: Add callback and private data for vhost PMD

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/19 15:31, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 02:58:56PM +0900, Tetsuya Mukawa wrote: >> On 2015/11/19 14:45, Yuanhan Liu wrote: >>> On Thu, Nov 19, 2015 at 02:14:13PM +0900, Tetsuya Mukawa wrote: On 2015/11/19 12:33, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 12:13:3

[dpdk-dev] [PATCH] vhost: Fix reset_owner message handling not to clear callfd

2015-11-19 Thread Yuanhan Liu
On Thu, Nov 19, 2015 at 03:23:26PM +0900, Tetsuya Mukawa wrote: > The patch fixes reset_owner message handling not to clear callfd, > because callfd will be valid while connection is establihed. > > Signed-off-by: Tetsuya Mukawa > --- > lib/librte_vhost/virtio-net.c | 21 - >

[dpdk-dev] [PATCH] fm10k: fix wrong VLAN value in RX mbuf

2015-11-19 Thread Chen, Jing D
Hi, Worth to adding comments that vlan_tci is only valid in case RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE is turned on and Flag PKT_RX_VLAN_PKT is set. Best Regards, Mark > -Original Message- > From: He, Shaopeng > Sent: Wednesday, November 18, 2015 4:50 PM > To: dev at dpdk.org > Cc: Che

[dpdk-dev] [PATCH] vhost: Fix reset_owner message handling not to clear callfd

2015-11-19 Thread Tetsuya Mukawa
On 2015/11/19 16:03, Yuanhan Liu wrote: > On Thu, Nov 19, 2015 at 03:23:26PM +0900, Tetsuya Mukawa wrote: >> The patch fixes reset_owner message handling not to clear callfd, >> because callfd will be valid while connection is establihed. >> >> Signed-off-by: Tetsuya Mukawa >> --- >> lib/librte_v

[dpdk-dev] [PATCH 1/1] config/tile: disable KNI kmod option on tile

2015-11-19 Thread Thomas Monjalon
2015-11-17 14:23, Zhigang Lu: > Commit 36080ff96b0e causes compiling error on tile, as tile > does not support KNI, so we disable the CONFIG_RTE_KNI_KMOD. > > Fixes: 36080ff96b0e ("config: add KNI kmod option") > > Reported-by: Guo Xin > Signed-off-by: Zhigang Lu Applied, thanks

[dpdk-dev] [PATCH v2] vhost: Fix reset_owner message handling not to clear callfd

2015-11-19 Thread Tetsuya Mukawa
The patch fixes reset_owner message handling not to clear callfd, because callfd will be valid while connection is establihed. Signed-off-by: Tetsuya Mukawa --- lib/librte_vhost/virtio-net.c | 44 +-- 1 file changed, 38 insertions(+), 6 deletions(-) diff

[dpdk-dev] [PATCH v2] kni: Use utsrelease.h to determine Ubuntu kernel version

2015-11-19 Thread Thomas Monjalon
> > /proc/version_signature is the version for the host machine, but in e.g., > > chroots, > > this does not necessarily match that DPDK is built for. DPDK will then > > build for the > > wrong kernel version - that of the server, and not that installed in the > > (build) > > chroot. > > > > Th

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Sergio Gonzalez Monroy
On 18/11/2015 12:07, Xie, Huawei wrote: > On 11/18/2015 6:45 PM, Wang, Zhihong wrote: >>> -Original Message- >>> From: Mcnamara, John >>> Sent: Wednesday, November 18, 2015 6:40 PM >>> To: Wang, Zhihong ; dev at dpdk.org >>> Subject: RE: [dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unn

[dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Sergio Gonzalez Monroy
On 19/11/2015 06:32, Wang, Zhihong wrote: >> -Original Message- >> From: Xie, Huawei >> Sent: Thursday, November 19, 2015 2:05 PM >> To: Wang, Zhihong ; Stephen Hemminger >> ; Richardson, Bruce >> >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [RFC PATCH 2/2] lib/librte_eal: Remove unne

[dpdk-dev] Recap of DPDK Userspace 2015

2015-11-19 Thread Butler, Siobhan A
Hi all, Thanks to everyone who responded to the survey of DPDK Userspace 2015 https://www.surveymonkey.com/r/6TN65VF. You can now view the videos of the presentations and lightning talks from the conference at https://dpdksummit.com/us/en/past-events!! Thanks Siobh?n

[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-19 Thread Thomas Monjalon
> > It fixes the compile issue on kernel version 2.6.32 or old ones. > > > > Error logs: > > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: unknown field id > > specified in initializer > > lib/librte_eal/linuxapp/kni/kni_misc.c:121: error: excess elements in struct > > initializer > > lib/lib

[dpdk-dev] How to test DPDK QoS sched example app

2015-11-19 Thread Incognito Man
Hi I've 2 boxes connected back to back. One box runs qos_sched example app on IGB network card. I've been trying to test the qos_sched app but I could not able to do it probably i missing more than something. Could you please let me know how do i verify qos_sched app Regards

[dpdk-dev] [RFC PATCH 0/2] Virtio-net PMD Extension to work on host.

2015-11-19 Thread Tetsuya Mukawa
THIS IS A PoC IMPLEMENATION. [Abstraction] Normally, virtio-net PMD only works on VM, because there is no virtio-net device on host. This RFC patch extends virtio-net PMD to be able to work on host as virtual PMD. But we didn't implement virtio-net device as a part of virtio-net PMD. To prepare

[dpdk-dev] [RFC PATCH 1/2] EAL: Add new EAL "--shm" option.

2015-11-19 Thread Tetsuya Mukawa
The patch adds new EAL "--shm" option. If the option is specified, EAL will allocate one file from hugetlbfs. This memory is for sharing memory between DPDK applicaiton and QEMU ivhsmem device. Signed-off-by: Tetsuya Mukawa --- lib/librte_eal/common/eal_common_options.c | 5 +++ lib/librte_eal/

[dpdk-dev] [RFC PATCH 2/2] virtio: Extend virtio-net PMD to support container environment

2015-11-19 Thread Tetsuya Mukawa
The patch extends virtio-net PMD to work on host. Actually, we don't have virtio-net devices on host. Thus, this PMD called "cvio PMD" is for virtual device. To prepare virtio-net device on host, the users need to invoke QEMU process in special qtest mode. In this mode, no guest runs. Also, this m

[dpdk-dev] DPDK Community Call - ARM Support

2015-11-19 Thread O'Driscoll, Tim
Thanks for following up on this Bob. It's great to see this level of engagement from the ARM ecosystem. In order to facilitate this, we'll move our call out by a week. New details for the meeting are: When: Tue, Dec 1, 2015 15:00 - 16:00 GMT Tue, Dec 1, 2015 07:00 - 08:00 PST Tue, Dec 1, 2015 10

[dpdk-dev] [PATCH] Revert "eal: set name to threads"

2015-11-19 Thread Ferruh Yigit
This reverts commit 67b6d3039e9edbc4624c878c6930be5e126e8b58. Reverted patch uses pthread_setname_np() function, this function added into glibc in version 2.12 and cause a compile error in older glibc versions: error: implicit declaration of function "pthread_setname_np" Main purpose of reverted

[dpdk-dev] [PATCH] eal: fix compile error for old glibc caused by CLOCK_MONOTONIC_RAW

2015-11-19 Thread Ferruh Yigit
Fixes: d08d304508a8 ("eal/linux: make alarm not affected by system time jump") CLOCK_MONOTONIC_RAW added in glibc 2.12, using this define in older glibc versions cause compile error: 'error: identifier "CLOCK_MONOTONIC_RAW" is undefined' This patch replaces "CLOCK_MONOTONIC_RAW" with "CLOCK_MONOT

[dpdk-dev] [PATCH v5 3/3] example: add keep alive sample application

2015-11-19 Thread Thomas Monjalon
2015-11-18 14:05, Remy Horton: > Modified version of l2fwd to demonstrate keep-alive functionality. > > Signed-off-by: Remy Horton > --- > MAINTAINERS | 4 + > examples/l2fwd-keepalive/Makefile | 50 +++ > examples/l2fwd-keepalive/main.c | 806 > ++

[dpdk-dev] [PATCH v5 2/3] docs: add keep alive sample app guide & release notes

2015-11-19 Thread Thomas Monjalon
2015-11-18 14:05, Remy Horton: > --- a/doc/guides/rel_notes/release_2_2.rst > +++ b/doc/guides/rel_notes/release_2_2.rst > @@ -102,6 +102,7 @@ New Features > > * **Added port hotplug support to xenvirt.** > > +* **Added keepalive support to EAL.** > > Resolved Issues > --- > @@

[dpdk-dev] [PATCH v5 2/3] docs: add keep alive sample app guide & release notes

2015-11-19 Thread Remy Horton
On 19/11/2015 11:32, Thomas Monjalon wrote: > 2015-11-18 14:05, Remy Horton: >> --- a/doc/guides/rel_notes/release_2_2.rst >> +++ b/doc/guides/rel_notes/release_2_2.rst >> @@ -102,6 +102,7 @@ New Features >> >> * **Added port hotplug support to xenvirt.** >> >> +* **Added keepalive support to E

[dpdk-dev] [PATCH] Revert "eal: set name to threads"

2015-11-19 Thread Panu Matilainen
On 11/19/2015 01:22 PM, Ferruh Yigit wrote: > This reverts commit 67b6d3039e9edbc4624c878c6930be5e126e8b58. > > Reverted patch uses pthread_setname_np() function, this function added > into glibc in version 2.12 and cause a compile error in older glibc > versions: > error: implicit declaration of f

[dpdk-dev] [PATCH] Revert "eal: set name to threads"

2015-11-19 Thread Thomas Monjalon
2015-11-19 13:49, Panu Matilainen: > On 11/19/2015 01:22 PM, Ferruh Yigit wrote: > > This reverts commit 67b6d3039e9edbc4624c878c6930be5e126e8b58. > > > > Reverted patch uses pthread_setname_np() function, this function added > > into glibc in version 2.12 and cause a compile error in older glibc >

[dpdk-dev] [PATCH] Revert "eal: set name to threads"

2015-11-19 Thread Ferruh Yigit
On Thu, Nov 19, 2015 at 01:32:44PM +0100, Thomas Monjalon wrote: > 2015-11-19 13:49, Panu Matilainen: > > On 11/19/2015 01:22 PM, Ferruh Yigit wrote: > > > This reverts commit 67b6d3039e9edbc4624c878c6930be5e126e8b58. > > > > > > Reverted patch uses pthread_setname_np() function, this function adde

[dpdk-dev] [PATCH] hash: replace libc memcmp with optimized memory compare functions for arm64

2015-11-19 Thread Jerin Jacob
The following measurements shows improvement over the default libc memcmp function Length(B) by X% over libc memcmp 16 149.57% 32 122.7% 48 104.96% 64 98.21% 80 93.75% 96 90.55% 112 110.48% 128 137.24% Signed-off-by: Jerin Jacob --- lib/libr

[dpdk-dev] [PATCH v6 1/7] nfp: basic initialization

2015-11-19 Thread Thomas Monjalon
Hi, 2015-11-05 10:43, Alejandro.Lucero: > +# Add extra flags for base driver files (also known as shared code) > +# to disable warnings > +# > +ifeq ($(CC), icc) > +CFLAGS_BASE_DRIVER = -wd593 > +else ifeq ($(CC), clang) > +CFLAGS_BASE_DRIVER += -Wno-sign-compare > +CFLAGS_BASE_DRIVER += -Wno-unus

[dpdk-dev] [PATCH v5 0/3] Keepalive monitoring & reporting

2015-11-19 Thread Thomas Monjalon
2015-11-18 14:05, Remy Horton: > This patch-set adds functions for detecting and reporting live-ness of > LCores, the primary requirement of which is minimal overheads for the > core(s) being checked. Core failures are notified via an application > defined callback. As an example l2fwd with random

[dpdk-dev] [PATCH] Revert "eal: set name to threads"

2015-11-19 Thread Ferruh Yigit
On Thu, Nov 19, 2015 at 01:39:24PM +, Ferruh Yigit wrote: > On Thu, Nov 19, 2015 at 01:32:44PM +0100, Thomas Monjalon wrote: > > 2015-11-19 13:49, Panu Matilainen: > > > On 11/19/2015 01:22 PM, Ferruh Yigit wrote: > > > > This reverts commit 67b6d3039e9edbc4624c878c6930be5e126e8b58. > > > > > >

[dpdk-dev] DPDK Community Call - ARM Support

2015-11-19 Thread Bagh Fares
Thank you Tim for addressing this. We are very interested in this activities. Our interest is having common API for our customer between various arch to ease the life of their sw developers. We are already writing code to contribute here. -Original Message- From: dev [mailto:dev-boun...

[dpdk-dev] How to test DPDK QoS sched example app

2015-11-19 Thread Incognito Man
Sorry I found it. it was my mistake. You can ignore the mail Regards On Thu, Nov 19, 2015 at 3:23 PM, Incognito Man wrote: > Hi > > I've 2 boxes connected back to back. One box runs qos_sched example > app on IGB network card. I've been trying to > test the qos_sched app but I coul

[dpdk-dev] [PATCH] fm10k: fix wrong VLAN value in RX mbuf

2015-11-19 Thread Stephen Hemminger
On Wed, 18 Nov 2015 16:50:09 +0800 Shaopeng He wrote: > VLAN value should be copied from RX descriptor to mbuf, > this patch fixes this issue. > > Signed-off-by: Shaopeng He > --- > drivers/net/fm10k/fm10k_rxtx.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/net/fm10k/fm1

[dpdk-dev] [PATCH] eal: fix compile error for old glibc caused by pthread_setname_np()

2015-11-19 Thread Ferruh Yigit
Fixes: 67b6d3039e9e ("eal: set name to threads") pthread_setname_np() function added in glibc 2.12, using this function in older glibc versions cause compile error: error: implicit declaration of function "pthread_setname_np" This patch adds "rte_thread_setname" macro and set it according glibc >

[dpdk-dev] [RFC PATCH 0/2] Virtio-net PMD Extension to work on host.

2015-11-19 Thread Rich Lane
What's the reason for using qemu as a middleman? Couldn't the new PMD itself open /dev/vhost-net or the vhost-user socket and send the commands to set up virtqueues? That was the approach taken by Jianfeng's earlier RFC. On Thu, Nov 19, 2015 at 2:57 AM, Tetsuya Mukawa wrote: > THIS IS A PoC IMPL

[dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

2015-11-19 Thread Patel, Rashmin N
What is the error code it failed with? There is no dependency between ESXi and DPDK versions as such. But depending your VM settings, it may pop up some issues related to memory assigned to VM. When you use NIC in Hypervisor and feed packets to VM via Vmxnet3, the guest OS can use Vmxnet3-pmd a

[dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

2015-11-19 Thread Karmarkar Suyash
Thanks Rashmin for the response. The error code is -1 and the box I am doing my experiments is Cisco B200-M3 which would support CISCO VNIC 1240 or 1340 NIC. The NIC is in hypervisor but what puzzles me is if there is no dependency with ESX the NIC initialization should have passed in both ESX

[dpdk-dev] [PATCH RFC v2 0/2] Reduce DPDK initialization time

2015-11-19 Thread Zhihong Wang
This RFC patch aims to reduce DPDK initialization time, which is important in cases such as micro service. Changes are: 1. Reduce timer initialization time 2. Remove unnecessary hugepage zero-filling operations With this patch: 1. Timer initialization time can be reduced by 4/10 second 2. Me

[dpdk-dev] [PATCH RFC v2 1/2] lib/librte_eal: Reduce timer initialization time

2015-11-19 Thread Zhihong Wang
Changing from 1/2 second to 1/10 doesn't compromise the precision, and a 4/10 second is worth saving. Signed-off-by: Zhihong Wang --- lib/librte_eal/linuxapp/eal/eal_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_timer.c b/lib/librte

[dpdk-dev] [PATCH RFC v2 2/2] lib/librte_eal: Remove unnecessary hugepage zero-filling

2015-11-19 Thread Zhihong Wang
The kernel fills new allocated (huge) pages with zeros. DPDK just has to touch the pages to trigger the allocation. Signed-off-by: Zhihong Wang --- lib/librte_eal/linuxapp/eal/eal_memory.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/lib/librte_eal/li