[dpdk-dev] Testing memnic for VM to VM transfer

2014-07-03 Thread GongJinrong
Hi, Thomas, I cannot find the host-sim, where can I get it? -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of GongJinrong Sent: Thursday, July 03, 2014 2:35 PM To: 'Thomas Monjalon'; 'Hiroshi Shimamoto' Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Testing memnic for

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Yong Liu
After enable vector pmd, qos_sched only send 32 packets every burst. That will cause some packets not transmitted and therefore mempool will be drain after a while. App qos_sched now will re-send the packets which failed to send out in previous tx function. Signed-off-by:

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Thomas Monjalon
2014-07-03 16:59, Yong Liu: > After enable vector pmd, qos_sched only send 32 packets every burst. > That will cause some packets not transmitted and therefore mempool > will be drain after a while. > App qos_sched now will re-send the packets which failed to send out in >

[dpdk-dev] [PATCH] i40e: warnings should include i40e in some example applications

2014-07-03 Thread Helin Zhang
As i40e introduced recently in DPDK, the warnings should include i40e when no supported NIC port found during initialization at least in below example applications. * app/testpmd * exception_path * kni Signed-off-by: Helin Zhang --- app/test-pmd/testpmd.c | 3 ++-

[dpdk-dev] Question on huge pages and running DPDK apps inside containers

2014-07-03 Thread Anjali Kulkarni
Ignore the previous email, it was too long. Pls see this one only: Thanks - I got a confirmation from some Intel folks earlier that Intel DPDK apps do work inside containers. Also, the weird thing is, testpmd application runs in the container using lxc-execute. Lxc-execute runs the app inside

[dpdk-dev] Question on huge pages and running DPDK apps inside containers

2014-07-03 Thread Anjali Kulkarni
Thanks - I got a confirmation from some Intel folks earlier that Intel DPDK apps do work inside containers. Also, the weird thing is, testpmd application runs in the container using lxc-execute. Lxc-execute runs the app inside container. It works, see below: root at

[dpdk-dev] Question on huge pages and running DPDK apps inside containers

2014-07-03 Thread Shaw, Jeffrey B
Do you know if the host's hugepages are mapped into the container? Seeing as containers are meant to provide isolation, it seems to make sense that the host would not automatically share hugepages with a container, but I'm not sure. Jeff -Original Message- From: dev

[dpdk-dev] Question on huge pages and running DPDK apps inside containers

2014-07-03 Thread Anjali Kulkarni
Hi, I am encountering a problem running DPDK apps inside containers, and need your help: I create containers by doing: lxc-create -t ubuntu -n fpc0 lxc-start -n fpc0 (Reserve hugepages and follow all other steps to run the DPDK app on host) Then run a standard dpdk app, on host, it works

[dpdk-dev] Testing memnic for VM to VM transfer

2014-07-03 Thread Thomas Monjalon
2014-07-03 19:03, GongJinrong: > Hi, Thomas, I cannot find the host-sim, where can I get it? In memnic repository: http://dpdk.org/browse/memnic/commit/?id=18e78437e75ef3f -- Thomas

[dpdk-dev] Building DPDK Libraries with Libtool

2014-07-03 Thread Thomas Monjalon
Hi, 2014-07-03 08:30, Stokes, Ian: > I have been using DPDK with Openvswitch. The latest release of Openvswitch > has started to use Libtools to build it's own internal libraries. Previous > to this I built DPDK using DPDKs Makefiles and linked against the required > DPDK libraries in the

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Dumitrescu, Cristian
Acked-by: Cristian Dumitrescu -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yong Liu Sent: Thursday, July 3, 2014 10:00 AM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets After enable vector pmd, qos_sched

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Dumitrescu, Cristian
>>How about "mbufs += ret" rather than "mbufs = (struct rte_mbuf >>**)[ret]"? Functionally it is the same, but "mbufs = (struct rte_mbuf **)[ret]" is likely less prone to compiler warnings, so my vote is to keep it as it is and get this patch integrated asap into 1.7. Regards, Cristian

[dpdk-dev] KNI hw Address.

2014-07-03 Thread Padam J. Singh
Zhang, Alex, Please see the patch I had submitted a few days back which allows setting the MAC address using ifconfig ... hw ether MAC-ADDRESS An "ifconfig DEV up" , followed by this sets the MAC address. Thanks, Padam On 03-Jul-2014, at 10:26 am, Zhang, Helin wrote: > >> -Original

[dpdk-dev] [PATCH v2 3/3] vmxnet3: Added macro adding VMXNET3 to the list of recognized PCI devices.

2014-07-03 Thread Maciej Gajdzica
Signed-off-by: Maciej Gajdzica --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c index 3fe6f1c..00c9a8d 100644 --- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c +++

