[dpdk-dev] [PATCH] app/test: Removed file-prefix option in eal_flags and multiprocess unit tests for FreeBSD

2014-11-15 Thread Pablo de Lara
eal_flags and multiprocess unit tests use --file-prefix option which is not supported in FreeBSD, so it has been removed if compiled for this OS Signed-off-by: Pablo de Lara --- app/test/test_eal_flags.c| 16 app/test/test_mp_secondary.c | 10 ++ 2 files changed,

[dpdk-dev] [PATCH 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG

2014-11-15 Thread Jayakumar, Muthurajan
Thank you very much Pablo. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara Sent: Saturday, November 15, 2014 11:13 AM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG tx_checksum

[dpdk-dev] [PATCH 4/4] doc: Various document fixes in testpmd UG

2014-11-15 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 2e64a3a..7dd9c3a 100644 --- a/doc/guides/

[dpdk-dev] [PATCH 3/4] doc: Moved commands in testpmd UG to match testpmd command help order

2014-11-15 Thread Pablo de Lara
Moved commands in testpmd UG to set queue rates to match order in testpmd command help. Created new section "Filters" to match that same section in testpmd UG, and moved all commands related to it there. Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1019 +++

[dpdk-dev] [PATCH 2/4] doc: Corrected info for tx_checksum set mask function, in testpmd UG

2014-11-15 Thread Pablo de Lara
tx_checksum set mask function now allows 4 extra bits in the mask for TX checksum offload Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/

[dpdk-dev] [PATCH 1/4] doc: Added new commands in testpmd UG

2014-11-15 Thread Pablo de Lara
Added info in testpmd functions section for the following commands: - tunnel_filter add - tunnel_filter rm - rx_vxlan_port add - rx_vxlan_port rm - port stop/start queue - set port mac address filter (for VF) Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 47 ++

[dpdk-dev] [PATCH 0/4] doc: Updated testpmd UG due to latest changes in the app

2014-11-15 Thread Pablo de Lara
TestPMD app has been added new commands, which should be reflected in the user guide. Also, this patchset fixes several typos and changes the location of the description of some commands. Pablo de Lara (4): doc: Added new commands in testpmd UG doc: Corrected info for tx_checksum set mask func

[dpdk-dev] [PATCH] app/testpmd: Added two missing commands in help

2014-11-15 Thread Pablo de Lara
set link-up and set link-down were not included in the help command. Signed-off-by: Pablo de Lara --- app/test-pmd/cmdline.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 4c3fc76..5d5b725 100644 --- a/app/test-pm

[dpdk-dev] socket programming with DPDK?

2014-11-15 Thread Choonho Son
Hi, I am making netflow collector with DPDK. I need to export result to another server with socket programming. But I can not include which defines struct sockaddr_in. How can I make application with traditional socket programming and DPDK? Thanks. Choonho Son

[dpdk-dev] socket programming with DPDK?

2014-11-15 Thread Thomas Monjalon
2014-11-15 08:28, Neil Horman: > On Sat, Nov 15, 2014 at 04:08:47PM +0900, Choonho Son wrote: > > I am making netflow collector with DPDK. > > I need to export result to another server with socket programming. > > But I can not include which defines struct sockaddr_in. > > > > How can I make appl

[dpdk-dev] Load-balancing position field in DPDK load_balancer sample app vs. Hash table

2014-11-15 Thread Yerden Zhumabekov
Hello Matt, You can specify RSS configuration through rte_eth_dev_configure() function supplied with this structure: struct rte_eth_conf port_conf = { .rxmode = { .mq_mode= ETH_MQ_RX_RSS, ... }, .rx_adv_conf = { .rss_conf = { .rss_key = NULL,

[dpdk-dev] socket programming with DPDK?

2014-11-15 Thread Ariel Rodriguez
Hi , im succesfully integrate boost asio c++ code with dpdk libraries. I do packet processing with dpdk collecting statistics of protocol usage and then use a extern function to send the statistics (custom struct) through a boost socket in c++ code. Boost libraries use netinet/in.h internally . May

[dpdk-dev] Load-balancing position field in DPDK load_balancer sample app vs. Hash table

2014-11-15 Thread Matt Laswell
Fantastic. Thanks for the assist. -- Matt Laswell laswell at infiniteio.com infinite io, inc. On Sat, Nov 15, 2014 at 1:10 AM, Yerden Zhumabekov wrote: > Hello Matt, > > You can specify RSS configuration through rte_eth_dev_configure() function > supplied with this structure: > > struct rte_

[dpdk-dev] [PATCH RFC] lib/librte_vhost: vhost-user

2014-11-15 Thread Huawei Xie
implement socket server fd event dispatch mechanism vhost sock message handling memory map for each region VHOST_USER_SET_VRING_KICK_FD as the indicator that vring is available VHOST_USER_GET_VRING_BASE as the message that vring should be released The message flow between vhost-user and vhost-cus

[dpdk-dev] socket programming with DPDK?

2014-11-15 Thread Neil Horman
On Sat, Nov 15, 2014 at 04:08:47PM +0900, Choonho Son wrote: > Hi, > > I am making netflow collector with DPDK. > I need to export result to another server with socket programming. > But I can not include which defines struct sockaddr_in. > > How can I make application with traditional socket pr

[dpdk-dev] vhost-user technical isssues

2014-11-15 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, November 13, 2014 7:53 PM > To: Xie, Huawei; dev at dpdk.org > Cc: Long, Thomas > Subject: Re: vhost-user technical isssues > > Hi Xie, > > (2014/11/14 9:22), Xie, Huawei wrote: > >> I think so.

[dpdk-dev] Enhance KNI DPDK-app-side to be Multi-Producer/Consumer

2014-11-15 Thread Marc Sune
On 14/11/14 22:05, Sanford, Robert wrote: > Hello Thomas, > > I want to discuss a small enhancement to KNI that we developed. We wanted > to send/receive mbufs between one KNI device and multiple cores, but we > wanted to keep the changes simple. So, here were our requirements: > > 1. Don't use hea

[dpdk-dev] Enhance KNI DPDK-app-side to be Multi-Producer/Consumer

2014-11-15 Thread Zhou, Danny
It will be always good if you can submit the RFC patch in terms of KNI optimization. On the other hand, do you have any perf. data to prove that your patchset could improve KNI performance which is the concern that most customers care about? We introduced multiple-threaded KNI kernel support la