[dpdk-dev] Unable to start DPDK+Netshard

2016-08-22 Thread harshavardhan Reddy
try o increase the hugepages to 4GB and run once again. Also it depends on how much memory u are reserving in mempools and for rings.. Regards, HVR On Sun, Aug 21, 2016 at 4:08 PM, wrote: > Hi , > > When I start netshard with dpdk-pmd stack , getting the below error > > RING: Cannot reserve mem

[dpdk-dev] Unable to start DPDK+Netshard

2016-08-22 Thread jayachandran.subraman...@wipro.com
HI HVR, Thanks a lot after increasing Huge pages to 1536 Mb , issue got resolved. Also could you please let me know , we needs to configure the same Huge page/isolscpus in grub configuration . Could you please help me on that ! Thanks Jay From: harshavardhan Reddy [mailto:hvreddy1...@gmail.c

[dpdk-dev] Unable to start DPDK+Netshard

2016-08-22 Thread harshavardhan Reddy
Edit the /etc/default/grub file, and add the following to the GRUB_CMDLINE_LINUX entry: GRUB_CMDLINE_LINUX="hugepagesz=1G hugepages= default_hugepagesz=1G" There only you can mention cpu isolation also. After modifying run grub2-mkconfig -o /boot/grub2/grub.cfg reboot system Regards, Harsha On

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

2016-08-22 Thread Panu Matilainen
On 08/19/2016 03:16 PM, Zhiyong Yang wrote: > This feature adds vhost pmd extended statistics from per queue perspective > for the application such as OVS etc. > > The statistics counters are based on RFC 2819 and 2863 as follows: > > rx/tx_good_packets > rx/tx_total_bytes > rx/tx_dropped_pkts > rx

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

2016-08-22 Thread Maxime Coquelin
Hi Zhihong, On 08/19/2016 07:43 AM, Zhihong Wang wrote: > This patch set optimizes the vhost enqueue function. > > It implements the vhost logic from scratch into a single function designed > for high performance and good maintainability, and improves CPU efficiency > significantly by optimizing c

[dpdk-dev] Error: unbind failed

2016-08-22 Thread Nirmoy Das
make sure uio_pci_generic driver is loaded. Checking dmesg might give more info On 08/21/2016 04:17 PM, Keren Hochman wrote: > Hello, > I installed dpdk on ubuntu VM. when I tried to bind the device to the driver > I received the following error: > /dpdk-devbind.py --bind=uio_pci_generic eth3 >

[dpdk-dev] [PATCH v3 1/5] vhost: rewrite enqueue

2016-08-22 Thread Maxime Coquelin
On 08/19/2016 07:43 AM, Zhihong Wang wrote: > This patch implements the vhost logic from scratch into a single function > designed for high performance and better maintainability. > > --- > Changes in v3: > > 1. Rewrite enqueue and delete the obsolete in the same patch. > > Signed-off-by: Zhihon

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

2016-08-22 Thread Maxime Coquelin
On 08/22/2016 10:11 AM, Maxime Coquelin wrote: > Hi Zhihong, > > On 08/19/2016 07:43 AM, Zhihong Wang wrote: > > This patch set optimizes the vhost enqueue function. > > > > It implements the vhost logic from scratch into a single function > > designed > > for high performance and good maintainabi

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

2016-08-22 Thread Thomas Monjalon
2016-08-22 12:01, Maxime Coquelin: > I forgot to add that before this series, I think we should first fix the > windows bug. > Else we will need a dedicated fix for the stable branch. This is a funny situation :) If Zhihong had reworked the code without mentioning it is fixing a scenario with Win

[dpdk-dev] [PATCH 0/2] examples/ipsec_secgw: add configuration file support

2016-08-22 Thread Fan Zhang
This patchset adds the configuration file supported to ipsec_secgw sample application. Two sample configuration files, ep0.cfg and ep1.cfg are also added to show how to configure two systems back-to-back that would forward traffic through an IPsec tunnel v5 change: - fix missed SA cipher key leng

[dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add sample configuration files

2016-08-22 Thread Fan Zhang
This patch adds two sample configuration files to ipsec-secgw sample application. The sample configuration files shows how to set-up systems back-to-back that would forward traffic through an IPsec tunnel. Signed-off-by: Fan Zhang --- examples/ipsec-secgw/ep0.cfg | 160 ++

[dpdk-dev] [PATCH 1/2] examples/ipsec-secgw: add configuration file support

2016-08-22 Thread Fan Zhang
This patch adds the configuration file support to ipsec_secgw sample application. Instead of hard-coded rules, the users can specify their own SP, SA, and routing rules in the configuration file. An command line option "-f" is added to pass the configuration file location to the application. Confi

[dpdk-dev] [PATCH v2] net/i40e: fix Rx statistic inconsistent

2016-08-22 Thread Thomas Monjalon
Hi, 2016-08-09 02:18, Zhao1, Wei: > According to your suggestion and meeting last week with harry ,I have supply > a v3 patch for this problem. > [dpdk-dev,v3] net/i40e: fix Rx statistic inconsistent , Permalink > :/dev/patchwork/patch/15161/. Please use --in-reply-to to send new version of a

[dpdk-dev] [PATCH 4/4] net/vmxnet3: enable lro

2016-08-22 Thread Thomas Monjalon
2016-08-12 17:58, Yong Wang: > + DEV_RX_OFFLOAD_TCP_LRO; You should update doc/guides/nics/features/vmxnet3.ini accordingly. Thanks

[dpdk-dev] [PATCH] mk: gcc -march support for intel processors code names

2016-08-22 Thread Thomas Monjalon
2016-08-15 16:02, Reshma Pattan: > The GCC 4.9 -march option supports the intel code names for processors, > for example -march=silvermont, -march=broadwell. > The RTE_MACHINE config flag can be used to pass code name to > the compiler as -march flag. Also old gcc versions compatibility code > for

[dpdk-dev] ipv4 fragmentation bug?

2016-08-22 Thread Thomas Monjalon
Hi, > 2016-08-15 20:30 GMT+03:00 ? ??? : > > While playing with function rte_ipv4_fragment_packet I found that it > > incorrectly fragments packets. > > For example if the function takes 1200 bytes packet and mtu size 1000 it > > will produces two fragments. And when those fragments ar

[dpdk-dev] [PATCH] mk: gcc -march support for intel processors code names

2016-08-22 Thread Pattan, Reshma
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, August 22, 2016 12:25 PM > To: Pattan, Reshma > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: gcc -march support for intel processors > code names > > 2016-08-15 16:02, Reshma

[dpdk-dev] XL710 with i40e driver drops packets on RX even on a small rates.

2016-08-22 Thread Ilya Maximets
Hello, All. I've faced with a really bad situation with packet drops on a small packet rates (~45 Kpps) while using XL710 NIC with i40e DPDK driver. The issue was found while testing PHY-VM-PHY scenario with OVS and confirmed on PHY-PHY scenario with testpmd. DPDK version 16.07 was used in all c

[dpdk-dev] [PATCH] mk: gcc -march support for intel processors code names

2016-08-22 Thread Thomas Monjalon
2016-08-22 11:46, Pattan, Reshma: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2016-08-15 16:02, Reshma Pattan: > > > The GCC 4.9 -march option supports the intel code names for > > > processors, for example -march=silvermont, -march=broadwell. > > > The RTE_MACHINE config flag

[dpdk-dev] Best Practices for PMD Verification before Upstream Requests

2016-08-22 Thread Thomas Monjalon
2016-08-17 08:34, Shepard Siegel: > Atomic Rules is new to the DPDK community. We attended the DPDK Summit last > week and received terrific advice and encouragement. We are developing a > DPDK PMD for our Arkville product which is a DPDK-aware data mover, capable > of marshaling packets between FP

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

2016-08-22 Thread Thomas Monjalon
2016-08-18 10:36, Tan, Jianfeng: > From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] > > > On 8/17/2016 7:18 PM, Maxime Coquelin wrote: > > >> On 08/17/2016 04:33 AM, Tan, Jianfeng wrote: > > >>> b. Abstract switching logic into a framework, so that we can develop > > >>> different kind

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

