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

2014-12-17 Thread Thomas Monjalon
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 > > The author failed to fixup a call to cmdline_parse_etheraddr in xenvirt. This > patch

[dpdk-dev] [PATCH 3/3] mk: fix link with CC

2014-12-17 Thread Thomas Monjalon
It appeared in commit 21cdc2e77a4ca999 ("fix 32-bit link with gcc") that linker options must be prefixed by -Wl, when using CC. So CPU_LDFLAGS is prefixed in rte.lib.mk. Then commit 815cfb7925bb6de ("fix link of combined shared library using CC") introduced another prefixing of CPU_LDFLAGS in

[dpdk-dev] [PATCH 2/3] mk: forbid multiple definitions

2014-12-17 Thread Thomas Monjalon
The option "-z muldefs" was set only if not using ld directly. By the way, this option seems to be a useless hack introduced with shared and combined libraries support (e25e4d7ef16b8aa84de). The clean approach is to remove it. Signed-off-by: Thomas Monjalon --- mk/rte.lib.mk | 5 ++---

[dpdk-dev] [PATCH 1/3] mk: fix link examples to combined library

2014-12-17 Thread Thomas Monjalon
RTE_LIBNAME was defined only if BUILDING_RTE_SDK. So external applications like examples were trying to link with -l without any library name. This bug appeared after fixing link to combined library (removing link to separate libraries). Signed-off-by: Thomas Monjalon --- mk/rte.vars.mk | 9

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

2014-12-17 Thread 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 mk/rte.app.mk | 5 ++--- mk/rte.lib.mk |

[dpdk-dev] Segmentation fault in rte_eal_hugepage_attach

2014-12-17 Thread Rick LaMont
> The most likely cause of failure in mapping the memory is that the range > requested is already used by another memory mapping in the processes address > space. Two possible paths to look at this: > 1) examine the /proc//maps file for the secondary process Brilliant advice, Bruce! This was

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-17 Thread Kamraan Nasim
Hi DPDK community, Any better RSS hash keys out there? --Kam On Wed, Dec 17, 2014 at 2:12 PM, Kamraan Nasim wrote: > > Thank you Jeriel. 0x00 0x01 works and I can get bi-directional symmetry > but you are right, it compromises the packet distribution. I am seeing > vastly different 5 tuples

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

2014-12-17 Thread Ananyev, Konstantin
> From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Wednesday, December 17, 2014 3:33 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 Tue, Dec 16, 2014 at 04:16:48PM +,

[dpdk-dev] [PATCH RFC v2 07/12] lib/librte_vhost: async event and callback

2014-12-17 Thread Xie, Huawei
> > I got error from checkpatch.pl like followings. > > ERROR: trailing statements should be on next line > #74: FILE: lib/librte_vhost/vhost_user/fd_man.c:61: > + for (i = 0; i < pfdset->num && pfdset->fd[i].fd != fd; i++); Thanks. This is RFC, so maybe it is far from perfection, :). > > +

[dpdk-dev] [PATCH 1/2] doc: removed intel references from testpmd_ug

2014-12-17 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Wednesday, December 17, 2014 4:59 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] doc: removed intel references from testpmd_ug > > Removed redundant Intel references from

[dpdk-dev] [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user support

2014-12-17 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Sunday, December 14, 2014 10:26 PM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [PATCH RFC v2 00/12] lib/librte_vhost: vhost-user support > > Hi Xie, > > I've got

[dpdk-dev] [PATCH] fix bug can not build example application for missing link library

2014-12-17 Thread Marvin Liu
From: Yong Liu main.o: In function `rte_pktmbuf_free': main.c:(.text+0x9c): undefined reference to `per_lcore__lcore_id' Signed-off-by: Marvin liu --- mk/rte.app.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk

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

2014-12-17 Thread 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 --- app/test/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH 2/2] doc: removed intel legal blurb from testpmd_ug

2014-12-17 Thread Siobhan Butler
Removed Intel Legal blurb from TestPMD User Guide. Signed-off-by: Siobhan Butler --- doc/guides/testpmd_app_ug/index.rst | 46 - 1 file changed, 46 deletions(-) diff --git a/doc/guides/testpmd_app_ug/index.rst b/doc/guides/testpmd_app_ug/index.rst index

