[dpdk-dev] Memory corruption in librte_ether?

2014-10-17 Thread Marc Sune
Hi all, I was rebasing the KNI mempool v4 patch(I have it finalised, but wanted to check) to the latest master HEAD (075e064089e1c2b6899db58c69be1a387eb5ffa7) when I ran into problems with the current KNI example with em interfaces in a VM. I then switched to master's head and retried (so with

[dpdk-dev] [PATCH v2 2/3] i40e: extern two functions and relevant macros

2014-10-17 Thread Thomas Monjalon
2014-09-19 09:14, Helin Zhang: > To reuse code, 'i40e_config_hena()' and 'i40e_parse_hena()' and > their relevant macros need to be extern, and then can be used for > both PF and VF parts. > > Signed-off-by: Helin Zhang > Reviewed-by: Cunming Liang > Reviewed-by: Jijiang Liu [...] > +#define I4

[dpdk-dev] IPC/message passing between DPDK application and non-DPDK userspace application

2014-10-17 Thread Kamraan Nasim
Greetings, I am still a DPDK newbie so not really sure how to go about doing this... I have a DPI daemon running in userspace which uses libpcap for packet RX that I would like to replace with DPDK ethernet PMD. However it is not feasible to convert the entire application to run within the DPDK f

[dpdk-dev] [v2 20/23] librte_cfgfile: interpret config files

2014-10-17 Thread Thomas Monjalon
2014-10-17 18:16, Dumitrescu, Cristian: > Hi Tomas, > > Yes, you're right, we need to close on this pending item. > Thanks for bringing it up. > > I am currently working on a patch series, once I send it out > I will come back and look into to qos_sched. Is this OK with you? Yes, thank you. > -

[dpdk-dev] [v2 20/23] librte_cfgfile: interpret config files

2014-10-17 Thread Dumitrescu, Cristian
Hi Tomas, Yes, you're right, we need to close on this pending item. Thanks for bringing it up. I am currently working on a patch series, once I send it out I will come back and look into to qos_sched. Is this OK with you? Regards, Cristian -Original Message- From: Thomas Monjalon [mai

[dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition

2014-10-17 Thread Wu, Jingjing
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 17, 2014 5:08 PM > To: Wu, Jingjing > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition > > 2014-10-17 07:29, Jingjing Wu: > > Defin

[dpdk-dev] [PATCH v6] distributor_app: new sample app

2014-10-17 Thread Reshma Pattan
A new sample app that shows the usage of the distributor library. This app works as follows: * An RX thread runs which pulls packets from each ethernet port in turn and passes those packets to worker using a distributor component. * The workers take the packets in turn, and determine the output

[dpdk-dev] Dynamic port/pipe QoS configuration

2014-10-17 Thread satish
Hi, Can someone please respond to below? Thank you. On Mon, Oct 13, 2014 at 3:54 PM, satish wrote: > Hi, > We are trying to provide QoS support for one of our clients using > rte_sched. > In our implementation we are treating each pipe as a customer. > So, we can have maximum of 4096 customers p

[dpdk-dev] [PATCH] test: fbk hash - fix errors with large nb entries

2014-10-17 Thread Bruce Richardson
The four-byte-key (fbk) autotest was allocating the keys to be used for the test on the stack. When the number of entries in the table was increased significantly, for example, to test larger hashes by increase the value of ENTRIES, this array of keys was greater than that allowed on the stack, and

[dpdk-dev] [PATCH] test: fbk hash - fix errors with large nb entries

2014-10-17 Thread Bruce Richardson
On Fri, Oct 17, 2014 at 12:38:05PM +0100, Bruce Richardson wrote: > On Fri, Oct 17, 2014 at 12:34:05PM +0100, y at ecsmtp.ir.intel.com wrote: > > From: Bruce Richardson > > > > Oops, apologies for the screwed-up origin address! Pressed "y" for "yes, I > do want my emails to come from 'bruce.rich

[dpdk-dev] [PATCH] test: fbk hash - fix errors with large nb entries

2014-10-17 Thread Bruce Richardson
On Fri, Oct 17, 2014 at 12:34:05PM +0100, y at ecsmtp.ir.intel.com wrote: > From: Bruce Richardson > Oops, apologies for the screwed-up origin address! Pressed "y" for "yes, I do want my emails to come from 'bruce.richardson at intel.com'" rather than just hitting enter when prompted! /Bruce

[dpdk-dev] [PATCH RFC] librte_reorder: new reorder library

2014-10-17 Thread Jay Rolette
Thanks for the responses, Reshma. Can you provide a little more context about the use case that your reorder library is intended to help with? If I'm understanding your answers correctly, the functionality seems pretty limited and not something I would ever end up using, but that may be more about

[dpdk-dev] [PATCH v3] KNI: use a memzone pool for KNI alloc/release

2014-10-17 Thread Marc Sune
Hi Helin, You are right. The example application should properly call rte_kni_init() with the right amount of #KNI ifaces. I overlooked it. I will fix it and circulate patch v4. Apologize for the inconvenience. marc On 17/10/14 02:47, Zhang, Helin wrote: > Hi Marc > > After I read part of KNI

[dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition

2014-10-17 Thread Thomas Monjalon
2014-10-17 07:29, Jingjing Wu: > Define new APIs to support configure multi-kind filters using same APIs, > instead of creating each API set for each kind of filter. > - rte_eth_dev_filter_supported > - rte_eth_dev_filter_ctrl > > Filter types, operations, and structures are defined specifically

[dpdk-dev] [PATCH v5 4/8]librte_ether:add a common filter API

2014-10-17 Thread Thomas Monjalon
2014-10-17 06:53, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-11 13:55, Jijiang Liu: > > > +#define ETH_TUNNEL_FILTER_OMAC 0x01 > > > +#define ETH_TUNNEL_FILTER_OIP 0x02 > > > +#define ETH_TUNNEL_FILTER_TENID 0x04 > > > +#define ETH_TUNNEL_FILTER_IMAC

[dpdk-dev] [PATCH RFC] librte_reorder: new reorder library

2014-10-17 Thread Pattan, Reshma
Hi Jay, Please find comments inline. Thanks, Reshma From: Jay Rolette [mailto:role...@infiniteio.com] Sent: Thursday, October 9, 2014 8:02 PM To: Pattan, Reshma Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH RFC] librte_reorder: new reorder library Hi Reshma, A few comments and questions a

[dpdk-dev] [PATCH v5 3/8]app/test-pmd:test VxLAN packet identification

2014-10-17 Thread Thomas Monjalon
2014-10-17 05:23, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-11 13:55, Jijiang Liu: > > > - "tx_checksum set mask (port_id)\n" > > > + "tx_checksum set (mask) (port_id)\n" > > > "Enable hardware inser

[dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e

2014-10-17 Thread Thomas Monjalon
2014-10-17 05:58, Liu, Jijiang: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2014-10-11 13:55, Jijiang Liu: > > > # > > > +# Compile tunneling UDP port support > > > +# > > > +CONFIG_RTE_LIBRTE_TUNNEL_UDP_PORT=4789 > > > + > > > +# > > > > 1) this option is not to "Compile tu

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Thomas Monjalon
2014-10-17 03:19, Xie, Huawei: > From: Ouyang, Changchun > > From: Xie, Huawei > > > I generated the vhost example patch based on vhost library, but find > > > there is > > > issue with --mergeable feature. > > > Only thousands of packets could be sent. > > > Then I tried the latest vhost example,

[dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition

2014-10-17 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Friday, October 17, 2014 10:08 AM > To: Wu, Jingjing > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition > > 2014-10-17 07:29, Jingjing Wu

[dpdk-dev] Issues running Ethtool on KNI interfaces

2014-10-17 Thread Zhang, Helin
Hi Desh > -Original Message- > From: Deshvanth Mirle Jayaprakash (dmirleja) [mailto:dmirleja at cisco.com] > Sent: Friday, October 17, 2014 3:58 PM > To: Zhang, Helin; dev at dpdk.org > Subject: Re: Issues running Ethtool on KNI interfaces > > Hi Helin, > > We have been using KNI appli

[dpdk-dev] Issues running Ethtool on KNI interfaces

2014-10-17 Thread Deshvanth Mirle Jayaprakash (dmirleja)
Hi Helin, We have been using KNI application to create Virtual interfaces. We would like to use KNI interfaces for control plane application only. As intended, We are still planning to use UIO interfaces to pass Data plane traffic which would bump up traffic throughput. We have assigned 4 vCPUs

[dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition

2014-10-17 Thread Jingjing Wu
Define new APIs to support configure multi-kind filters using same APIs, instead of creating each API set for each kind of filter. - rte_eth_dev_filter_supported - rte_eth_dev_filter_ctrl Filter types, operations, and structures are defined specifically in new header file lib/librte_eth/rte_dev_

[dpdk-dev] [PATCH v5 4/8]librte_ether:add a common filter API

2014-10-17 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 17, 2014 4:10 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 4/8]librte_ether:add a common filter API > > I don't review the common API as it should

[dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet identification in librte_pmd_i40e

2014-10-17 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 17, 2014 3:57 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 2/8]i40e:support VxLAN packet > identification in librte_pmd_i40e > > 2014-10-11 13:55,

[dpdk-dev] [PATCH v5 3/8]app/test-pmd:test VxLAN packet identification

2014-10-17 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 17, 2014 4:02 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 3/8]app/test-pmd:test VxLAN packet > identification > > 2014-10-11 13:55, Jijiang Liu:

[dpdk-dev] [PATCH v5 7/8]i40e:support VxLAN Tx checksum offload

2014-10-17 Thread Liu, Jijiang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 17, 2014 4:34 AM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 7/8]i40e:support VxLAN Tx checksum > offload > > 2014-10-11 13:55, Jijiang Liu: > > Sup

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Xie, Huawei
Thomas: Thoughts about this? Could I send example patch with this walk around? > -Original Message- > From: Ouyang, Changchun > Sent: Thursday, October 16, 2014 8:15 PM > To: Xie, Huawei; Thomas Monjalon; dev at dpdk.org > Cc: Cao, Waterman; Richardson, Bruce; Ouyang, Changchun > Subject:

[dpdk-dev] [PATCH] vhost: Fix the vhost broken issue

2014-10-17 Thread Ouyang, Changchun
No problem, I will investigate the root cause. But before figuring out the root cause, I think we could add check in your new sample to Check the INC_VEC is enable or not, If it is enabled, print error message and hint user Disable it in config file if mergeable feature is triggered in vhost. T

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-17 Thread Matthew Hall
Hi Sergio, Sorry for the delay, this project is part-time. On Tue, Oct 14, 2014 at 12:16:07PM +, Gonzalez Monroy, Sergio wrote: > Could you provide steps to reproduce your issue with virtio non-UIO PMD > (virtio-net-pmd) using static combined DPDK lib? I am getting two different kinds of pr

[dpdk-dev] [PATCH] lib/librte_ether: new filter APIs definition

2014-10-17 Thread Zhang, Helin
Hi > Define new APIs to support configure multi-kind filters using same APIs, > instead > of creating each API set for each kind of filter. > - rte_eth_dev_filter_supported > - rte_eth_dev_filter_ctrl > > Filter types, operations, and structures are defined specifically in new > header > file

[dpdk-dev] [PATCH v3] KNI: use a memzone pool for KNI alloc/release

2014-10-17 Thread Zhang, Helin
Hi Marc After I read part of KNI app code again, I still have comments for your code changes in KNI example applications. I guess you might need another version of patch. Sorry and Thanks! > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marc Sune > Sent: M