[dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2

2014-09-05 Thread Masaru Oki
Hi, What is your build environment (processor)? I got same error with AMD Phoenom II, doesn't have SSSE3 instruction. 2014-09-05 22:23 GMT+09:00 Raj Ravi : > Hi, > I was facing this error: > "SSSE3 instruction set not enabled" while building dpdk. > > Using the following commands: > make config

[dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2

2014-09-05 Thread Raj Ravi
cpuinfo: cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 4 model name : AMD Phenom(tm) II X4 955 Processor stepping : 3 microcode : 0x1c8 cpu MHz : 800.000 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu core

[dpdk-dev] dpdk 1.6 insmod rte_kni error

2014-09-05 Thread rong wen
Hi All, I am a new guy to use dpdk. The kernel version is 2.6.32. After I build the rte_kni.ko, I run insmod rte_kni.ko, error message is: Unloading any existing DPDK KNI module Loading DPDK KNI module insmod: error inserting '/home/wenrong.wr/dpdk_dev_r1-6-0/x86_64-default-linuxapp-gcc/kmod/rte

[dpdk-dev] [PATCH] pcap: set in_port value in packet mbuf data when each packet is received

2014-09-05 Thread Saori USAMI
The pkt.in_port parameter in mbuf should be set with an input port id because DPDK apps may use it to know where each packet came from. Signed-off-by: Saori USAMI --- lib/librte_pmd_pcap/rte_eth_pcap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.c b/l

[dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2

2014-09-05 Thread Raj Ravi
Hi, I was facing this error: "SSSE3 instruction set not enabled" while building dpdk. Using the following commands: make config T=x86_64-native-linuxapp-gcc make install T=x86_64-native-linuxapp-gcc So, again I tried like this : make configT=x86_64-native-linuxapp-gcc EXTRA_CFLAGS="-msse4

[dpdk-dev] Are there considerations about resource recycling by the process, not by the OS?

2014-09-05 Thread Tetsuya.Mukawa
Hi Zhangkun, Do you talk about resource management of DPDK when a process is finished? If so, I guess DPDK doesn't care so much about freeing resources once allocated by the process. For example, there is no function to free a mempool. Thanks, Tetsuya (2014/09/05 12:39), Zhangkun (K) wrote: > Hi

[dpdk-dev] rte_lpm_add in librte_lpm

2014-09-05 Thread Jan Sacha
Hi, I've been playing with DPDK and I got some crashes in the LPM module. As far as I know, this problem has not been reported yet. These crashes happened in DPDK 1.7.0 and 1.6.0r2 (I didn't check other versions) when I added new LPM routes. In the lib/librte_lpm/rte_lpm.c file, line 399 (add

[dpdk-dev] [PATCH v2 6/6] mbuf: flatten struct vlan_macip into mbuf struct

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 6/6] mbuf: flatten struct vlan_macip into > mbuf struct > > The vlan_macip structure combined a

[dpdk-dev] [PATCH v3 4/6] mbuf: remove the rte_pktmbuf structure

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 04, 2014 2:26 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 4/6] mbuf: remove the rte_pktmbuf > structure > > From: Olivier Matz > > The rte_pktmbuf st

[dpdk-dev] [PATCH v2 5/6] mbuf: rename in_port to just port

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 5/6] mbuf: rename in_port to just port > > In some cases we may want to tag a packet for a parti

[dpdk-dev] [PATCH v2 4/6] mbuf: remove the rte_pktmbuf structure

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 4/6] mbuf: remove the rte_pktmbuf > structure > > From: Olivier Matz > > The rte_pktmbuf struc

[dpdk-dev] [PATCH v2 3/6] mbuf: remove rte_ctrlmbuf

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 3/6] mbuf: remove rte_ctrlmbuf > > From: Olivier Matz > > The initial role of rte_ctrlmbuf is

[dpdk-dev] [PATCH v2 2/6] mbuf: rename RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/6] mbuf: rename > RTE_MBUF_SCATTER_GATHER into RTE_MBUF_REFCNT > > From: Olivier Matz > > It

[dpdk-dev] [PATCH v2 1/6] ixgbe: put only non-zero initializer in definition

2014-09-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 28, 2014 4:43 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/6] ixgbe: put only non-zero initializer in > definition > > Since all unspecified fields in an

[dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2

2014-09-05 Thread Thomas Monjalon
Hi, 2014-09-05 18:53, Raj Ravi: > I was facing this error: > "SSSE3 instruction set not enabled" while building dpdk. It should not happen with last version (1.7.1). > Using the following commands: > make config T=x86_64-native-linuxapp-gcc > make install T=x86_64-native-linuxapp-gcc Please p

[dpdk-dev] dpdk 1.6 insmod rte_kni error

2014-09-05 Thread Zhou, Danny
Have you insmod hwmon.ko on your system? Also, you may want to build the DPDK on your system as KNI kernel module depends on local kernel source code. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of rong wen > Sent: Friday, September 05, 2014 7:35 PM > To:

[dpdk-dev] Question about ASLR

2014-09-05 Thread Matt Laswell
Hey Folks, A colleague noticed warnings in section 23.3 of the programmer's guide about the use of address space layout randomization with multiprocess DPDK applications. And, upon inspection, it appears that ASLR is enabled on our target systems. We've never seen a problem that we could trace b

[dpdk-dev] SSSE3 instruction set not enabled ERROR - use msse4.2

2014-09-05 Thread Neil Horman
On Fri, Sep 05, 2014 at 08:32:56PM +0530, Raj Ravi wrote: > > cpuinfo: > cat /proc/cpuinfo > processor : 0 > vendor_id : AuthenticAMD > cpu family : 16 > model : 4 > model name : AMD Phenom(tm) II X4 955 Processor > stepping : 3 > microcode : 0x1c8 > cpu MHz

[dpdk-dev] Are there considerations about resource recycling by the process, not by the OS?

2014-09-05 Thread Masaru Oki
Hi, you may try $ gdb your_program gdb> b rte_panic gdb> run stopped at rte_panic gdb> bt sorry, it is not answer for your question. by the way, do you run the program as root? 2014-09-05 12:07 GMT+09:00 Zhangkun (K) : > Hi, >I develop the program with the use of dpdk and the process

[dpdk-dev] Are there considerations about resource recycling by the process, not by the OS?

2014-09-05 Thread Richardson, Bruce
Can you perhaps send on the log and the traceback from the panic call. From the error message we may be able to tell you why your process is failing. /Bruce > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhangkun (K) > Sent: Friday, September 05, 2014 4:40

[dpdk-dev] Are there considerations about resource recycling by the process, not by the OS?

2014-09-05 Thread Zhangkun (K)
Hi, Yes, the program is running as root. I want to know if or not the DPDK Community considers about resource recycling. From: Masaru Oki [mailto:m-...@stratosphere.co.jp] Date: 2014?9?5? 11:18 To: Zhangkun (K) Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Are there considerations about res

[dpdk-dev] Are there considerations about resource recycling by the process, not by the OS?

2014-09-05 Thread Zhangkun (K)
Hi, I develop the program with the use of dpdk and the process is core dump when the program is started. The process is crash in case of initing memory failed and calling rte_panic function. I search all rte_panic function in the dpdk, and find it so many. Therefore, in case the pr ocess hap