DPDK usage discussions
 help / color / mirror / Atom feed
From: Alex Kiselev <alex@therouter.net>
To: users@dpdk.org
Subject: Re: [dpdk-users] build dpdk for a cpu that doesn't support avx
Date: Thu, 21 Feb 2019 18:32:54 +0300	[thread overview]
Message-ID: <872839432.20190221183254@therouter.net> (raw)
In-Reply-To: <1681745409.20190221174703@therouter.net>

It looks like I've found a way:

I edited $RTE_SDK/config/defconfig_x86_64-native-linuxapp-gcc
  CONFIG_RTE_MACHINE="x86-64"

and then I used
  make EXTRA_CFLAGS="-march=x86-64 -mpopcnt -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mfpmath=sse -mpopcnt"

The application has started successfully.
But I am wondering, maybe I've missed something and there are potential bugs in this way?

> Hi.

> Is it possible to build DPDK application  on a machine that do have AVX support
> for use at another machine that doesn't have AVX feature?

> Thanks.

--
Alex

  reply	other threads:[~2019-02-21 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-21 14:47 Alex Kiselev
2019-02-21 15:32 ` Alex Kiselev [this message]
2019-02-21 16:02   ` Van Haaren, Harry
2019-02-21 16:32     ` Alex Kiselev

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=872839432.20190221183254@therouter.net \
    --to=alex@therouter.net \
    --cc=users@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).