[dpdk-dev] [PATCH 1/2] doc: removed intel references from testpmd_ug

2014-12-17 Thread Siobhan Butler
Removed redundant Intel references from TestPMD User Guide. Signed-off-by: Siobhan Butler --- doc/guides/testpmd_app_ug/build_app.rst | 4 ++-- doc/guides/testpmd_app_ug/intro.rst | 18 +- doc/guides/testpmd_app_ug/run_app.rst | 4 ++-- 3 files changed, 13 insertions(+),

[dpdk-dev] [PATCH 0/2] doc: remove intel dpdk references from testpmd_ug

2014-12-17 Thread Siobhan Butler
Removed Intel DPDK references from testpmd User Guide. Removed Intel legal blurb from testpmd User Guide. Siobhan Butler (2): doc: removed intel references from testpmd_ug doc: removed intel legal blurb from testpmd_ug doc/guides/testpmd_app_ug/build_app.rst | 4 +--

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Added new and existing names of sample apps to list of sample apps in release notes. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/rel_description.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Removed resolved issues from known issues section. Added new resolved issues to resolved issues section. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/known_issues.rst| 225 ---

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Removed multiple references to Intel(R) DPDK where no longer relevant. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/faq.rst| 14 +++--- doc/guides/rel_notes/known_issues.rst | 30 ++---

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Removing Appendix A from Release Notes as Intel Licensing information is no longer relevant in this document. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/appendices.rst | 324

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/resolved_issues.rst | 30 ++ 1 file changed, 30 insertions(+) diff --git a/doc/guides/rel_notes/resolved_issues.rst b/doc/guides/rel_notes/resolved_issues.rst

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/known_issues.rst | 36 ++- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/doc/guides/rel_notes/known_issues.rst

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 24 1 file changed, 24 insertions(+) diff --git a/doc/guides/rel_notes/new_features.rst b/doc/guides/rel_notes/new_features.rst index

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 17 - doc/guides/rel_notes/supported_features.rst | 22 ++ 2 files changed, 22 insertions(+), 17 deletions(-) diff --git

[dpdk-dev] [PATCH v4 0/8] doc: patch set to update release notes

2014-12-17 Thread Pablo de Lara
New Features section: - Removed 1.7 New Features - Added 1.8.0 New Features Supported Features section: - Added 1.7 features to Supported Features Known Issues: - Added devices to Known issue "Not all varients of supported NIC types have been used in testing" - Removed known issue

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

2014-12-17 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 v4 8/8] doc: updating the list of sample apps in rel notes

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Added new and existing names of sample apps to list of sample apps in release notes. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/rel_description.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Removed resolved issues from known issues section. Added new resolved issues to resolved issues section. Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/known_issues.rst| 225 ---

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/resolved_issues.rst | 30 ++ 1 file changed, 30 insertions(+) diff --git a/doc/guides/rel_notes/resolved_issues.rst b/doc/guides/rel_notes/resolved_issues.rst

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/known_issues.rst | 36 ++- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/doc/guides/rel_notes/known_issues.rst

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

2014-12-17 Thread Pablo de Lara
From: Siobhan Butler Signed-off-by: Siobhan Butler --- doc/guides/rel_notes/new_features.rst | 17 - doc/guides/rel_notes/supported_features.rst | 22 ++ 2 files changed, 22 insertions(+), 17 deletions(-) diff --git

[dpdk-dev] [PATCH v4 0/8] doc: patch set to update release notes

2014-12-17 Thread Pablo de Lara
New Features section: - Removed 1.7 New Features - Added 1.8.0 New Features Supported Features section: - Added 1.7 features to Supported Features Known Issues: - Added devices to Known issue "Not all varients of supported NIC types have been used in testing" - Removed known issue

[dpdk-dev] [PATCH] replaced O(n^2) sort in sort_by_physaddr() with qsort() from standard library

2014-12-17 Thread Thomas Monjalon
Hi Jay, Please read http://dpdk.org/dev#send for submission guidelines. A description of why you do it would be welcome in the commit log. > +static int > +cmp_physaddr(const void *a, const void *b) > +{ > +#ifndef RTE_ARCH_PPC_64 > + const struct hugepage_file *p1 = (const struct

[dpdk-dev] [PATCH] replaced O(n^2) sort in sort_by_physaddr() with qsort() from standard library

