[dpdk-dev] Support for MS Hyper-v hypervisor

2015-03-16 Thread Stephen Hemminger
No DPDK 1.7.x does not support hyper-v virtual NICZ. On Mon, Mar 16, 2015 at 9:57 PM, Vithal S Mohare wrote: > Hi, > > Would like to know whether present released versions of DPDK (1.7.x) > supports MS hyper-v hypervisor. DPDK roadmap document has it in the list > for Version 2.1. Please confi

[dpdk-dev] DPDK on EC2?

2015-03-16 Thread Patel, Rashmin N
Just curious - I didn't understand the usage model here. In the Amazon EC2 instance (a VM,) do you want to run a DPDK application? Where do you intend to run OVS? As far I remember, OVS has a datapath in Host kernel and you won't be given Host access by AWS. And I'm not sure if Amazon provides

[dpdk-dev] DPDK on EC2?

2015-03-16 Thread Andre Richter
Be sure to get an instance with SR-IOV, which is "enhanced networking" in Amazon speak. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html Cheers Andre Jeff Wang schrieb am Mo., 16. M?rz 2015 um 21:08: > Hi, > > I'm trying to deploy DPDK and ovs on an AWS EC2 instance w

[dpdk-dev] Queries on Pktgen

2015-03-16 Thread Shankari Vaidyalingam
Hi Keith, Thanks for your response. I did try giving the pcap file in the -s option but I was not able to see any pcap files getting generated by the pktgen. I also tried giving in the -f option but it also doesnt seem to recognize. Please let me know how to resolve this. Regards Shankari.V On S

[dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support

2015-03-16 Thread Vlad Zolotarov
On 03/09/15 21:07, Vlad Zolotarov wrote: > - Only x540 and 82599 devices support LRO. > - Add the appropriate HW configuration. > - Add RSC aware rx_pkt_burst() handlers: > - Implemented bulk allocation and non-bulk allocation versions. > - Add LRO-specific fields t

[dpdk-dev] [PATCH v2 5/6] rte_sched: allow reading statistics without clearing

2015-03-16 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Monday, March 16, 2015 8:11 PM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: Re: [PATCH v2 5/6] rte_sched: allow reading statistics without > clearing > > On Mon

[dpdk-dev] [PATCH v2 5/6] rte_sched: allow reading statistics without clearing

2015-03-16 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, March 10, 2015 4:14 PM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH v2 5/6] rte_sched: allow reading statistics without cleari

[dpdk-dev] [PATCH v2 5/6] rte_sched: allow reading statistics without clearing

2015-03-16 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, March 12, 2015 11:06 PM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Stephen Hemminger > Subject: Re: [PATCH v2 5/6] rte_sched: allow reading statistics without > clearing > > On

[dpdk-dev] [RFC PATCH 5/7] add OSv support

2015-03-16 Thread Neil Horman
On Mon, Mar 16, 2015 at 01:21:53PM -0700, Stephen Hemminger wrote: > On Sun, 15 Mar 2015 08:01:22 -0400 > Neil Horman wrote: > > > On Fri, Mar 13, 2015 at 06:05:46AM +0900, Takuya ASADA wrote: > > > Adding OSv support. > > > Based on Linux/FreeBSD EAL, but calling OSv kernel APIs to access > > >

[dpdk-dev] Undefined reference to FUSE

2015-03-16 Thread Traynor, Kevin
> -Original Message- > From: I?akiMurillo [mailto:inaki.murilloa at ehu.eus] > Sent: Monday, March 16, 2015 4:37 PM > To: Traynor, Kevin > Cc: De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] Undefined reference to FUSE > > Hello, > > I have done what you said but it does

[dpdk-dev] [PATCH] Fix `eventfd_link' module leakages and races

2015-03-16 Thread Pavel Boldin
From: Pavel Boldin The `eventfd_link' module provides an API to "steal" fd from another process had been written with a bug that leaks `struct file' because of the extra reference counter increment and missing `fput' call. The other bug is using another process' `task_struct' without incrementin

[dpdk-dev] [RFC] af_packet: support port hotplug

