[dpdk-dev] [PATCH] enic: remove code under VFIO_PRESENT and use eal code for interrupts

2014-12-18 Thread Thomas Monjalon
2014-12-18 14:39, Sujith Sankar: > This patch removes the interrupt registration code which was under the flag > VFIO_PRESENT > and relies on the rte_lib code for the same. This also ignores the initial > trigger of > ISR from the lib. > > Signed-off-by: Sujith Sankar This driver is new, so

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Thomas Monjalon
> > In rte_eth_af_packet.c we are we are missing NULL pointer > > checks after calls to alocate memory for queues. Add checking NULL > > pointer and error handling. > > > > Signed-off-by: Daniel Mrzyglod > > Acked-by: Neil Horman Applied Thanks -- Thomas

[dpdk-dev] [PATCH v2] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Thomas Monjalon
2014-12-18 06:31, Neil Horman: > Back in: > > commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db > Author: Alan Carew > Date: Fri Dec 5 15:19:07 2014 +0100 > > cmdline: fix overflow on bsd > > The author failed to fixup a call to cmdline_parse_etheraddr in xenvirt. This > patch makes the ne

[dpdk-dev] Building 1.7.1 or 1.8.0-rc4 on latest CentOS 6.6 fails

2014-12-18 Thread Thomas Monjalon
2014-12-17 11:09, Thomas Monjalon: > 2014-12-17 14:21, Jincheng Miao: > > On Tue, Dec 16, 2014 at 11:12 PM, Barak Enat wrote: > > > It seems the assumption that skb_set_hash is missing in CentOS prior to > > > version 7 is not valid anymore. > > > > Yes, you are right, this function skb_set_hash

[dpdk-dev] [PATCH] kni: fix build for CentOS 6.6

2014-12-18 Thread Thomas Monjalon
> From CentOS 6.6, function skb_set_hash is introduced, this breaks > the previous assumption. So modify RHEL_RELEASE_VERSION from 7.0 > to 6.6 to fix build for rte_kni.ko. > > Related mail from Barak Enat: > http://dpdk.org/ml/archives/dev/2014-December/010124.html > > building error likes: >

[dpdk-dev] [PATCH v2] vhost: add interface name to virtio-net struct

2014-12-18 Thread Thomas Monjalon
2014-12-18 18:07, ciara.loftus at intel.com: > This patch fixes the issue whereby when using userspace vhost ports > in the context of vSwitching, the name provided to the hypervisor/QEMU > of the vhost tap device needs to be exposed in the library, in order > for the vSwitch to be able to direct p

[dpdk-dev] Using multi-queue with RSS on X540 VF

2014-12-18 Thread Anant Mudambi
Thanks Bruce. Hi Changchun, I looked at your patch set and have some questions about it. I might be missing something basic. - How is the RTE_ETH_DEV_SRIOV(rte_eth_dev *).active set for VF ports (in guest using ixgbevf PMD)? The only place I saw this field being set is in ixgbe_pf_host_init() bu

[dpdk-dev] [PATCH] test: fix missing NULL pointer checks

2014-12-18 Thread Thomas Monjalon
2014-12-18 09:41, Daniel Mrzyglod: > In test_sched, we are missing NULL pointer checks after calls to create the > mempool and to allocate an mbuf. Add in these checks using VERIFY macros. > > Signed-off-by: Daniel Mrzyglod > --- > app/test/test_sched.c | 2 ++ > 1 file changed, 2 insertions(+)

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Thomas Monjalon
2014-12-18 10:51, Daniel Mrzyglod: > In rte_eth_af_packet.c we are we are missing NULL pointer > checks after calls to alocate memory for queues. Add checking NULL > pointer and error handling. > > Signed-off-by: Daniel Mrzyglod You sent this patch twice: http://dpdk.org/ml/archives/dev/

[dpdk-dev] Error while installing OVS with DPDK

2014-12-18 Thread Shankari Vaidyalingam
Hi, I'm trying to install OVS with DPDK Followed the steps given in INSTALL.DPDK.md file given in the OVS page. I have downloaded latest tar ball of both OVS and DPDK. DPDK version - 1.7.1 OVS version - 2.3.1 Operating system - Ubuntu 12.04 LTS (64 bit) When I tried running make I got the be

[dpdk-dev] [PULL REQUEST] doc: modifications to user guides