2014-12-17 Thread Bruce Richardson
On Wed, Dec 17, 2014 at 09:07:45AM -0600, Jay Rolette wrote: > > > Comments shall be C-style (/* */). > > > > Single line comments ('//') have been part of the C standard since C99. Is > DPDK following C89 or is this just a style thing? If it is a style thing, a > link to a page with the rubric

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

2014-12-17 Thread Bruce Richardson
On Wed, Dec 17, 2014 at 02:08:27PM +, Bruce Richardson wrote: > On Wed, Dec 17, 2014 at 01:55:20PM +0100, Olivier Matz wrote: > > This series are compilation fixes seen with clang-3.5 on linux. > > > > Olivier Matz (5): > > test-devargs: fix misplaced braces in strncmp call > >

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

2014-12-17 Thread Jincheng Miao
On Tue, Dec 16, 2014 at 11:12 PM, Barak Enat wrote: > Hi > > > > When building 1.7.1 or 1.8.0-rc4 on recent CentOS 6 (6.6) I got this error: > > > > In file included from > /home/makerpm/rpmbuild/BUILD/dpdk-1.8.0/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h:41, > > from

[dpdk-dev] [PATCH] app/test lib/librte_pmd_af_packet: fix check for null & fix possible memory leak

2014-12-17 Thread Thomas Monjalon
Hi Daniel, 2014-12-17 12:56, Daniel Mrzyglod: > app/test/test_sched.c: > -Fix several checking for NULL pointer > lib/librte_pmd_af_packet/rte_eth_af_packet.c: > -Not munmaped queue area > -Fix several checking for NULL pointer These several fixes should be better explained and referenced if you

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-17 Thread Kamraan Nasim
Thank you Jeriel. 0x00 0x01 works and I can get bi-directional symmetry but you are right, it compromises the packet distribution. I am seeing vastly different 5 tuples hashed with the same value. Will let you know if I find a better alternative. --Kam On Tue, Dec 16, 2014 at 5:17 PM, Jeriel

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

2014-12-17 Thread Bruce Richardson
On Wed, Dec 17, 2014 at 01:55:20PM +0100, Olivier Matz wrote: > 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

[dpdk-dev] [PATCH 4/5] examples/vm_power_manager: move -lvirt in LDLIBS

2014-12-17 Thread Olivier Matz
The argument -lvirt is a linker parameter, not a CFLAG. Signed-off-by: Olivier Matz --- examples/vm_power_manager/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/vm_power_manager/Makefile b/examples/vm_power_manager/Makefile index b0a1037..113dbc4

[dpdk-dev] [PATCH 1/5] test-devargs: fix misplaced braces in strncmp call

2014-12-17 Thread Olivier Matz
One occurrence call to strncmp had the closing brace in the wrong place. Changing this form: if (strncmp(X, Y, sizeof(X) != 0)) which does a comparison of length 1, to if (strncmp(X, Y, sizeof(X)) != 0) which does the correct length comparison and then compares the result to zero

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

2014-12-17 Thread Olivier Matz
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 LDLIBS

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

2014-12-17 Thread Helin Zhang
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] vmxnet3 and Linux FC20 OS platform, example directory could not compiled success

2014-12-17 Thread Thomas Monjalon
2014-12-17 08:59, Zhang, XiaonanX: > Hi Pablo and Thomas, >We use latest package DPDK-1.8-rc5, and we found some compiled errors, > > Our Test Environment setup as follows: > > - OS: Fedora20 3.11.10-301.fc20.x86_64 > - GCC: gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) > - CPU: Intel(R)

[dpdk-dev] [PATCH v3 3/3] bond: eth_dev parameter used before NULL check in mac_address_get/set

2014-12-17 Thread Declan Doherty
Signed-off-by: Declan Doherty --- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b/lib/librte_pmd_bond/rte_eth_bond_pmd.c index 3db473b..bb4a537 100644 ---

[dpdk-dev] igb claiming device.

2014-12-17 Thread ratheesh kannoth
I used unbind option...not remove. Still i face this problem On Wed, Dec 17, 2014 at 11:02 AM, ratheesh kannoth wrote: > Hi list, > > I have enic driver compiled as part of kernel. when the system comes > up, it detects all the 4 vnics in mysystem ( say eth0, eth1, eth2, > eth3). I am removing

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

