DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Richardson, Bruce" <bruce.richardson@intel.com>
To: Suryanathan P <suryanathan@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly?
Date: Wed, 23 Jul 2014 18:44:40 +0000	[thread overview]
Message-ID: <59AF69C657FD0841A61C55336867B5B0343B1755@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <CAK9BpTeQPSuuyCvZDUXEc6Cau7cmU20tUCxpK7TeYAXsFZj2NA@mail.gmail.com>

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

      reply	other threads:[~2014-07-23 18:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 17:28 Suryanathan P
2014-07-23 18:44 ` Richardson, Bruce [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59AF69C657FD0841A61C55336867B5B0343B1755@IRSMSX103.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=suryanathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).