2014-12-18 Thread Bernard Iremonger
These changes are DPDK 1.8 modifications and some corrections to the Linux Getting Started Guide, FreeBSD Getting Started Guide, Programmers Guide, the Sample Application User Guide, the Release Notes the TestPMD Guide. The following changes since commit 7d6378efb46820b2dcf6d1547ba19b67e9021098:

[dpdk-dev] [PATCH v2 2/2] doc: Updated image files for rte_mbuf changes in 1.8

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, December 12, 2014 11:22 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/2] doc: Updated image files for rte_mbuf > changes in 1.8 > > The two image files showing the

[dpdk-dev] [PATCH 1/2] doc: update mbuf section of programmer's guide for 1.8

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Tuesday, December 2, 2014 4:18 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] doc: update mbuf section of programmer's > guide for 1.8 > > In Release 1.8, the mbuf structure

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-18 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Thursday, December 18, 2014 5:43 PM > To: Newman Poborsky; dev at dpdk.org > Subject: Re: [dpdk-dev] rte_mempool_create fails with ENOMEM > > Hi > > > -Original Message- >

[dpdk-dev] ixgbe: fix link speed detection of ixgbevf

2014-12-18 Thread Nemeth, Balazs
This patch is actually a workaround to the problem. By setting get_link_status just before calling ixgbe_check_link defeats the whole purpose of the variable and results in _always_ getting the link status. I think that this patch should be superseded by the following patch: http://dpdk.org/dev/pa

[dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process

2014-12-18 Thread Michael Qiu
EAL: probe driver: 8086:10fb rte_ixgbe_pmd EAL: PCI memory mapped at 0x7f18c2a0 EAL: PCI memory mapped at 0x7f18c2a8 Segmentation fault (core dumped) This is introduced by commit: 46bc9d75 ixgbe: fix multi-process support When start primary process with command line: ./app/te

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Loftus, Ciara
Hi Konstantin, Thank you for the feedback. As regards the following: "So if sizeof(ifr.ifr_name) > sizeof(dev->ifname) then we can endup with dev->ifname not being null-termianted?" This should never be the case as now both dev->ifname and ifr.ifr_name are of size IFNAMSIZ in v2 of the patch.

[dpdk-dev] [PATCH v2] vhost: add interface name to virtio-net struct

2014-12-18 Thread ciara.lof...@intel.com
From: Ciara Loftus This patch fixes the issue whereby when using userspace vhost ports in the context of vSwitching, the name provided to the hypervisor/QEMU of the vhost tap device needs to be exposed in the library, in order for the vSwitch to be able to direct packets to the correct device. Th

[dpdk-dev] [PATCH v2] ixgbe_vf: Fix getting link state

2014-12-18 Thread Balazs Nemeth
This patch fixes checking the link state of a virtual function. If the state has already been checked, it does not need to be checked again. Previously, get_link_status in the ixgbe_hw struct was used to track if the information had already been retrieved, but this field was always set to false (si

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-18 Thread Ananyev, Konstantin
Hi > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Newman Poborsky > Sent: Thursday, December 18, 2014 1:26 PM > To: dev at dpdk.org > Subject: [dpdk-dev] rte_mempool_create fails with ENOMEM > > Hi, > > could someone please provide any explanation why som

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Thomas Monjalon
2014-12-18 08:17, Stephen Hemminger: > On Wed, 17 Dec 2014 12:03:28 -0500 > Neil Horman wrote: [...] > > The author failed to fixup a call to cmdline_parse_etheraddr in xenvirt. > > This > > patch makes the needed correction to avoid a build break [...] > > If we could fix the header incompatia

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Vincent JARDIN
>> +charifname[32]; /** Name of the tap device **/ > > Linux and BSD the maximum network device name size is 16 > In any case, please, use IF_NAMESIZE or IFNAMSIZ see: http://fxr.watson.org/fxr/ident?v=FREEBSD51;im=bigexcerpts;i=IF_NAMESIZE

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Czesnowicz, Przemyslaw
> Hi Thomas, > > A basic vHost use case will work, for example a single Virtual Machine with a > vHost port. However normal vSwitching use cases will require the use of > multiple > vHost ports and multiple VMs. With that in mind, it is essential that the > vSwitch > has some way of knowing whi

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Loftus, Ciara > Sent: Thursday, December 18, 2014 10:02 AM > To: Thomas Monjalon > Cc: dev at dpdk.org; Anthony Fee > Subject: Re: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct > > Hi Thomas,

[dpdk-dev] [PATCH] doc: added copyright to dist sample app images

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Thursday, December 18, 2014 4:35 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: added copyright to dist sample app images > > Added copyright to distributor sample app images.

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of ciara.loftus at > intel.com > Sent: Thursday, December 18, 2014 2:55 PM > To: dev at dpdk.org > Cc: Anthony Fee > Subject: [dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct > > From: Ciara Lof

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Loftus, Ciara
Hi Thomas, A basic vHost use case will work, for example a single Virtual Machine with a vHost port. However normal vSwitching use cases will require the use of multiple vHost ports and multiple VMs. With that in mind, it is essential that the vSwitch has some way of knowing which vHost port it

[dpdk-dev] [PATCH 1/2] doc: add vxlan support to release notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Thursday, December 18, 2014 2:52 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] doc: add vxlan support to release notes > > Added to New and Supported features for VXLAN featur

[dpdk-dev] [PATCH 2/2] doc: updating from 1.7 to 1.8 release note

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Thursday, December 18, 2014 2:52 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/2] doc: updating from 1.7 to 1.8 release note > > Added instructions for updating from DPDK 1.7.0 t

[dpdk-dev] librte_distributor.so: cannot open shared object file

2014-12-18 Thread sothy shan
Hi! I am in fedora 21. I build sucesfully. I set the LD_LIBRARY_PATH. When I run the testpmd file, I am getting above error. Thank for your help. [cubiq at localhost dpdk-1.7.1]$ echo $LD_LIBRARY_PATH /home/cubiq/dpdk-1.7.1/x86_64-ivshmem-linuxapp-gcc/lib [cubiq at localhost dpdk-1.7.1]$ sudo ./x

[dpdk-dev] librte_distributor.so: cannot open shared object file

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 04:50:51PM +0100, sothy shan wrote: > Hi! > > I am in fedora 21. I build sucesfully. I set the LD_LIBRARY_PATH. > When I run the testpmd file, I am getting above error. Thank for your help. > > [cubiq at localhost dpdk-1.7.1]$ echo $LD_LIBRARY_PATH > /home/cubiq/dpdk-1.7.1

[dpdk-dev] [PATCH] doc: added copyright to dist sample app images

2014-12-18 Thread Siobhan Butler
Added copyright to distributor sample app images. Signed-off-by: Siobhan Butler --- doc/guides/sample_app_ug/img/dist_app.svg | 36 - doc/guides/sample_app_ug/img/dist_perf.svg | 37 +- 2 files changed, 71 insertions(+), 2 deletions(-) di

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Thomas Monjalon
2014-12-18 14:55, ciara.loftus at intel.com: > This patch fixes the issue whereby when using userspace vhost ports > in the context of vSwitching, the name provided to the hypervisor/QEMU > of the vhost tap device needs to be exposed in the library, in order > for the vSwitch to be able to direct p

[dpdk-dev] [PATCH v2 2/2] doc: remove intel legal blurb from sample app ug

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Thursday, December 18, 2014 4:04 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/2] doc: remove intel legal blurb from sample > app ug > > Removed Legal blurb from sample appli

[dpdk-dev] [PATCH v2 1/2] doc: remove intel dpdk in sample app ug

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Thursday, December 18, 2014 10:51 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/2] doc: remove intel dpdk in sample app ug > > Removed redundant references to Intel(R) DPDK in

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-18 Thread Alex Markuze
I've Also seen a similar issue when trying to run a dpdk app which allocates huge pools(~0.5GB) after a memory heavy operation on the machine. I've come to the same conclusion as you did, that internal fragmentation is causing pool creation failures. It seems that the rte_mempool_xmem_create/rte_m

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 09:45:05AM +, Daniel Mrzyglod wrote: > In rte_eth_af_packet.c we are we are missing NULL pointer > checks after calls to alocate memory for queues. Add checking NULL > pointer and error handling. > > Signed-off-by: Daniel Mrzyglod > --- > lib/librte_pmd_af_packet/rte_