2014-12-17 Thread 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 >> struct socket_wq. So for the kernel older

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

2014-12-17 Thread 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 is added from Cent 6.6, > so some macro should

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

2014-12-17 Thread 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 > > > Author: Huawei Xie > > > Date: Thu

[dpdk-dev] DPDK RSS support for ixgbevf PMD

2014-12-17 Thread Vlad Zolotarov
On 12/17/14 03:03, Ouyang, Changchun wrote: > Hi , > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Tuesday, December 16, 2014 11:36 PM >> To: Thomas Monjalon >> Cc: dev at dpdk.org; Avi Kivity; Gleb Natapov >> Subject: Re:

[dpdk-dev] [PATCH] mk: fix link to combined library

2014-12-17 Thread Bruce Richardson
On Wed, Dec 17, 2014 at 11:43:51AM +0100, Thomas Monjalon wrote: > 2014-12-17 10:38, Bruce Richardson: > > On Wed, Dec 17, 2014 at 12:45:32AM +0100, Thomas Monjalon wrote: > > > 2014-12-11 02:54, Hiroshi Shimamoto: > > > > From: Hiroshi Shimamoto > > > > > > > > The application should be linked

[dpdk-dev] [PATCH] mk: fix link to combined library

2014-12-17 Thread Bruce Richardson
On Wed, Dec 17, 2014 at 10:38:16AM +, Bruce Richardson wrote: > On Wed, Dec 17, 2014 at 12:45:32AM +0100, Thomas Monjalon wrote: > > 2014-12-11 02:54, Hiroshi Shimamoto: > > > From: Hiroshi Shimamoto > > > > > > The application should be linked to the single combined library in the > > >

[dpdk-dev] [PATCH v2] mk: link combined shared lib using CC

2014-12-17 Thread Gonzalez Monroy, Sergio
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, December 16, 2014 11:43 PM > > 2014-12-16 19:48, Thomas Monjalon: > > 2014-10-28 15:48, Sergio Gonzalez Monroy: > > > If we set EXTRA_CFLAGS=-O0, build fails with following error: > > > > > > /usr/bin/ld: test: hidden

[dpdk-dev] [PATCH] doc: remove intel legal info from freebsd-gsg

2014-12-17 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Tuesday, December 16, 2014 10:57 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: remove intel legal info from freebsd-gsg > > Removed redundant legal blurb from FreeBSD GSG >

[dpdk-dev] [PATCH v2] doc: remove redundant intel references-freebsd gsg

2014-12-17 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Siobhan Butler > Sent: Tuesday, December 16, 2014 10:50 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: remove redundant intel references-freebsd > gsg > > Updated the FreeBSD GSG to remove

[dpdk-dev] [PATCH v4] doc: add known issue for iommu and igb_uio

2014-12-17 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez Monroy > Sent: Monday, December 15, 2014 10:33 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4] doc: add known issue for iommu and igb_uio > > Known issue regarding iommu/VT-d and

[dpdk-dev] Segmentation fault in rte_eal_hugepage_attach

2014-12-17 Thread Bruce Richardson
On Tue, Dec 16, 2014 at 11:12:36PM -0500, Rick LaMont wrote: > My DPDK application works fine when it's the primary process but crashes > whenever --proc-type=secondary. The segmentation fault occurs in this call > to mmap() within rte_eal_hugepage_attach(): > > /* > * fdzero is

[dpdk-dev] two tso related questions

2014-12-17 Thread Helmut Sim
thanks. i will check this On Tue, Dec 16, 2014 at 4:04 PM, Alex Markuze wrote: > > > > On Tue, Dec 16, 2014 at 2:24 PM, Helmut Sim wrote: >> >> Thanks Alex, >> >> So i probably miss something... >> what you are saying is correct for IP segmentation where the segmentation >> is at the IP level,

[dpdk-dev] vmxnet3 and Linux FC20 OS platform, example directory could not compiled success

2014-12-17 Thread Zhang, XiaonanX
Hi Pablo and Thomas, We use latest package DPDK-1.8-rc5, and we found some compiled errors, Our Test Environment setup as follows: - OS: Fedora20 3.11.10-301.fc20.x86_64 - GCC: gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Intel

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