2015-03-16 Thread Tetsuya Mukawa
On 2015/03/16 17:38, Tetsuya Mukawa wrote: > On 2015/03/13 19:14, Iremonger, Bernard wrote: >>> -Original Message- >>> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >>> Sent: Friday, March 13, 2015 12:11 AM >>> To: Iremonger, Bernard >>> Cc: John W. Linville; dev at dpdk.org >>> Subjec

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-16 Thread Ananyev, Konstantin
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, March 16, 2015 4:05 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org; Qiu, Michael > Subject: Re: [dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed > > 2015-03-13 09:

[dpdk-dev] [RFC] af_packet: support port hotplug

2015-03-16 Thread Tetsuya Mukawa
On 2015/03/13 19:14, Iremonger, Bernard wrote: > >> -Original Message- >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >> Sent: Friday, March 13, 2015 12:11 AM >> To: Iremonger, Bernard >> Cc: John W. Linville; dev at dpdk.org >> Subject: Re: [dpdk-dev] [RFC] af_packet: support port h

[dpdk-dev] Undefined reference to FUSE

2015-03-16 Thread IƱakiMurillo
Hello, I have done what you said but it does not work. I did it in the server I usually use and in a VM, in both of them appears the error. To be clear, I have followed the next instructions: apt-get install fuse apt-get install libfuse-dev download dpdk-1.8.0 modify common_linuxapp: +CONFIG_RTE

[dpdk-dev] [PATCH v4] pci: save list of detached devices, and re-probe during driver unload

2015-03-16 Thread Thomas Monjalon
Hi, 2015-03-12 14:24, Raz Amir: > Thank you. > Can you tell when will the patch be pushed to the source code? This is changing the behaviour. I think we should keep it for 2.1 and check if some docs must be updated in the meantime. Then we should look at general behaviour for binding/unbinding de

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-16 Thread Thomas Monjalon
2015-03-13 09:44, Ananyev, Konstantin: > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu > > > > rte_memcpy.h(46): catastrophic error: cannot open source file "x86intrin.h" > > > > For icc and old gcc, this header is not included. > > > > Signed-off-by: Michael Qiu > > --- >

[dpdk-dev] [PATCH v2] eal: fix Wbad-function-cast warning

2015-03-16 Thread John McNamara
Fix a warning when the rte_common.h header is included in a compilation using -Wbad-function-cast, such as in Open vSwitch where the following warning is emitted repeatedly: ../rte_common.h: In function 'rte_is_aligned': ../rte_common.h:184:9: warning: cast from function call of type

[dpdk-dev] [Pktgen] Re: Queries on Pktgen

2015-03-16 Thread Wiles, Keith
Please make sure you add ?[Pktgen]? to the subject line to make it easier to spot your emails on Pktgen. From: Shankari Vaidyalingam mailto:shankari.v...@gmail.com>> Date: Monday, March 16, 2015 at 8:34 AM To: Keith Wiles mailto:keith.wiles at intel.com>> Cc: "dev at dpdk.org

[dpdk-dev] [PATCH] version: fix include

2015-03-16 Thread Thomas Monjalon
When including rte_version.h without string.h, there is a compilation error: include/rte_version.h: error: implicit declaration of function ?strlen? Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/include/rte_version.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/c

[dpdk-dev] Queries on Pktgen

2015-03-16 Thread Wiles, Keith
From: Shankari Vaidyalingam mailto:shankari.v...@gmail.com>> Date: Monday, March 16, 2015 at 8:34 AM To: Keith Wiles mailto:keith.wiles at intel.com>> Cc: "dev at dpdk.org" mailto:dev at dpdk.org>> Subject: Re: Queries on Pktgen Hi Keith, Thanks for your response. I did

[dpdk-dev] [PATCH] eal: fix Wbad-function-cast warning

2015-03-16 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, March 16, 2015 1:19 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal: fix Wbad-function-cast warning > > > This looks reasonable, but it rather begs the question a

[dpdk-dev] [RFC] af_packet: support port hotplug

2015-03-16 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, March 16, 2015 8:57 AM > To: Iremonger, Bernard > Cc: John W. Linville; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC] af_packet: support port hotplug > > > @@ -835,10 +848,53 @@ rte_pmd_af_pac

[dpdk-dev] DPDK on EC2?

2015-03-16 Thread Jeff Wang
Hi, I'm trying to deploy DPDK and ovs on an AWS EC2 instance which is running CentOS 7. Has anybody had tried to do this? How to bind a NIC to dpdk while it shows no NICs when I do lspci? Thanks!

[dpdk-dev] Undefined reference to FUSE

2015-03-16 Thread Traynor, Kevin
> -Original Message- > From: I?akiMurillo [mailto:inaki.murilloa at ehu.eus] > Sent: Monday, March 16, 2015 9:47 AM > To: Traynor, Kevin; De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] Undefined reference to FUSE > > Hello, > > I have done a fresh install of dpdk-1.8.0

