From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f170.google.com (mail-yw0-f170.google.com [209.85.161.170]) by dpdk.org (Postfix) with ESMTP id 654CBA6A for ; Mon, 29 Aug 2016 17:52:56 +0200 (CEST) Received: by mail-yw0-f170.google.com with SMTP id u134so88464602ywg.3 for ; Mon, 29 Aug 2016 08:52:56 -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; bh=cfO1MXA1PHLaU28kRMgMrzN1cHZH3BthyCtOfDLaRd0=; b=jyXt8ln09eiMX5SfQqwG7XA0gqjFmxPNjHZLU1iA0pCx+tvX0avF1j1wDHLzCPlJHw Pcj72K99s6OdFvU9DESfb68ZqXYuoQsSy84oNsETG2d7gv3A/rW2FDrIfFKSHE33dskO yPphYrAWmIDWf3divfxfZeqnNDgsWkDHEhI+zlpmIUFd7liW5m+sNPnzacO0Phu/m+xo 3M0zc/QUpJ140pwmz0BP4LTaDkQrEVRa4USbaylZYYl6j38vtxvvjOk+1OG+jUzpxa8R 8fWhoIsYG4QZHsCXRHRRzng+CYoUX6LfgPP+muo0hCnXs1BWjfoqdOaHVTsbMXwzRj4j B5XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cfO1MXA1PHLaU28kRMgMrzN1cHZH3BthyCtOfDLaRd0=; b=RME9HXeS/4jA/0UCTlTWiIF87R9uglcsg6K/hMXAUCbo3/IrUQXkLAqWPuVkYxk8xh aBVmMt3aM+hmfeDvDHK7dMCabFDimraZaz9UB3KqUEQu9KbsEEe7yEYRgwbDF182XtJ0 rP4wtn81j14Jp6eURC/B58muSoj1kuEz6xxbYcAwGITqV1acCtA7daEOY0Ol1NFcEJ+E ymrWLQNzLhINx50Mx7EwSx++B0E3FLuHOHDNRy/ZsjuhT+vcnV+mJvXYUy2L8qFp/nxz hFO3W78DzxgRhK84grJdU+R2hQjhXlrezatax2AfOn9kE5EWnIN2yoyCyx08NzopFKeL X9Pg== X-Gm-Message-State: AE9vXwNRrvBD5D9JA0kButDpY/xMj59B0H2cgabv23u0lT7Hv1Z9Vk4YkfWobHIivVHV3O83LqC/iw/lXgR0+w== X-Received: by 10.129.86.131 with SMTP id k125mr15479850ywb.21.1472485975864; Mon, 29 Aug 2016 08:52:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.119.214 with HTTP; Mon, 29 Aug 2016 08:52:55 -0700 (PDT) In-Reply-To: References: From: Charlie Li Date: Mon, 29 Aug 2016 10:52:55 -0500 Message-ID: To: "Tan, Jianfeng" Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 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 15:52:56 -0000 Thanks Jianfeng! On Mon, Aug 29, 2016 at 12:29 AM, Tan, Jianfeng wrote: > 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 >> > > >