[dpdk-dev] [PATCH] test: fix missing NULL pointer checks

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 09:41:47AM +, Daniel Mrzyglod wrote: > In test_sched, we are missing NULL pointer checks after calls to create the > mempool and to allocate an mbuf. Add in these checks using VERIFY macros. > > Signed-off-by: Daniel Mrzyglod > --- > app/test/test_sched.c | 2 ++ > 1

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-18 Thread Olivier MATZ
Hi, On 12/18/2014 03:32 PM, Bruce Richardson wrote: > On Thu, Dec 18, 2014 at 12:20:07PM +, Walukiewicz, Miroslaw wrote: >> I have another question regarding your patch. >> >> Could we extend values returned by rte_lcore_id() to set them per thread >> (really the DPDK lcore is a pthread but

[dpdk-dev] [PATCH v2 2/2] doc: remove intel legal blurb from sample app ug

2014-12-18 Thread Siobhan Butler
Removed Legal blurb from sample applications guide. Signed-off-by: Siobhan Butler --- doc/guides/sample_app_ug/index.rst | 35 --- 1 file changed, 35 deletions(-) diff --git a/doc/guides/sample_app_ug/index.rst b/doc/guides/sample_app_ug/index.rst index c3b50e2.

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-18 Thread Bruce Richardson
On Thu, Dec 18, 2014 at 04:11:12PM +0100, Olivier MATZ wrote: > Hi, > > On 12/18/2014 03:32 PM, Bruce Richardson wrote: > > On Thu, Dec 18, 2014 at 12:20:07PM +, Walukiewicz, Miroslaw wrote: > >> I have another question regarding your patch. > >> > >> Could we extend values returned by rte_lc

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 08:17:12AM -0800, Stephen Hemminger wrote: > On Wed, 17 Dec 2014 12:03:28 -0500 > Neil Horman wrote: > > > Back in: > > > > commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db > > Author: Alan Carew > > Date: Fri Dec 5 15:19:07 2014 +0100 > > > > cmdline: fix overflow

[dpdk-dev] [PATCH v2] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 01:45:54PM +, Qiu, Michael wrote: > Hi Neil, > > I think if you could add the commit author in the cc list will be better. > The commit author is me, and its recorded by the Signed-off line, as well as the Authorship tag in git. Not really sure what you're driving at

[dpdk-dev] [PATCH v2 2/2] doc: updating from 1.7 to 1.8 release note

2014-12-18 Thread Pablo de Lara
From: Siobhan Butler Added instructions for updating from DPDK 1.7.0 to 1.8.0 Signed-off-by: Siobhan Butler Signed-off-by: Bruce Richardson --- doc/guides/rel_notes/updating_apps.rst | 13 + 1 file changed, 13 insertions(+) diff --git a/doc/guides/rel_notes/updating_apps.rst b/

[dpdk-dev] [PATCH v2 1/2] doc: add vxlan support to release notes

2014-12-18 Thread Pablo de Lara
From: Siobhan Butler Added to New and Supported features for VXLAN feature. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 2 ++ doc/guides/rel_notes/supported_features.rst | 5 + 2 files changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/new_featu

[dpdk-dev] [PATCH v2 0/2] doc: update to release notes

2014-12-18 Thread Pablo de Lara
Update to release notes to add VXLAN features. Added 1.8 to 'updating apps' section of release notes. Changes to v2: Rebase to latest document Siobhan Butler (2): doc: add vxlan support to release notes doc: updating from 1.7 to 1.8 release note doc/guides/rel_notes/new_features.rst

[dpdk-dev] [PATCH] doc:add udp info to prog_guide for vxlan

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Thursday, December 18, 2014 3:02 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc:add udp info to prog_guide for vxlan > > Added to configuration instructions for UDP packet tunn

[dpdk-dev] [PATCH v4 8/8] doc: updating the list of sample apps in rel notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 8/8] doc: updating the list of sample apps in > rel notes > > From: Siobhan Butler > > Added ne

[dpdk-dev] [PATCH v4 7/8] doc: updated resolved issues with old known issues

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 7/8] doc: updated resolved issues with old > known issues > > From: Siobhan Butler > > Removed

[dpdk-dev] [PATCH v4 6/8] doc: removed reference to Intel DPDK in Rel Notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 6/8] doc: removed reference to Intel DPDK in > Rel Notes > > From: Siobhan Butler > > Removed m

[dpdk-dev] [PATCH v4 5/8] doc: remove appendix a from release notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 5/8] doc: remove appendix a from release notes > > From: Siobhan Butler > > Removing Appendix A

[dpdk-dev] [PATCH v4 4/8] doc: moved known issue 6.29 to resolved issues in rel notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 4/8] doc: moved known issue 6.29 to resolved > issues in rel notes > > From: Siobhan Butler > >

