From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7C4442BE6 for ; Mon, 29 Aug 2016 07:29:40 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 28 Aug 2016 22:29:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,594,1464678000"; d="scan'208,217";a="1021602351" Received: from shwdeisgchi083.ccr.corp.intel.com (HELO [10.239.67.193]) ([10.239.67.193]) by orsmga001.jf.intel.com with ESMTP; 28 Aug 2016 22:29:38 -0700 To: Charlie Li References: Cc: "users@dpdk.org" From: "Tan, Jianfeng" Message-ID: Date: Mon, 29 Aug 2016 13:29:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 05:29:41 -0000 These flags are used to compose the configuration, which will be passed as parameter to rte_dev_configure(). And by default in testpmd, hw-vlan is enabled, which is not supported by virtio device but can be supported by other hardware devices. Thanks, Jianfeng On 8/27/2016 1:58 AM, Charlie Li wrote: > Thanks Jianfeng, > > After adding " --txqflags=0xf00 --disable-hw-vlan", testpmd starts to > work for me. > > My follow-up is question is - > > Why these flags are required in the VM while not required in the host? > > Regards, > Charlie > > On Fri, Aug 26, 2016 at 4:55 AM, Tan, Jianfeng > wrote: > > Hi Charlie, > > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org > ] On Behalf Of Charlie Li > > Sent: Friday, August 26, 2016 1:28 AM > > To: users@dpdk.org > > Subject: [dpdk-users] Why testpmd fails to start in VM while > l2fwd works in > > the same VM? > > > > Hi All, > > > > My host and VM both are running Fedora 23. > > > > In the host, DPDK (testpmd, l2fwd and l3fwd) works fine. > > > > Then I set up OVS with DPDK and pass two (dpdkvhostuser) ports > to the VM. > > > > In the VM, l2fwd works fine, but testpmd fails to start. Pleas > see the > > attached screenshot of the VM with error messages. > > I do not know how to run testpmd. Just a hint, you need to add " > --txqflags=0xf00 --disable-hw-vlan" when starting testpmd. > > Thanks, > Jianfeng > > > > > Has anybody seen similar issue in the VM? > > > > Thanks, > > > > Charlie > >