[dpdk-dev] [PATCH] Fix `eventfd_link' module leakages and races

2015-03-16 Thread Neil Horman
On Mon, Mar 16, 2015 at 06:40:59PM +0200, Pavel Boldin wrote: > From: Pavel Boldin > > The `eventfd_link' module provides an API to "steal" fd from another > process had been written with a bug that leaks `struct file' because of the > extra reference counter increment and missing `fput' call. >

[dpdk-dev] [PATCH v2] eal: fix Wbad-function-cast warning

2015-03-16 Thread Neil Horman
On Mon, Mar 16, 2015 at 05:05:06PM +, John McNamara wrote: > Fix a warning when the rte_common.h header is included in a compilation > using -Wbad-function-cast, such as in Open vSwitch where the > following warning is emitted repeatedly: > > ../rte_common.h: In function 'rte_is_aligned':

[dpdk-dev] [PATCH v2 5/6] rte_sched: allow reading statistics without clearing

2015-03-16 Thread Stephen Hemminger
On Mon, 16 Mar 2015 20:21:39 + "Dumitrescu, Cristian" wrote: > When stats read is decoupled from stats clear, the exchange operation cannot > fix this. > > To your point: when stats are cleared on read, would it make sense to use the > exchange operation? In my opinion, it does not make se

[dpdk-dev] [RFC PATCH 5/7] add OSv support

2015-03-16 Thread Stephen Hemminger
On Sun, 15 Mar 2015 08:01:22 -0400 Neil Horman wrote: > On Fri, Mar 13, 2015 at 06:05:46AM +0900, Takuya ASADA wrote: > > Adding OSv support. > > Based on Linux/FreeBSD EAL, but calling OSv kernel APIs to access devices, > > allocate contiguous memory, etc. > > > > + > > +include $(RTE_SDK)/mk/r

[dpdk-dev] [PATCH v2 5/6] rte_sched: allow reading statistics without clearing

2015-03-16 Thread Stephen Hemminger
On Mon, 16 Mar 2015 19:58:51 + "Dumitrescu, Cristian" wrote: > > > > -Original Message- > > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > > Sent: Thursday, March 12, 2015 11:06 PM > > To: Dumitrescu, Cristian > > Cc: dev at dpdk.org; Stephen Hemminger > > Subject:

[dpdk-dev] [PATCH] eal: fix Wbad-function-cast warning

2015-03-16 Thread John McNamara
Fix a warning when the rte_common.h header is included in a compilation using -Wbad-function-cast, such as in Open vSwitch where the following warning is emitted repeatedly: ../rte_common.h: In function 'rte_is_aligned': ../rte_common.h:184:9: warning: cast from function call of type

[dpdk-dev] [PATCH] null: Fix dereference before null check in eth_null_copy_tx()

2015-03-16 Thread Tetsuya Mukawa
This patch fixes potential null pointer access of eth_null_copy_tx(). Reported-by: Mcnamara, John Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_null/rte_eth_null.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_null/rte_eth_null.c b/lib/librte_pmd_null/

[dpdk-dev] [PATCH] pcap, af_packet, null: Fix memory leaks of 'struct rte_kvargs'

2015-03-16 Thread Tetsuya Mukawa
'struct rte_kvargs' is allocated in rte_kvargs_parse(), and should be freed with rte_kvargs_free(). This patch fixes memory leaks of 'struct rte_kvargs' in below PMDs. - pcap PMD - af_packet PMD - null PMD Reported-by: Mcnamara, John Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_af_packet

[dpdk-dev] [PATCH v2 00/15] eal: Port Hotplug support for BSD

2015-03-16 Thread Tetsuya Mukawa
On 2015/03/13 20:46, Iremonger, Bernard wrote: > >> -Original Message- >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >> Sent: Thursday, March 12, 2015 10:18 AM >> To: dev at dpdk.org >> Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa >> Subject: [PATCH v2 00/15] eal: Port

[dpdk-dev] [PATCH] eal: fix Wbad-function-cast warning

2015-03-16 Thread Neil Horman
On Mon, Mar 16, 2015 at 03:04:45PM +, Mcnamara, John wrote: > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Monday, March 16, 2015 1:19 PM > > To: Mcnamara, John > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] eal: fix Wbad-function-c

[dpdk-dev] [PATCH v3 0/3]: bug fixes in the ixgbe PF PMD Rx flow

2015-03-16 Thread Thomas Monjalon
Hi Vlad, 2015-03-16 09:52, Vlad Zolotarov: > On 03/13/15 15:03, Vladislav Zolotarov wrote: > > Thomas, it seems like ixgbe maintainer gives this series a green > > light!.. ;) > > Ping. > Thomas, could u, pls., consider applying this series to at least the > upstream master? Yes, of course. J

[dpdk-dev] [PATCH] pcap, af_packet, null: Fix memory leaks of 'struct rte_kvargs'

2015-03-16 Thread Mcnamara, John
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Monday, March 16, 2015 3:43 AM > To: dev at dpdk.org > Cc: Mcnamara, John; Tetsuya Mukawa > Subject: [PATCH] pcap,af_packet,null: Fix memory leaks of 'struct > rte_kvargs' > > lib/librte_pmd_af_packet/rte_eth

[dpdk-dev] [PATCH] rte_mbuf: bulk allocation and freeing functions + unittest

2015-03-16 Thread Olivier MATZ
Hi Vadim, Please see some comments below. On 03/13/2015 11:14 AM, vadim.suraev at gmail.com wrote: > From: "vadim.suraev at gmail.com" > > - an API function to allocate a bulk of rte_mbufs > - an API function to free a bulk of rte_mbufs > - an API function to free a chained rte_mbuf > - unittes

[dpdk-dev] Undefined reference to FUSE

2015-03-16 Thread IƱakiMurillo
Hello, I have done a fresh install of dpdk-1.8.0 and ovs master brunch of github with the next patches: OVS: http://openvswitch.org/pipermail/dev/2015-March/052061.html DPDK: http://dpdk.org/dev/patchwork/patch/2603/ I still get the same error while compiling the ovs. I followed the same instruc

[dpdk-dev] [PATCH v3 0/3]: bug fixes in the ixgbe PF PMD Rx flow

2015-03-16 Thread Vlad Zolotarov
On 03/13/15 15:03, Vladislav Zolotarov wrote: > > > On Mar 13, 2015 2:51 PM, "Ananyev, Konstantin" > mailto:konstantin.ananyev at intel.com>> > wrote: > > > > Hi Vlad, > > > > > -Original Message- > > > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com >

[dpdk-dev] DPDK 1.7 - rte_eth_link_get_nowait API - VF are half duplex

2015-03-16 Thread Bhat, Sharat (Nokia - IN/Bangalore)
Hello , With DPDK 1.7 rte_eth_link_get_nowait API always displays VF configuration details as half duplex and speed as 100 Mbps. Is this is a known issue ? Vf's are really limited to 100 Mbps with DPDK 1.7 ? Thanks and Regards, Sharat Bhat

[dpdk-dev] [PATCH] eal: fix Wbad-function-cast warning

2015-03-16 Thread Neil Horman
On Mon, Mar 16, 2015 at 12:56:04PM +, John McNamara wrote: > Fix a warning when the rte_common.h header is included in a compilation > using -Wbad-function-cast, such as in Open vSwitch where the > following warning is emitted repeatedly: > > ../rte_common.h: In function 'rte_is_aligned':

[dpdk-dev] [PATCH] pcap, af_packet, null: Fix memory leaks of 'struct rte_kvargs'

2015-03-16 Thread Neil Horman
On Mon, Mar 16, 2015 at 12:42:56PM +0900, Tetsuya Mukawa wrote: > 'struct rte_kvargs' is allocated in rte_kvargs_parse(), and should be > freed with rte_kvargs_free(). > This patch fixes memory leaks of 'struct rte_kvargs' in below PMDs. > - pcap PMD > - af_packet PMD > - null PMD > > Reported-

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-16 Thread Qiu, Michael
On 3/13/2015 10:25 PM, Mcnamara, John wrote: >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu >> Sent: Friday, March 13, 2015 7:03 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed >> >> rte_memcpy.

[dpdk-dev] [PATCH] librte_pmd_fm10k: Set pointer to NULL after free

2015-03-16 Thread Chen, Jing D
> -Original Message- > From: Qiu, Michael > Sent: Friday, March 06, 2015 3:57 PM > To: dev at dpdk.org > Cc: Chen, Jing D; Qiu, Michael > Subject: [PATCH] librte_pmd_fm10k: Set pointer to NULL after free > > It could be a potential not safe issue. > > Signed-off-by: Michael Qiu > --- >