[dpdk-dev] [PATCH v4 3/8] doc: added to known issue 6.10 and removed fixed issue 6.29 from rel_notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:58 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 3/8] doc: added to known issue 6.10 and removed > fixed issue 6.29 > from rel_notes > > From: Sio

[dpdk-dev] [PATCH v4 2/8] doc: added new features to release notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 2/8] doc: added new features to release notes > > From: Siobhan Butler > > Signed-off-by: Siobha

[dpdk-dev] [PATCH v4 1/8] doc: moved 1.7 new features to supported features for 1.8 in Rel_Notes

2014-12-18 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, December 17, 2014 4:48 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 1/8] doc: moved 1.7 new features to supported > features for 1.8 in > Rel_Notes > > From: Siobhan

[dpdk-dev] [PATCH 0/6] Enable VF RSS for Niantic

2014-12-18 Thread Vlad Zolotarov
On 12/18/14 12:11, Vlad Zolotarov wrote: > From: Changchun Ouyang > > This patch enables VF RSS for Niantic, which allow each VF having at most 4 > queues. > The actual queue number per VF depends on the number of VF: > VF number from 1~32: 4 queues per VF; > VF number from 33~max vf num: 2 queu

[dpdk-dev] [PATCH 10/17] librte_acl: add AVX2 as new rte_acl_classify() method

2014-12-18 Thread Ananyev, Konstantin
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Wednesday, December 17, 2014 8:28 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 10/17] librte_acl: add AVX2 as new > rte_acl_classify() method > > On Wed, Dec 17, 201

[dpdk-dev] [PATCH] doc:add udp info to prog_guide for vxlan

2014-12-18 Thread Siobhan Butler
Added to configuration instructions for UDP packet tunneling. Signed-off-by: Siobhan Butler --- doc/guides/prog_guide/poll_mode_drv.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/prog_guide/poll_mode_drv.rst b/doc/guides/prog_guide/poll_mode_drv.rst index 2567876..2e7b430 10

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 01:51:13PM +, Qiu, Michael wrote: > On 2014/12/18 19:26, Neil Horman wrote: > > On Wed, Dec 17, 2014 at 11:20:26PM +0100, Thomas Monjalon wrote: > >> Hi Neil, > >> > >> 2014-12-17 12:03, Neil Horman: > >>> Back in: > >>> > >>> commit aaa662e75c23c61a1d79bd4d1f9f35b4967c3

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 01:21:31PM +0100, Thomas Monjalon wrote: > 2014-12-18 06:25, Neil Horman: > > On Wed, Dec 17, 2014 at 11:20:26PM +0100, Thomas Monjalon wrote: > > > 2014-12-17 12:03, Neil Horman: > > > > Signed-off-by: Neil Horman > > > > CC: Thomas Monjalon > > > > > > What is the meani

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread ciara.lof...@intel.com
From: Ciara Loftus This patch fixes the issue whereby when using userspace vhost ports in the context of vSwitching, the name provided to the hypervisor/QEMU of the vhost tap device needs to be exposed in the library, in order for the vSwitch to be able to direct packets to the correct device. Th

[dpdk-dev] [PATCH 2/2] doc: updating from 1.7 to 1.8 release note

2014-12-18 Thread Siobhan Butler
Added instructions for updating from DPDK 1.7.0 to 1.8.0 Signed-off-by: Siobhan Butler Signed-off-by: Bruce Richardson --- doc/guides/rel_notes/updating_apps.rst | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/doc/guides/rel_notes/updating_app

[dpdk-dev] [PATCH 1/2] doc: add vxlan support to release notes

2014-12-18 Thread Siobhan Butler
Added to New and Supported features for VXLAN feature. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 2 ++ doc/guides/rel_notes/supported_features.rst | 5 + 2 files changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/new_features.rst b/doc/guides/r

[dpdk-dev] [PATCH 0/2] doc: update to release notes

2014-12-18 Thread Siobhan Butler
Update to release notes to add VXLAN features. Added 1.8 to 'updating apps' section of release notes. Siobhan Butler (2): doc: add vxlan support to release notes doc: updating from 1.7 to 1.8 release note doc/guides/rel_notes/new_features.rst | 2 ++ doc/guides/rel_notes/supported_fe

[dpdk-dev] [PATCH] kni: fix build for CentOS 6.6

