DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly?
@ 2014-07-23 17:28 Suryanathan P
  2014-07-23 18:44 ` Richardson, Bruce
  0 siblings, 1 reply; 2+ messages in thread
From: Suryanathan P @ 2014-07-23 17:28 UTC (permalink / raw)
  To: dev

Hi,

I am trying to compile the test-pmd app on an Intel Core i7 targeted to run
on Intel Atom target.

When I run test pmd binary on the target machine, it fails to start with:

ERROR: This system does not support "AVX".
Please check that RTE_MACHINE is set correctly.

This is how I am building dpdk:

RTE_MAHCHINE=atm
export RTE_MACHINE

make install T=x86_64-native-linuxapp-gcc

Since this didn't work, I copied

cp config/defconfig_x86_64-native-linuxapp-gcc to
config/defconfig_x86_64-atm-linuxapp-gcc

and changed:

CONFIG_RTE_MACHINE="atm"

Followed by build:
make install T=x86_64-atm-linuxapp-gcc

This failed when compiling:
== Build lib/librte_pmd_ixgbe
.
.
CC ixgbe_rxtx_vec.o
In file included from
/home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0:
/usr/lib/gcc/x86_64-linux-gnu/4.6/include/nmmintrin.h:31:3: error: #error
"SSE4.2 instruction set not enabled"
/home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c: In function
'ixgbe_recv_pkts_vec'

Any help is appreciated.

Thanks.
Suryanathan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly?
  2014-07-23 17:28 [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly? Suryanathan P
@ 2014-07-23 18:44 ` Richardson, Bruce
  0 siblings, 0 replies; 2+ messages in thread
From: Richardson, Bruce @ 2014-07-23 18:44 UTC (permalink / raw)
  To: Suryanathan P, dev

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Suryanathan P
> Sent: Wednesday, July 23, 2014 10:28 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly?
> 
> Hi,
> 
> I am trying to compile the test-pmd app on an Intel Core i7 targeted to run
> on Intel Atom target.
> 
> When I run test pmd binary on the target machine, it fails to start with:
> 
> ERROR: This system does not support "AVX".
> Please check that RTE_MACHINE is set correctly.
> 
> This is how I am building dpdk:
> 
> RTE_MAHCHINE=atm
> export RTE_MACHINE
> 
> make install T=x86_64-native-linuxapp-gcc
> 
> Since this didn't work, I copied
> 
> cp config/defconfig_x86_64-native-linuxapp-gcc to
> config/defconfig_x86_64-atm-linuxapp-gcc
> 
> and changed:
> 
> CONFIG_RTE_MACHINE="atm"
> 
> Followed by build:
> make install T=x86_64-atm-linuxapp-gcc
> 
> This failed when compiling:
> == Build lib/librte_pmd_ixgbe
> .
> .
> CC ixgbe_rxtx_vec.o
> In file included from
> /home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0:
> /usr/lib/gcc/x86_64-linux-gnu/4.6/include/nmmintrin.h:31:3: error: #error
> "SSE4.2 instruction set not enabled"
> /home/sp/dpdk/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c: In function
> 'ixgbe_recv_pkts_vec'
> 
> Any help is appreciated.
> 
> Thanks.
> Suryanathan

To compile for the atom target you probably need to turn off the ACL library and set the "INC_VECTOR" setting for IXGBE to "n" to disable the components which require SSE4.2.

/Bruce

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-23 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 17:28 [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly? Suryanathan P
2014-07-23 18:44 ` Richardson, Bruce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).