[dpdk-dev] [PATCH v2 2/3] vmxnet3: Added makefile entries to compile VMXNET3 driver under FreeBSD.

2014-07-03 Thread Maciej Gajdzica
Signed-off-by: Maciej Gajdzica --- config/common_bsdapp | 10 ++ 1 file changed, 10 insertions(+) diff --git a/config/common_bsdapp b/config/common_bsdapp index 578d510..87edada 100644 --- a/config/common_bsdapp +++ b/config/common_bsdapp @@ -177,6 +177,16 @@

[dpdk-dev] [PATCH v2 1/3] vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD.

2014-07-03 Thread Maciej Gajdzica
Signed-off-by: Maciej Gajdzica --- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c index cb711dc..69e01c1 100644 --- a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c +++

[dpdk-dev] [PATCH v2 0/3] VMXNET3 support for FreeBSD.

2014-07-03 Thread Maciej Gajdzica
Enabled VMXNET3 compilation for FreeBSD in the makefiles. Fixed some minor issues to make it run. v2: Removed patch with comments update. Maciej Gajdzica (3): vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD. vmxnet3: Added makefile entries to compile

[dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M packets

2014-07-03 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yong Liu > Sent: Thursday, July 03, 2014 5:00 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] examples/qos_sched: fix flow pause after 2M > packets > > After enable vector pmd, qos_sched only send

[dpdk-dev] Building DPDK Libraries with Libtool

2014-07-03 Thread Stokes, Ian
Hi, I have been using DPDK with Openvswitch. The latest release of Openvswitch has started to use Libtools to build it's own internal libraries. Previous to this I built DPDK using DPDKs Makefiles and linked against the required DPDK libraries in the Openvswitch Makefiles. However because of

[dpdk-dev] [PATCH 5/7] virtio: fix build of debug dump

2014-07-03 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 02, 2014 11:03 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 5/7] virtio: fix build of debug dump > > The commit 591a9d7985c1230 (add FILE argument to debug

[dpdk-dev] [PATCH v2 0/3] VMXNET3 support for FreeBSD.

2014-07-03 Thread Neil Horman
On Thu, Jul 03, 2014 at 10:32:29AM +0100, Maciej Gajdzica wrote: > Enabled VMXNET3 compilation for FreeBSD in the makefiles. Fixed some > minor issues to make it run. > > v2: > Removed patch with comments update. > > Maciej Gajdzica (3): > vmxnet3: Removed unused include that broke VMXNET3

[dpdk-dev] non-x86 ? Re: Would DPDK run on AMD processors

2014-07-03 Thread Derek Wasely
how about running DPDK on other processors ??? Any licensing restriction on using it on non-x86 arch ?? Does it work automatically on say? PPC or OCTEON ? Derek -- Hi, Has anybody attempted to run DPDK on AMD processors. Does it run straightforward or would there be some obvious issues where

[dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug

2014-07-03 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, July 2, 2014 11:03 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 7/7] ixgbe/base: fix build with debug > > The upgraded base driver, especially commit 9ba80bde4c,

[dpdk-dev] [PATCH] kni: allow setting KNI device MAC address

2014-07-03 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Padam Jeet Singh > Sent: Tuesday, July 1, 2014 10:14 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] kni: allow setting KNI device MAC address > > Added relevant callback function to change a KNI

[dpdk-dev] KNI hw Address.

2014-07-03 Thread Zhang, Helin
> -Original Message- > From: Padam J. Singh [mailto:padam.singh at inventum.net] > Sent: Thursday, July 3, 2014 1:06 PM > To: Zhang, Helin > Cc: Alex Markuze; dev at dpdk.org > Subject: Re: [dpdk-dev] KNI hw Address. > > Zhang, Alex, > > Please see the patch I had submitted a few days

[dpdk-dev] KNI hw Address.

2014-07-03 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alex Markuze > Sent: Wednesday, July 2, 2014 11:57 PM > To: dev at dpdk.org > Subject: [dpdk-dev] KNI hw Address. > > Hi, I'm playing with KNI on a VM (kvm), the Interface that is created has no > MAC address

[dpdk-dev] [dpdk-announce] release candidate 1.7.0-rc4

2014-07-03 Thread Thomas Monjalon
The fourth release candidate of version 1.7.0 can be downloaded here: http://dpdk.org/browse/dpdk/tag/?id=v1.7.0-rc4 Please test it. It was not planned but we found some last minute bugs, especially when building with non-default options. I hope we'll be able to release it very soon.

[dpdk-dev] [PATCH 0/7] build fixes

2014-07-03 Thread Thomas Monjalon
2014-07-02 17:57, Richardson, Bruce: > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > Sent: Wednesday, July 02, 2014 8:03 AM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH 0/7] build fixes > > > > When enabling pcap PMD or