2014-12-18 Thread Jincheng Miao
>From CentOS 6.6, function skb_set_hash is introduced, this breaks the previous assumption. So modify RHEL_RELEASE_VERSION from 7.0 to 6.6 to fix build for rte_kni.ko. Related mail from Barak Enat: http://dpdk.org/ml/archives/dev/2014-December/010124.html building error likes: CC [M] /root/dp

[dpdk-dev] [PATCH] enic: remove code under VFIO_PRESENT and use eal code for interrupts

2014-12-18 Thread Sujith Sankar
This patch removes the interrupt registration code which was under the flag VFIO_PRESENT and relies on the rte_lib code for the same. This also ignores the initial trigger of ISR from the lib. Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic_main.c | 117

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-18 Thread Bruce Richardson
On Thu, Dec 18, 2014 at 12:20:07PM +, Walukiewicz, Miroslaw wrote: > I have another question regarding your patch. > > Could we extend values returned by rte_lcore_id() to set them per thread > (really the DPDK lcore is a pthread but started on specific core) instead of > creating linear th

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-18 Thread Newman Poborsky
Hi, could someone please provide any explanation why sometimes mempool creation fails with ENOMEM? I run my test app several times without any problems and then I start getting ENOMEM error when creating mempool that are used for packets. I try to delete everything from /mnt/huge, I increase the

[dpdk-dev] [PATCH] Minor fixes in rte_common.h file.

2014-12-18 Thread Neil Horman
On Wed, Dec 17, 2014 at 08:40:17AM -0800, Ravi Kerur wrote: > On Tue, Dec 16, 2014 at 1:40 PM, Neil Horman wrote: > > > > On Tue, Dec 16, 2014 at 08:46:51AM -0800, Ravi Kerur wrote: > > > On Sat, Dec 13, 2014 at 2:39 AM, Neil Horman > > wrote: > > > > > > > > On Fri, Dec 12, 2014 at 03:04:34PM -0

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Qiu, Michael
On 2014/12/18 19:26, Neil Horman wrote: > On Wed, Dec 17, 2014 at 11:20:26PM +0100, Thomas Monjalon wrote: >> Hi Neil, >> >> 2014-12-17 12:03, Neil Horman: >>> Back in: >>> >>> commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db >>> Author: Alan Carew >>> Date: Fri Dec 5 15:19:07 2014 +0100 >>> >>>

[dpdk-dev] [PATCH v2] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Qiu, Michael
Hi Neil, I think if you could add the commit author in the cc list will be better. Because this could let him know about his code's issue and he is the always the best person to review the patch. Thanks, Michael On 2014/12/18 19:32, Neil Horman wrote: > Back in: > > commit aaa662e75c23c61a1d79b

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Thomas Monjalon
2014-12-18 06:25, Neil Horman: > On Wed, Dec 17, 2014 at 11:20:26PM +0100, Thomas Monjalon wrote: > > 2014-12-17 12:03, Neil Horman: > > > Signed-off-by: Neil Horman > > > CC: Thomas Monjalon > > > > What is the meaning of CC here? > > > CC is a tag that git send-email understands. As it impli

[dpdk-dev] [PATCH] ixgbe_vf: Fix getting link state

2014-12-18 Thread Choonho Son
DPDK pmd code should have the consistency with original network device driver code. Linux kernel driver---> DPDK pmd driver --- ixgbevf_check_mac_link_vf()ixgbe_check_mac_link_vf() at ixgbevf/vf.c

[dpdk-dev] DPDK RSS support for ixgbevf PMD

