dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Jose Gavine Cueto <pepedocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Venkatesan,
	Venky" <venky.venkatesan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: intel x540-at2
Date: Sun, 5 Jan 2014 22:31:24 +0800	[thread overview]
Message-ID: <CAJ5bv6HntjZH_SO9VBTAc06QAYr-m-HwaxKoTWSmJZgcqnTXhg@mail.gmail.com> (raw)
In-Reply-To: <AA969A27-9D6D-435D-B703-475C653D50A8-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Hi Venky,


On Fri, Jan 3, 2014 at 9:43 PM, Venkatesan, Venky <
venky.venkatesan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:

> Pepe ,
>
> Was the DPDK library compiled on a different machine and the used in the
> VM? It looks like it has been compiled for native AVX (hence the
> vzeroupper). Could you dump cpuinfo in the VM and see what instruction set
> the VM supports?
>

Yes, it was compiled in a different machine and it was used in my VM.  I
don't have cpuinfo prog as of the moment so I've pasted my VM's cpuinfo
file instead.

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz
stepping        : 9
cpu MHz         : 2658.957
cache size      : 6144 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc
rep_good nopl pni monitor ssse3 lahf_lm
bogomips        : 5317.91
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

 It seems that there is no avx here, does this mean this doesn't support
avx instructions ?

Thanks,
Pepe

>
> -Venky
>
> Sent from my iPhone
>
> > On Jan 3, 2014, at 2:32 AM, "Jose Gavine Cueto" <pepedocs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
> >
> > I haven't added it yet, because as of the moment I do not have an access
> to
> > the built DPDK library I was using.  I was just linking it with my DPDK
> > application.
> >
> > I tried to debug it with GDB and disassembled it, the invalid instruction
> > was "vzeroupper" which occurs at rte_eal_init, somewhere when
> initializing
> > pthreads.
> >
> > Ok, I'll to debug more and get more information.
> >
> > Thanks again,
> > Pepe
> >
> >
> > On Fri, Jan 3, 2014 at 6:26 PM, Thomas Monjalon
> > <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>wrote:
> >
> >> 03/01/2014 11:09, Jose Gavine Cueto :
> >>> I am running a DPDK application in a guest VM which uses one VF.  This
> VM
> >>> runs on top of the host that has an x540-at2 NIC and uses the ixgbe
> >> driver.
> >>> The issue was that every time I run the DPDK application in the VM it
> >>> errors an invalid instruction and stops there.
> >>
> >> First, have you added x540-at2 in ixgbe_type.h, ixgbe_api.c and
> >> rte_pci_dev_ids.h ?
> >> What is the invalid instruction ? Have you tried to debug it ?
> >>
> >> I don't know this NIC so I'm afraid you should debug it by yourself.
> >>
> >> Please, keep us informed if you make it working.
> >> --
> >> Thomas
> >
> >
> >
> > --
> > To stop learning is like to stop loving.
>



-- 
To stop learning is like to stop loving.

  parent reply	other threads:[~2014-01-05 14:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23  9:18 intel x540-at2 Jose Gavine Cueto
     [not found] ` <CAJ5bv6E-Z5Wu4iKCxMYvkV1bdNyjrStJuuYjrMQwfUgHHQgEVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-02 14:24   ` Thomas Monjalon
     [not found]     ` <201401021524.14069.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-01-03  9:09       ` Jose Gavine Cueto
     [not found]         ` <CAJ5bv6F_qEj8pUhGLt6qvR02k+zZLfVjD_Geg4YJSOK2moxCaQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-03  9:16           ` Jose Gavine Cueto
     [not found]             ` <CAJ5bv6FCXoRLStgEOKxcikdJfS29K1KyL2m-cbmC7BV-0JpAKg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-03  9:56               ` Thomas Monjalon
     [not found]                 ` <201401031056.16164.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-01-03 10:09                   ` Jose Gavine Cueto
     [not found]                     ` <CAJ5bv6EQrGOKU9bR0FRVJooa14L6oc9u_U_Dd8z5TuQyvxpODQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-03 10:26                       ` Thomas Monjalon
     [not found]                         ` <201401031126.10063.thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2014-01-03 10:31                           ` Jose Gavine Cueto
     [not found]                             ` <CAJ5bv6H06N0tXb+8kzBsTHcg1TaW57FL_wC0iys6ZhXywW=h4A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-03 13:43                               ` Venkatesan, Venky
     [not found]                                 ` <AA969A27-9D6D-435D-B703-475C653D50A8-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-01-03 13:59                                   ` Thomas Monjalon
2014-01-05 14:31                                   ` Jose Gavine Cueto [this message]
     [not found]                                     ` <CAJ5bv6HntjZH_SO9VBTAc06QAYr-m-HwaxKoTWSmJZgcqnTXhg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-05 14:54                                       ` Thomas Monjalon
2014-01-06  6:03                                         ` Jose Gavine Cueto
     [not found]                                           ` <CAJ5bv6Gk-O9rdA8hncgPdn340TFcAsSxPxoUy_Qp7jc4G5=1gw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-08  6:13                                             ` Jose Gavine Cueto

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=CAJ5bv6HntjZH_SO9VBTAc06QAYr-m-HwaxKoTWSmJZgcqnTXhg@mail.gmail.com \
    --to=pepedocs-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=venky.venkatesan-ral2JQCrhuEAvxtiuMwx3w@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).