2016-08-22 Thread Thomas Monjalon
2016-08-18 16:48, Yuanhan Liu: > remove vhost-cuse code, including the eventfd_link kernel module that > is for vhost-cuse only. Please, remove also the deprecation notice. Thanks

[dpdk-dev] [PATCH] mk:fix second compile error

2016-08-22 Thread Thomas Monjalon
2016-08-09 14:01, xu, huilong: > when compile different targets on a same environment. > The second compile will failed, because test_resource obj file > can't auto clearn by makfile. I don't understand the error. Please provide commands and output.

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

2016-08-22 Thread Yuanhan Liu
On Mon, Aug 22, 2016 at 03:46:11PM +0200, Thomas Monjalon wrote: > 2016-08-18 16:48, Yuanhan Liu: > > remove vhost-cuse code, including the eventfd_link kernel module that > > is for vhost-cuse only. > > Please, remove also the deprecation notice. Thanks Yes, David also reminded me about that soo

[dpdk-dev] [PATCH] vhost: add back support for concurrent enqueue

2016-08-22 Thread Yuanhan Liu
On Thu, Aug 18, 2016 at 11:27:06AM -0700, Rich Lane wrote: > On Mon, Aug 15, 2016 at 7:37 PM, Yuanhan Liu > wrote: > > On Mon, Aug 15, 2016 at 01:00:24PM -0700, Rich Lane wrote: > > Concurrent enqueue is an important performance optimization when the > number > > of cores used for

[dpdk-dev] [PATCH v2] mk: gcc -march support for intel processors code names

2016-08-22 Thread Reshma Pattan
The GCC 4.9 -march option supports the intel code names for processors, for example -march=silvermont, -march=broadwell. The RTE_MACHINE config flag can be used to pass code name to the compiler as -march flag. Also old gcc versions compatibility code for the intel platform is removed from mk/toolc

[dpdk-dev] [PATCH v1] doc: fix broken link in docs

2016-08-22 Thread deirdre.o.con...@intel.com
From: Deirdre O'Connor Fixes: 58abf6e77c6b ("doc: add contributors guide") Suggested-by: Jon Loeliger Signed-off-by: Deirdre O'Connor --- doc/guides/contributing/patches.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/contributing/patches.rst b/doc/guides/c

[dpdk-dev] [RFC v2] ethdev: introduce generic flow API

2016-08-22 Thread John Fastabend
On 16-08-19 12:32 PM, Adrien Mazarguil wrote: > This new API supersedes all the legacy filter types described in > rte_eth_ctrl.h. It is slightly higher level and as a result relies more on > PMDs to process and validate flow rules. > > It has the following benefits: > > - A unified API is easier

[dpdk-dev] [RFC v2] Generic flow director/filtering/classification API

2016-08-22 Thread John Fastabend
On 16-08-19 12:32 PM, Adrien Mazarguil wrote: > Hi All, > > Thanks to many for the positive and constructive feedback I've received so > far. Here is the updated specification (v0.7) at last. > > I've attempted to address as many comments as possible but could not > process them all just yet. A n

[dpdk-dev] [PATCH] table: add missing exports

2016-08-22 Thread Thomas Monjalon
> > Signed-off-by: Aleksey Katargin > > Acked-by: Cristian Dumitrescu Fixes: 8aa327214ceb ("table: hash") Fixes: 68866e2417cc ("table: add 16-byte hash operations computed on lookup") Applied, thanks

[dpdk-dev] [PATCH v2] contigmem: zero all pages during mmap

2016-08-22 Thread Thomas Monjalon
2016-08-16 15:46, Jim Harris: > On Linux, all huge pages are zeroed by the kernel before > first access by the DPDK application. But on FreeBSD, > the contigmem driver would only zero the contiguous > memory regions during initial driver load. > > DPDK commit b78c91751 eliminated the explicit mem

[dpdk-dev] [PATCH] doc: fix old dpdk-nic-bind.py references

2016-08-22 Thread Thomas Monjalon
> > dpdk-nic-bind.py script has been renamed to dpdk-devbind.py, > > but some references to the old script have remained. > > This commit completes the renaming. > > > > Fixes: a5d7a3f77ddc ("unify tools naming") > > > > Signed-off-by: Pablo de Lara > > I like the cleanups for consistency! > > A