From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by dpdk.org (Postfix) with ESMTP id 3F8701F3 for ; Mon, 12 Aug 2013 20:39:52 +0200 (CEST) Received: by mail-we0-f174.google.com with SMTP id q54so5719228wes.5 for ; Mon, 12 Aug 2013 11:40:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=apZBJ7eKohngrsWxmkHrJLRNASTT0pGJuzgXpdcwu5I=; b=ob6FR4wsdQGlx8VE2i4ea3dpr0UxI+wZdZvDnnp2zwfG2nvmgLRs8YuduBB6q5bH0g V4Z817tq4zKsbEOpgipBGT4aT2M8aEoYWUv2+udAww7yDVrQqv90HaFWNZgGnitYTYEl m4cjqRYXbmFQLoZGtr2W1u65u9iGddfL5rzJknznjSxo9pK1oKk/H5B1+/O9xcF28cLE aZ5nCF8vtSZihLxsqc7Bb9Dp97IwUifNcIFJe4WGWH/NVSdZpA22G2nny8QKq+A1FyAq mnOVhLyUOUaQYKZP+wrjXEkBZyps09dEWhnWmXNqEni+varFrFMREZbJBB4uAPxU07Uk ETXA== X-Received: by 10.180.185.49 with SMTP id ez17mr186711wic.12.1376332818427; Mon, 12 Aug 2013 11:40:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.200.129 with HTTP; Mon, 12 Aug 2013 11:39:58 -0700 (PDT) In-Reply-To: <201307311404.05504.thomas.monjalon@6wind.com> References: <201307311404.05504.thomas.monjalon@6wind.com> From: jinho hwang Date: Tue, 13 Aug 2013 03:39:58 +0900 Message-ID: To: Thomas Monjalon Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: dev Subject: Re: [dpdk-dev] l2fwd-vf application 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: Mon, 12 Aug 2013 18:39:52 -0000 On Wed, Jul 31, 2013 at 9:04 PM, Thomas Monjalon wrote: > Hello, > > 31/07/2013 09:29, Jayakumar Satri : >> Just started experimenting with the dpdk. Working with >> dpdk-1.2.3r4. I was running the l2fwd-vf application using virtual box. = I >> got the following error. >> >> =93Cause: No Ethernet port =96 bye=94 > > You are trying to use a VF driver. Is virtual box emulating a VF device ? > This example application initialize 3 drivers: igb, ixgbe, ixgbevf. > Please check the device support of your hypervisor (virtual box here). > You can also check the supported drivers of DPDK-1.3 in this page: > http://dpdk.org/doc/nics > > About the form of your email: > - Please do not use HTML when posting to this mailing-list. > - Your email CANNOT be confidential so do not put this ugly signature (tw= ice) > Just look how your email is ugly when archived: > http://dpdk.org/ml/archives/dev/2013-July/000367.html > > -- > Thomas Thomas, I have played around the vf function as well. I got the vf to work in virtual machine, but I can not receive any packets from hypervisor. I expected to receive packets from both hypervisor and vm based on l2 switching in NIC. My suspicion is that I may not configure the physical function correctly in hypervisor? (I do not see any difference between having vf and not having vf except for delivering kernel commands for mmu and pci realloc). In summary, I want to receive packets both in VM (via VF) and in hypervisor (via PF). Can you guide me for this? Thank you, Jinho