From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <venky.venkatesan@intel.com>
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20])
 by dpdk.org (Postfix) with ESMTP id B4EBA594B
 for <dev@dpdk.org>; Fri,  3 Jan 2014 14:42:29 +0100 (CET)
Received: from fmsmga001.fm.intel.com ([10.253.24.23])
 by orsmga101.jf.intel.com with ESMTP; 03 Jan 2014 05:43:39 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.95,598,1384329600"; d="scan'208";a="453247537"
Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8])
 by fmsmga001.fm.intel.com with ESMTP; 03 Jan 2014 05:43:38 -0800
Received: from orsmsx102.amr.corp.intel.com ([169.254.1.112]) by
 ORSMSX110.amr.corp.intel.com ([169.254.3.205]) with mapi id 14.03.0123.003;
 Fri, 3 Jan 2014 05:43:38 -0800
From: "Venkatesan, Venky" <venky.venkatesan@intel.com>
To: Jose Gavine Cueto <pepedocs@gmail.com>
Thread-Topic: [dpdk-dev] intel x540-at2
Thread-Index: AQHPB8Zem3xkjphsUkusARgDdVKst5pzPXSAgAACLwCAAAsCAIAAA6IAgAAEt4CAAAGHgP//r4qy
Date: Fri, 3 Jan 2014 13:43:37 +0000
Message-ID: <AA969A27-9D6D-435D-B703-475C653D50A8@intel.com>
References: <CAJ5bv6E-Z5Wu4iKCxMYvkV1bdNyjrStJuuYjrMQwfUgHHQgEVQ@mail.gmail.com>
 <201401031056.16164.thomas.monjalon@6wind.com>
 <CAJ5bv6EQrGOKU9bR0FRVJooa14L6oc9u_U_Dd8z5TuQyvxpODQ@mail.gmail.com>
 <201401031126.10063.thomas.monjalon@6wind.com>,
 <CAJ5bv6H06N0tXb+8kzBsTHcg1TaW57FL_wC0iys6ZhXywW=h4A@mail.gmail.com>
In-Reply-To: <CAJ5bv6H06N0tXb+8kzBsTHcg1TaW57FL_wC0iys6ZhXywW=h4A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] intel x540-at2
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jan 2014 13:42:30 -0000

Pepe ,=20

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 suppo=
rts?=20

-Venky=20

Sent from my iPhone

> On Jan 3, 2014, at 2:32 AM, "Jose Gavine Cueto" <pepedocs@gmail.com> wrot=
e:
>=20
> 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.
>=20
> I tried to debug it with GDB and disassembled it, the invalid instruction
> was "vzeroupper" which occurs at rte_eal_init, somewhere when initializin=
g
> pthreads.
>=20
> Ok, I'll to debug more and get more information.
>=20
> Thanks again,
> Pepe
>=20
>=20
> On Fri, Jan 3, 2014 at 6:26 PM, Thomas Monjalon
> <thomas.monjalon@6wind.com>wrote:
>=20
>> 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.
>>=20
>> 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 ?
>>=20
>> I don't know this NIC so I'm afraid you should debug it by yourself.
>>=20
>> Please, keep us informed if you make it working.
>> --
>> Thomas
>=20
>=20
>=20
> --=20
> To stop learning is like to stop loving.