From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by dpdk.org (Postfix) with ESMTP id 75C50594B for ; Fri, 3 Jan 2014 11:08:06 +0100 (CET) Received: by mail-lb0-f169.google.com with SMTP id u14so8116788lbd.0 for ; Fri, 03 Jan 2014 02:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=px72ql1jMPyQsr20A8xey3jZQ7CcBlMUEAapdCAKA3s=; b=TYHtNRk9WH42UyTzdiSqMRzZWbccRjSq0Qu+i6t6hui65Lo+2VURyBhmRuL5OxCBiY BYsdZV13qYgXo92+pc582WmqMR1vS4whW239UVcV23hhBVo/Qg2zKR7nF4CWw7kt/mxC rG3kh1Tzo6fKc1sF9+zMUg0a7zoQGZwOsqmyQoFLgGo+ECb5LuPJEvA7i9ZcMVS8bPCO P1QL9yI8nuPCjngvlPdLQ8+ZfFhcpZ5R0FcIdRUToHzrnfARKY7wksoxv6TIaDWEp4z3 HOkT63GwRD6L9DO1FBjkf6KidUorO22k7twPqvlc5aVoKf9wXoEtK2N0O3ui5btasqxP 4bJQ== MIME-Version: 1.0 X-Received: by 10.152.36.101 with SMTP id p5mr86757laj.67.1388743756732; Fri, 03 Jan 2014 02:09:16 -0800 (PST) Received: by 10.114.59.164 with HTTP; Fri, 3 Jan 2014 02:09:16 -0800 (PST) In-Reply-To: <201401031056.16164.thomas.monjalon@6wind.com> References: <201401031056.16164.thomas.monjalon@6wind.com> Date: Fri, 3 Jan 2014 18:09:16 +0800 Message-ID: From: Jose Gavine Cueto To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 10:08:07 -0000 Hi Thomas, I thought I was clear enough, sorry for the confusion. 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. I've come into a conclusion that NIC x540-at2 isn't fully supported by DPDK because i can't find a MACRO for it in rte_pci_dev_ids.h. Consequently, I came into a suspicion that this is somewhat causing the DPDK application that runs in the VM to fail, for the reason that the VF in the VM may be trying to perform some capabilities in the PF (x540-at2) that is not available. Cheers, Pepe On Fri, Jan 3, 2014 at 5:56 PM, Thomas Monjalon wrote: > 03/01/2014 10:16, Jose Gavine Cueto : > > Thanks again. So there is a possibility that vf will fail with DPDK due > to > > not fully supported pf. Please correct me if I'm wrong. > > Please Jose, better describe your use case in order to have the right > answer. > > The standard SR-IOV use case is to use a recent ixgbe driver from > kernel.org > or from sourceforge.net for the PF on the host. Then use ixgbevf from > DPDK in > the guest. > It should work. > It is documented in chapter 9 (IXGBE/IGB Virtual Function Driver) of the > programmer's guide: > http://dpdk.org/doc > > -- > Thomas > -- To stop learning is like to stop loving.