DPDK patches and discussions
 help / color / mirror / Atom feed
From: Suryanathan P <suryanathan@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] How to set RTE_MACHINE on DPDK 1.7.0 correctly?
Date: Wed, 23 Jul 2014 22:58:22 +0530	[thread overview]
Message-ID: <CAK9BpTeQPSuuyCvZDUXEc6Cau7cmU20tUCxpK7TeYAXsFZj2NA@mail.gmail.com> (raw)

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

             reply	other threads:[~2014-07-23 17:26 UTC|newest]

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

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=CAK9BpTeQPSuuyCvZDUXEc6Cau7cmU20tUCxpK7TeYAXsFZj2NA@mail.gmail.com \
    --to=suryanathan@gmail.com \
    --cc=dev@dpdk.org \
    /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).