[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] 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] 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()

[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

[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:

[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] 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] [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:

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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(-)

[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

[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

[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

[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 ++ >

[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

[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

[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

[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

[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

[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

[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:

[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:

[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:

[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

[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

[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

[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

[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

[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 ++

[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]

[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

[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

[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

[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

[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] [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

[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

[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 ++--

[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 ++--

[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

[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

[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) > > > >

[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] [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

[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

[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.

[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 @@

[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

[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 >

[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 > >

[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] 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

[dpdk-dev] [PATCH] examples/vhost: Fix vlan offload issue

2014-12-18 Thread Thomas Monjalon
2014-12-17 11:04, Thomas Monjalon: > 2014-12-17 00:51, Ouyang, Changchun: > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > 2014-12-12 12:15, Ouyang Changchun: > > > > The following commit break vm2vm hard mode test cases: > > > > commit db4014f2b65cb31bf209cadd5bcec778ca137fe2

[dpdk-dev] [PATCH] test: fix macro by adding in missing "do" in do-while

2014-12-18 Thread Thomas Monjalon
2014-12-17 17:06, Bruce Richardson: > One of the test assertion macros was missing the "do" part of the > do-while. This issue was picked up by clang reporting an empty while > loop body for the closing while of the do-while pair. > > Signed-off-by: Bruce Richardson Applied Thanks -- Thomas

[dpdk-dev] [PATCH 0/5] fix compilation issues seen with clang-3.5

2014-12-18 Thread Thomas Monjalon
> This series are compilation fixes seen with clang-3.5 on linux. > > Olivier Matz (5): > test-devargs: fix misplaced braces in strncmp call > examples/l3fwd: fix compilation with clang 3.5 > examples/netmap: fix overflow in ioctl operation > examples/vm_power_manager: move -lvirt in

[dpdk-dev] [PATCH v3 0/3] bond: static analysis issues fix

2014-12-18 Thread Thomas Monjalon
> -v3: > Split patches > > -v2: > Incorporates Pawel's comments regarding assertion's check on activate_slave > array indexing > > Fixes for link bonding library identified by static analysis tool > > - Overflow assert for active_slaves array in activate_slave function > - Allocation check of

[dpdk-dev] [PATCH] i40e: fix of compile errors

2014-12-18 Thread Thomas Monjalon
> Compile warning which is treated as error occurs on Oracle Linux > (kernel 2.6.39, gcc 4.4.7) as below. Aliasing > 'struct i40e_aqc_debug_reg_read_write' should be avoided. Use the > elements inside that structure directly can fix the issue. > > lib/librte_pmd_i40e/i40e_ethdev.c: In function

[dpdk-dev] [PATCH] kni: fix build on RHEL6.5

2014-12-18 Thread Thomas Monjalon
2014-12-17 11:26, Jincheng Miao: > On 12/16/2014 11:21 PM, Thomas Monjalon wrote: > > 2014-12-11 13:27, Jincheng Miao: > >> RHEL6.5 kernel is based on 2.6.32. But there are two changing > >> from 2.6.35: > >> 1. socket struct is changed > >> It wrappered previous wait_queue_head_t of socket to >

[dpdk-dev] [PATCH 0/3] mk: fix link options

2014-12-18 Thread Thomas Monjalon
2014-12-17 22:59, Thomas Monjalon: > When trying to fix the use of combined library, some bugs have been > raised. This patchset fix and clean some link options. > > Thomas Monjalon (3): > mk: fix link examples to combined library > mk: forbid multiple definitions > mk: fix link with CC