2014-12-18 Thread Vlad Zolotarov
On 12/18/14 03:32, Ouyang, Changchun wrote: > Hi > >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Wednesday, December 17, 2014 4:47 PM >> To: Ouyang, Changchun; Thomas Monjalon >> Cc: dev at dpdk.org; Avi Kivity; Gleb Natapov >> Subject: Re: [

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-18 Thread Walukiewicz, Miroslaw
I have another question regarding your patch. Could we extend values returned by rte_lcore_id() to set them per thread (really the DPDK lcore is a pthread but started on specific core) instead of creating linear thread id. The patch would be much simpler and will work same way. The only chang

[dpdk-dev] [PATCH 5/6] ixgbe: Config VF RSS

2014-12-18 Thread Vlad Zolotarov
On 12/18/14 11:58, Vlad Zolotarov wrote: > From: Changchun Ouyang > > It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS. > > Signed-off-by: Changchun Ouyang > --- > lib/librte_pmd_ixgbe/ixgbe_pf.c | 15 + > lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 66 >

[dpdk-dev] [PATCH v2 2/2] doc: remove intel legal blurb from sample app ug

2014-12-18 Thread Siobhan Butler
Removed Legal blurb from sample applications guide. Signed-off-by: Siobhan Butler --- doc/guides/sample_app_ug/index.rst | 35 --- 1 file changed, 35 deletions(-) diff --git a/doc/guides/sample_app_ug/index.rst b/doc/guides/sample_app_ug/index.rst index c3b50e2.

[dpdk-dev] [PATCH v2 1/2] doc: remove intel dpdk in sample app ug

2014-12-18 Thread Siobhan Butler
Removed redundant references to Intel(R) DPDK in Sample App UG. Signed-off-by: Siobhan Butler --- doc/guides/sample_app_ug/cmd_line.rst | 10 ++-- doc/guides/sample_app_ug/exception_path.rst| 8 ++-- doc/guides/sample_app_ug/hello_world.rst | 8 ++-- doc/guides/s

[dpdk-dev] [PATCH v2 0/2] doc: remove intel references from sample app ug

2014-12-18 Thread Siobhan Butler
Removed Intel(R) DPDK references from sample app guide. Removed Intel legal blurb from sample app guide. Siobhan Butler (2): doc: remove intel dpdk in sample app ug doc: remove intel legal blurb from sample app ug doc/guides/sample_app_ug/cmd_line.rst | 10 ++-- doc/guides/sampl

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Daniel Mrzyglod
In rte_eth_af_packet.c we are we are missing NULL pointer checks after calls to alocate memory for queues. Add checking NULL pointer and error handling. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/lib

[dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process

2014-12-18 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu > Sent: Thursday, December 18, 2014 10:17 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start > secondary process > > EAL: probe driver: 8086:10fb rte_

[dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process

2014-12-18 Thread Bruce Richardson
On Thu, Dec 18, 2014 at 10:22:28AM +, Qiu, Michael wrote: > On 12/18/2014 6:17 PM, Qiu, Michael wrote: > > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > > EAL: PCI memory mapped at 0x7f18c2a0 > > EAL: PCI memory mapped at 0x7f18c2a8 > > Segmentation fault (core dumped) > > > > This

[dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process

2014-12-18 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Qiu, Michael > Sent: Thursday, December 18, 2014 10:22 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start > secondary process > > On 12/18/2014 6:17 PM, Qiu, Mi

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Olivier MATZ
Hi, On 12/18/2014 09:40 AM, Olivier MATZ wrote: > Hi Neil, > > On 12/17/2014 06:03 PM, Neil Horman wrote: >> Back in: >> >> commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db >> Author: Alan Carew >> Date: Fri Dec 5 15:19:07 2014 +0100 >> >> cmdline: fix overflow on bsd >> >> The author faile

[dpdk-dev] [PATCH] ixgbe: fix segmentation fault when start secondary process

2014-12-18 Thread Qiu, Michael
On 12/18/2014 6:17 PM, Qiu, Michael wrote: > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > EAL: PCI memory mapped at 0x7f18c2a0 > EAL: PCI memory mapped at 0x7f18c2a8 > Segmentation fault (core dumped) > > This is introduced by commit: 46bc9d75 > ixgbe: fix multi-process support

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-18 Thread Franck Baudin
On 12/18/14 07:55, Jim Thompson wrote: > The issues are outlined in this paper: > http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf If the RSS scope is limited to IP addresses (2-tuple instead of a 5-tuple), do we have a symmetric distribution with the default RSS key provided by DPDK with

[dpdk-dev] [PATCH] af_packet: fix memory allocation check

2014-12-18 Thread Daniel Mrzyglod
In rte_eth_af_packet.c we are we are missing NULL pointer checks after calls to alocate memory for queues. Add checking NULL pointer and error handling. Signed-off-by: Daniel Mrzyglod --- lib/librte_pmd_af_packet/rte_eth_af_packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/lib

[dpdk-dev] [PATCH] test: fix missing NULL pointer checks

2014-12-18 Thread Daniel Mrzyglod
In test_sched, we are missing NULL pointer checks after calls to create the mempool and to allocate an mbuf. Add in these checks using VERIFY macros. Signed-off-by: Daniel Mrzyglod --- app/test/test_sched.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test/test_sched.c b/app/test/t

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Olivier MATZ
Hi Neil, On 12/17/2014 06:03 PM, Neil Horman wrote: > Back in: > > commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db > Author: Alan Carew > Date: Fri Dec 5 15:19:07 2014 +0100 > > cmdline: fix overflow on bsd > > The author failed to fixup a call to cmdline_parse_etheraddr in xenvirt. Thi

[dpdk-dev] [PATCH] vhost: add interface name to virtio-net struct

2014-12-18 Thread Stephen Hemminger
On Thu, 18 Dec 2014 14:55:23 + ciara.loftus at intel.com wrote: > diff --git a/lib/librte_vhost/rte_virtio_net.h > b/lib/librte_vhost/rte_virtio_net.h > index 00b1328..aebb4b5 100644 > --- a/lib/librte_vhost/rte_virtio_net.h > +++ b/lib/librte_vhost/rte_virtio_net.h > @@ -96,6 +96,7 @@ struct

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Stephen Hemminger
On Wed, 17 Dec 2014 12:03:28 -0500 Neil Horman wrote: > Back in: > > commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db > Author: Alan Carew > Date: Fri Dec 5 15:19:07 2014 +0100 > > cmdline: fix overflow on bsd > > The author failed to fixup a call to cmdline_parse_etheraddr in xenvirt.

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-18 Thread Stephen Hemminger
On Thu, 18 Dec 2014 12:20:07 + "Walukiewicz, Miroslaw" wrote: > Could we extend values returned by rte_lcore_id() to set them per thread > (really the DPDK lcore is a pthread but started on specific core) instead of > creating linear thread id. The linear thread id is very useful for havi

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-18 Thread Zhang, Helin
Hi guys I40e has hardware offload of symmetric hashing. Patch set has been sent out during R1.8 time slot, but it will be in R2.0. Regards, Helin > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jim Thompson > Sent: Thursday, December 18, 2014 2:56 PM > To:

[dpdk-dev] [PATCH v2] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
Back in: commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db Author: Alan Carew Date: Fri Dec 5 15:19:07 2014 +0100 cmdline: fix overflow on bsd The author failed to fixup a call to cmdline_parse_etheraddr in xenvirt. This patch makes the needed correction to avoid a build break Signed-off-

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
On Thu, Dec 18, 2014 at 03:40:54AM +, Cao, Waterman wrote: > Hi Neil, > > Can you let me know what configuration you used for XEN Domain U? > Do you able to run some test cases on XEN Domain U? > So far, we met some issues on xenvirt (Domain U). > > Thanks > > Waterm

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Neil Horman
On Wed, Dec 17, 2014 at 11:20:26PM +0100, Thomas Monjalon wrote: > Hi Neil, > > 2014-12-17 12:03, Neil Horman: > > Back in: > > > > commit aaa662e75c23c61a1d79bd4d1f9f35b4967c39db > > Author: Alan Carew > > Date: Fri Dec 5 15:19:07 2014 +0100 > > > > cmdline: fix overflow on bsd > > > >

[dpdk-dev] [PATCH] xenvirt: Fix build break on cmdline_parse_etheraddr call

2014-12-18 Thread Cao, Waterman
Hi Neil, Can you let me know what configuration you used for XEN Domain U? Do you able to run some test cases on XEN Domain U? So far, we met some issues on xenvirt (Domain U). Thanks Waterman

[dpdk-dev] DPDK RSS support for ixgbevf PMD

2014-12-18 Thread Ouyang, Changchun
Hi > -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Wednesday, December 17, 2014 4:47 PM > To: Ouyang, Changchun; Thomas Monjalon > Cc: dev at dpdk.org; Avi Kivity; Gleb Natapov > Subject: Re: [dpdk-dev] DPDK RSS support for ixgbevf PMD > > > On

[dpdk-dev] [dpdk-announce] release candidate 1.8.0-rc6

2014-12-18 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: http://dpdk.org/browse/dpdk/tag/?id=v1.8.0-rc6 This release candidate is only 1 day younger than the rc5 and include some major build fixes around combined library linking. Please test your applications with various build configurations (s

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-18 Thread Jim Thompson
The issues are outlined in this paper: http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf > On Dec 17, 2014, at 7:28 PM, Kamraan Nasim > wrote: > > Hi DPDK community, > > Any better RSS hash keys out there? > > --Kam > > On Wed, Dec 17, 2014 at 2:12 PM, Kamraan Nasim sidebandnetworks.

  1   2   >