[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Qiu, Michael
On 2015/8/10 9:11, Zhang, Helin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon >> Sent: Monday, August 10, 2015 6:38 AM >> To: Xu, Qian Q >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH]doc: Add performance tuning guide

[dpdk-dev] [PATCH v2] examples/l3fwd: fix compilation issue when using exact-match

2015-08-10 Thread Thomas Monjalon
2015-08-10 18:58, Thomas Monjalon: > Hi Pablo, > > 2015-08-09 11:28, Pablo de Lara: > > From: "Pablo de Lara" > > > > L3fwd was trying to use an inexistent function "simple_ipv6_fwd_4pkts", > > instead it should be "simple_ipv6_fwd_8pkts", and "simple_ipv8_fwd_4pkts" > > instead of

[dpdk-dev] [PATCH v2] examples/l3fwd: fix compilation issue when using exact-match

2015-08-10 Thread Thomas Monjalon
Hi Pablo, 2015-08-09 11:28, Pablo de Lara: > From: "Pablo de Lara" > > L3fwd was trying to use an inexistent function "simple_ipv6_fwd_4pkts", > instead it should be "simple_ipv6_fwd_8pkts", and "simple_ipv8_fwd_4pkts" > instead of "simple_ipv4_fwd_8pkts". > > Fixes: 80fcb4d4 ("examples/l3fwd:

[dpdk-dev] [PATCH] examples/kni: Fix segmentation fault at program exit

2015-08-10 Thread Thomas Monjalon
> > In kni_free_kni(), p[i] should be p[port_id] > > > > Signed-off-by: Hyun Yoo > Acked-by: Helin Zhang Applied, thanks

[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Thomas Monjalon
Hi Helin, Your comment is unreadable. Please remove useless lines of your reply.

[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Zhang, Helin
Sorry for repeat! I should have removed the useless pieces! > +Hardware platform Network Interface Card Essential requirements: > + > > + > +1. Get an high end Intel(r) NIC, e.g: Intel(r) XL710. > + > +2. Make sure each NIC has

[dpdk-dev] [PATCH v2] test: fix test_tlb_tx_burst

2015-08-10 Thread Thomas Monjalon
> Test failed on verification if number of bytes > transmitted on each slave is not less than 90% > and greater than 110% of mean value of bytes transmitted > thru one slave. This was verified on a real system > but is difficult to achieve using virtualpmd. > That's why for unit tests only, it is

[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, August 10, 2015 6:38 AM > To: Xu, Qian Q > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH]doc: Add performance tuning guide about how > to get DPDK high perf on Intel

[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Qian Xu > Sent: Sunday, August 9, 2015 11:35 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH]doc: Add performance tuning guide about how to > get DPDK high perf on Intel platform. > > Signed-off-by:

[dpdk-dev] [PATCH 2/2] mem: fix freeing an IVSHMEM memzone

2015-08-10 Thread Thomas Monjalon
2015-08-07 16:27, Sergio Gonzalez Monroy: > There is no sync between host and guest to allow removal of memzones, > and freeing them result in undefined behavior. > > In the guest, we identify IVSHMEM memsegs/memzones by having > ioremap_addr != 0. In the host, nothing is done to the memzone,

[dpdk-dev] How to do packet mirroring

2015-08-10 Thread Masoud Moshref Javadi
Hi I want to know how the pool mirroring works in dpdk. Can I only mirror to another physical port or I can make NIC mirror packets to an application running on the server? What I want is to just monitor every packet received or sent from the NIC. I wanted to test the feature using testpmd

[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Thomas Monjalon
Hi, Thanks for adding more helpful documentation. 2015-08-10 14:34, Qian Xu: > Signed-off-by: Qian Xu The Sign-off line must be below the commit message. > Add a new guide doc under guides folder. This document is a step-by-step > guide about how to get high performance with > DPDK on

[dpdk-dev] [PATCH]doc: Add performance tuning guide about how to get DPDK high perf on Intel platform.

2015-08-10 Thread Qian Xu
Signed-off-by: Qian Xu Add a new guide doc under guides folder. This document is a step-by-step guide about how to get high performance with DPDK on Intel's platform and NICs. It is designed for users who are not familiar with DPDK but would like to measure the best performance. It contains

[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-10 Thread Tetsuya Mukawa
On 2015/08/08 7:06, Ravi Kerur wrote: > Hi Tetsuya, > > On Thu, Aug 6, 2015 at 7:25 PM, Tetsuya Mukawa > wrote: > > On 2015/08/07 3:04, Ravi Kerur wrote: > > diff --git a/drivers/net/enic/enic_ethdev.c > b/drivers/net/enic/enic_ethdev.c > > index

[dpdk-dev] [dpdk-dev,3/3] acl: mark deprecated functions

2015-08-10 Thread Butler, Siobhan A
Hi Stephen Would you be able to patch in some notices to the Depreciation section of the documentation for these changes? Thanks Siobhan

[dpdk-dev] Performance of rte_ring APIs

2015-08-10 Thread Bruce Richardson
On Fri, Aug 07, 2015 at 10:07:07AM -0700, Gopakumar Choorakkot Edakkunni wrote: > Hi All, > > I have an extremely simple test - I have just one single DPDK EAL > thread which pulls packets from one 10G port and just puts the packet > exactly as is (no changes) on another 10G port - I get

[dpdk-dev] TX-packet counter increased when no packets were actually sent

2015-08-10 Thread Bruce Richardson
On Thu, Aug 06, 2015 at 02:46:53PM +0200, Stefan Binna wrote: > Hi, > > I have created a little testbed for DPDK testing. > > NIC: Intel Gigabit 82574L (1-port) > > The testbed for DPDK has following structure: > > 1) al40-118 (10.100.40.118/24): DUT running the DPDK application > 2) al40-119

[dpdk-dev] [PATCH] rte_ethdev: whitespace cleanup

2015-08-10 Thread Stephen Hemminger
From: Stephen Hemminger Cleanup whitespace and other trivial warnings from checkpatch. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.h | 54 +-- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git

[dpdk-dev] [PATCH] vchost: Notify application of ownership change

2015-08-10 Thread Jan Kiszka
On 2015-08-10 03:20, Ouyang, Changchun wrote: >> -Original Message- >> From: Jan Kiszka [mailto:jan.kiszka at siemens.com] >> Sent: Saturday, August 8, 2015 2:43 PM >> To: Ouyang, Changchun; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] vchost: Notify application of ownership >>

[dpdk-dev] Crash when 'ifconfig vEth0 X.X.X.X'

2015-08-10 Thread Hyun Yoo
After kni, I want to wake vEth0 up automatically. so, I executed 'ifconfig vEth0 X.X.X.X' programatically with various ways. A) put system('ifconfig...)' right after check_all_ports_link_status() in main() examples/kni/main.c B) put system('ifconfig...)' in callback using

[dpdk-dev] [PATCH] testpmd: modify the mac of csum forwarding

2015-08-10 Thread Qiu, Michael
On 2015/8/7 17:13, Ouyang, Changchun wrote: > >> [.../...] >> >> eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *); >> +ether_addr_copy(_eth_addrs[fs->peer_addr], >> +_hdr->d_addr); >> +ether_addr_copy([fs->tx_port].eth_addr, >> +

[dpdk-dev] [PATCH v3 1/1] bonding: fix device initialisation error handling

2015-08-10 Thread Thomas Monjalon
> > If the name parameter to rte_eth_bond_create() was NULL, > > there was a segmentation fault because eth_dev was also NULL. > > Add error handling of mac_addrs memory allocation. > > Add call to rte_eth_dev_release_port() in error handling. > > > > Signed-off-by: Bernard Iremonger > Acked-by:

[dpdk-dev] [PATCH v2] bonding: 8023ad: fix incorrect typecast of socket

2015-08-10 Thread Thomas Monjalon
> > On slave activation in LACP (8023AD) SOCKET_ANY_ID (which is -1) > > is being casted to unsigned char and then to signed int. > > The result is that socket_id has value of 255, not -1. > > This results to memory allocation failure. > > > > Signed-off-by: Sergey Balabanov > > Acked-by: Pablo

[dpdk-dev] [PATCH] vchost: Notify application of ownership change

2015-08-10 Thread Ouyang, Changchun
> -Original Message- > From: Jan Kiszka [mailto:jan.kiszka at siemens.com] > Sent: Saturday, August 8, 2015 2:43 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vchost: Notify application of ownership > change > > On 2015-08-08 02:25, Ouyang, Changchun

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-10 Thread Ouyang, Changchun
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, August 9, 2015 4:56 PM > To: Jan Kiszka > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: Re: [dpdk-dev] vhost-switch example: huge memory need and CRC > off-loading issue > > 2015-08-08