2014-12-17 Thread Ravi Kerur
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 -0800, r k wrote: > > > > Subject: [PATCH] Minor fixes in rte_common.h

[dpdk-dev] [PATCH] Fixed spam from kni_allocate_mbufs() when no mbufs are free. If mbufs exhausted, 'out of memory' message logged at EXTREMELY high rates. Now logs no more than once per 10 mins

2014-12-17 Thread Jay Rolette
Signed-off-by: Jay Rolette --- lib/librte_kni/rte_kni.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/lib/librte_kni/rte_kni.c b/lib/librte_kni/rte_kni.c index fdb7509..f89319c 100644 --- a/lib/librte_kni/rte_kni.c +++ b/lib/librte_kni/rte_kni.c @@

[dpdk-dev] [PATCH] Fixed spam from kni_allocate_mbufs() when no mbufs are free.

2014-12-17 Thread Jay Rolette
self-NAK now that I know that gmail web client borks up the patches. I'll re-submit. Jay On Fri, Dec 12, 2014 at 7:28 PM, Jay Rolette wrote: > > Fixed spam from kni_allocate_mbufs() when no mbufs are free. > If mbufs exhausted, 'out of memory' message logged at EXTREMELY high > rates. Now logs

[dpdk-dev] [PATCH] replaced O(n^2) sort in sort_by_physaddr() with qsort() from standard library

2014-12-17 Thread Jay Rolette
Thanks to some help from Matthew Hall, it looks like I have it working now. I just resent the patch directly from git. Please let me know if it looks ok now? Sorry for the hassles. We use Mercurial internally, so while there is a lot of overlap, sending patches isn't something I have to worry

[dpdk-dev] Fwd: FOSDEM conference - call for participation

2014-12-17 Thread Vincent JARDIN
Le 17 d?c. 2014 04:15, "Stephen Hemminger" a ?crit : > > On Fri, 31 Oct 2014 15:53:19 -0700 (PDT) > Thomas Monjalon wrote: > > > Hi, > > > > Talks related to DPDK can be proposed for FOSDEM 2015: > > https://fosdem.org/2015/ > > This conference will take place in Belgium on 31 January & 1

[dpdk-dev] [PATCH] replaced O(n^2) sort in sort_by_physaddr() with qsort() from standard library

2014-12-17 Thread Jay Rolette
Signed-off-by: Jay Rolette --- lib/librte_eal/linuxapp/eal/eal_memory.c | 59 +++- 1 file changed, 20 insertions(+), 39 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c index bae2507..3656515 100644 ---

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

2014-12-17 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: http://dpdk.org/browse/dpdk/tag/?id=v1.8.0-rc5 This release candidate includes some build fixes, some corner cases fixes and some documentation updates. Changelog (main changes since rc4) - fixes for: * building

[dpdk-dev] [PATCH v2] testpmd: limit port mask bits to RTE_MAX_ETHPORTS

2014-12-17 Thread Thomas Monjalon
2014-12-16 16:43, Neil Horman: > On Tue, Dec 16, 2014 at 02:39:44PM +, Bruce Richardson wrote: > > The port mask parsing in testpmd allowed up to 64 bits to be processed, > > even if RTE_MAX_ETHPORTS is set to a max of 32. Fix this by only > > processing up to min(RTE_MAX_ETHPORTS,64) bits of

[dpdk-dev] [PATCH v2] vmxnet3: set txq_flags in default TX conf

2014-12-17 Thread Thomas Monjalon
> Since commit fbde27f19ab8f "get default Rx/Tx configuration from dev info", > a default RX/TX configuration can be used for all PMDs. > In case of vmxnet3, the whole structure was zeroed and not filled out. > The PMD does not support multi segments or offload functions, > so txq_flags should

