dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Masaru Oki <m-oki-kJJssGRo5Gr08ZWpFnN8/c8NsWr+9BEh@public.gmane.org>
To: Yaron Illouz <yaroni-zKfTUZrCxYPQT0dZR+AlfA@public.gmane.org>
Cc: "<dev-VfR2kkLFssw@public.gmane.org>" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: compile dpdk with no avx
Date: Wed, 12 Nov 2014 22:48:16 +0900	[thread overview]
Message-ID: <CAFLKUzK2iiZRTdRETujAX_sd2Jdp=uUwnMgHdQEA3dx9CxdRTQ@mail.gmail.com> (raw)
In-Reply-To: <1A791056FCD70F458405B58B79F5C2F7069C605F-8t5J/EC3/wuVxRzSA5LG+b7u3d4RdYgBZkel5v8DVj8@public.gmane.org>

Hi,

Some libraries need AVX instruction, but if you don't use, it can disable.
  e.g. CONFIG_RTE_LIBRTE_IXGBE_PMD=n in config file.


2014-11-12 21:45 GMT+09:00 Yaron Illouz <yaroni-zKfTUZrCxYPQT0dZR+AlfA@public.gmane.org>:
> Hi
>
>
>
> I use dpdk in my product. I can't change my dpdk version.
>
> I compile it on a server that have avx.
>
> Most of the time, it run on machine that have avx, but not always.
>
>
>
> When running the product on a machine with no avx, it crash on illegal
> instruction.
>
> The current solution is to build it on a computer with no avx.
>
>
>
> Is there a compilation flag to disable avx? So it doesn't matter on
> which computer I compiled it.
>
>
>
> Compile flag
>
> defconfig_x86_64-default-linuxapp-gcc
>
>
>
> Dpdk version
>
> PACKAGE_VERSION_MAJOR_NUMBER=1
>
> PACKAGE_VERSION_MINOR_NUMBER=6
>
> PACKAGE_VERSION_PATCH_NUMBER=0
>
> PACKAGE_VERSION_BUILD_NUMBER=18
>
>
>
> Gcc version
>
> gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
>
>
>
> OS
>
> CentOS release 6.3 (Final)
>
>
>
>
>
>
>
>
>

  parent reply	other threads:[~2014-11-12 13:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 12:45 compile dpdk with no avx Yaron Illouz
     [not found] ` <1A791056FCD70F458405B58B79F5C2F7069C605F-8t5J/EC3/wuVxRzSA5LG+b7u3d4RdYgBZkel5v8DVj8@public.gmane.org>
2014-11-12 13:48   ` Masaru Oki [this message]
     [not found]     ` <CAFLKUzK2iiZRTdRETujAX_sd2Jdp=uUwnMgHdQEA3dx9CxdRTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-12 14:24       ` De Lara Guarch, Pablo
     [not found]         ` <E115CCD9D858EF4F90C690B0DCB4D8972683612A-kPTMFJFq+rEMvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-12 15:23           ` Neil Horman
     [not found]             ` <20141112152349.GA7554-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2014-11-12 16:16               ` Bruce Richardson
2014-11-12 19:30                 ` Neil Horman

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='CAFLKUzK2iiZRTdRETujAX_sd2Jdp=uUwnMgHdQEA3dx9CxdRTQ@mail.gmail.com' \
    --to=m-oki-kjjssgro5gr08zwpfnn8/c8nswr+9beh@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=yaroni-zKfTUZrCxYPQT0dZR+AlfA@public.gmane.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).