[dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow

2014-02-27 Thread Daniel Kan
The symmetric RSK for 5-tuple is a generalized case for 2-tuple src ip/dst ip. You can use the same RSK to get the symmetric load balancing. Dan On Feb 27, 2014, at 5:08 PM, Stefan Baranoff wrote: > Has anyone already applied this logic to IP only load balancing to get > SRC/DST and DST/SRC

[dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow

2014-02-27 Thread Stefan Baranoff
Has anyone already applied this logic to IP only load balancing to get SRC/DST and DST/SRC on the same queue and come up with an RSK value? If not I'll spend some time with a calculator and see if I can get one. Thanks, Stefan Sent from my smart phone; people don't make typos, Swype does! On Feb

[dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow

2014-02-27 Thread Daniel Kan
Thanks, Sangjin. This is exactly i?m looking for. Sorry, I should?ve googled it first. It?s good to know that hash key of repetitive 0x6d5a still yields good load balancing results. Dan On Feb 27, 2014, at 4:24 PM, Sangjin Han wrote: > Hi, > > This is exactly what you want: > http://www.ndsl

[dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow

2014-02-27 Thread Sangjin Han
Hi, This is exactly what you want: http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf Sangjin On Thu, Feb 27, 2014 at 4:22 PM, Daniel Kan wrote: > Hi, > It appears that the hash computed from RSS is unidirectional. Hence, for a > 5-tuple flow, packet in one direction can be routed to a que

[dpdk-dev] Is it possible to get symmetric hash from RSS for a given flow

2014-02-27 Thread Daniel Kan
Hi, It appears that the hash computed from RSS is unidirectional. Hence, for a 5-tuple flow, packet in one direction can be routed to a queue that may be different than packet in the other direction. I?m wondering if there is a configuration or mechanism to get a symmetric hash so that all packe

[dpdk-dev] Issues with multiple DPDK instances

2014-02-27 Thread Mats Liljegren
I'm trying to get multiple DPDK instances (processes) but seems to have problems with getting the multiple queues that this (as far as I understand it) requires. I'm using the following command line for the host: sudo insmod igb max_vfs=0,1,1,0 VMDQ=0,2,2,0 The idea here is that first and last in

[dpdk-dev] Error building using 1.6.0r1

2014-02-27 Thread Mats Liljegren
I run a 64-bit host building for 32-bit DPDK, which fails with: dpdk/i686-default-linuxapp-gcc$ make == Build scripts == Build scripts/testhost == Build lib == Build lib/librte_eal == Build lib/librte_eal/common == Build lib/librte_eal/linuxapp == Build lib/librte_eal/linuxapp/igb_uio Building m

[dpdk-dev] [dpdk-announce] DPDK 1.6.0r1 released

2014-02-27 Thread Thomas Monjalon
The new release can be downloaded here: http://dpdk.org/browse/dpdk/tag/?id=v1.6.0r1 Since 1.5.2 releases, the most important changes are: - FreeBSD support - xen dom0 support - xenvirt PMD (for domU) - ivshmem integration - vhost backend application

[dpdk-dev] l2fwd/l3fwd performance drop of about 25% ?

2014-02-27 Thread Richardson, Bruce
> Hi all, > > I have a quick question regarding the performance of DPDK l2fwd (Same > problem with l3fwd). I am seeing that when we start multiple ports (e.g., > 12 ports), for 64 byte packets, the RX rate is only at around 11 Mpps per > port, instead of 14.88 Mpps which is the line rate (with pre

[dpdk-dev] [PATCH 1.6.1] don't inline rte_string_fns

2014-02-27 Thread Stephen Hemminger
The function rte_snprintf() can never be inlined by Gcc. If compiled with -Winline it generates an error: function ?rte_snprintf? can never be inlined because it uses variable argument lists [-Werror=inline] Therefore since both rte_snprintf and rte_strsplit are not performance sensitive just m