[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2014-12-17 Thread Xie, Huawei
> > +{ > > + struct virtio_net *dev = get_device(ctx); > > + > > + /* We have to stop the queue (virtio) if it is running. */ > > + if (dev->flags & VIRTIO_DEV_RUNNING) > > + notify_ops->destroy_device(dev); > > I have an one concern about finalization of vrings. > Can

[dpdk-dev] [PATCH v3] i40e: workaround for X710 performance issues

2014-12-17 Thread Thomas Monjalon
> > On X710, performance number is far from the expectation on recent > > firmware versions. The fix for this issue may not be integrated in > > the following firmware version. So the workaround in software driver > > is needed. It needs to modify the initial values of 3 internal only > >

[dpdk-dev] DPDK RSS support for ixgbevf PMD

2014-12-17 Thread Ouyang, Changchun
Hi , > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Tuesday, December 16, 2014 11:36 PM > To: Thomas Monjalon > Cc: dev at dpdk.org; Avi Kivity; Gleb Natapov > Subject: Re: [dpdk-dev] DPDK RSS support for ixgbevf PMD > > > On

[dpdk-dev] [PATCH] ixgbe: support X540 VF

2014-12-17 Thread Thomas Monjalon
> Add missing setup for X540 MAC type when setting up VF. > Additional check exists in Linux driver but not in DPDK. > > Signed-off-yb: Bill Hong > Signed-off-by: Stephen Hemminger Applied Thanks -- Thomas

[dpdk-dev] [PATCH v2] ixgbe: fix multi-process support

2014-12-17 Thread Thomas Monjalon
2014-12-11 17:07, Bruce Richardson: > On Thu, Dec 11, 2014 at 04:58:42PM +, Pattan, Reshma wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > > > When using multiple processes, the TX function used in all processes > > > should be > > > the same, otherwise

[dpdk-dev] [PATCH] igb_uio: fix Xen compatibility with kernel 3.18

2014-12-17 Thread Thomas Monjalon
2014-12-12 12:39, Jincheng Miao: > On 12/12/2014 03:33 AM, Shu Shen wrote: > > This patch fixes build failing with undefined symbol _PAGE_IOMAP with > > kernel 3.18. > > > > The Xen-specific _PAGE_IOMAP PTE flag was removed in kernel 3.18 and > > could be used for other purpose in future. This

[dpdk-dev] [PATCH] ring: Fix return type in enqueue and dequeue burst functions

2014-12-17 Thread Thomas Monjalon
> > Enqueue and dequeue burst functions always return a positive > > value (including 0), so return type should be unsigned, > > instead of int. > > > > Fixed also API doc for one of the functions. > > > > Signed-off-by: Pablo de Lara > > Acked-by: Olivier Matz Applied Thanks -- Thomas

[dpdk-dev] [PATCH 0/3] (More) Fixes for issues highlighted by static analysis

2014-12-17 Thread Thomas Monjalon
> A further three small patches fixing more issues highlighted by static > analysis scans. > > Bruce Richardson (3): > af_packet: ensure *internals is not null when dereferencing > ixgbe: prevent array overflow access in vector driver > eal: for safety, use snprintf instead of sprintf

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

2014-12-17 Thread Ouyang, Changchun
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, December 17, 2014 12:37 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/vhost: Fix vlan offload issue > > 2014-12-12 12:15, Ouyang

[dpdk-dev] [PATCH] fix rte_memcpy() macro: avoid unused value warning

2014-12-17 Thread Thomas Monjalon
2014-12-16 01:57, Qiu, Michael: > On 12/16/2014 12:55 AM, Michal Jastrzebski wrote: > > From: Pawel Wodkowski > > > > This change use statements in expressions C extension provided by gcc to > > avoid > > 'value computed is not used' warning/error when size is not known at compile > > time. > >

[dpdk-dev] [PATCH] mk: fix link to combined library

2014-12-17 Thread Thomas Monjalon
2014-12-11 02:54, Hiroshi Shimamoto: > From: Hiroshi Shimamoto > > The application should be linked to the single combined library in the > condition that both of CONFIG_RTE_BUILD_COMBINE_LIB and > CONFIG_RTE_BUILD_SHARED_LIB are enabled. > > The current makefile generates an application that

[dpdk-dev] [PATCH v2] mk: fix build with shared pcap pmd

2014-12-17 Thread Thomas Monjalon
2014-12-16 16:42, Neil Horman: > On Tue, Dec 16, 2014 at 03:39:56PM +0100, Thomas Monjalon wrote: > > 2014-12-16 08:58, Neil Horman: > > > On Tue, Dec 16, 2014 at 12:04:44AM +0100, Thomas Monjalon wrote: > > > > Some applications doesn't have the pcap link flag > > > > when shared libraries are