From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f171.google.com (mail-yw0-f171.google.com [209.85.161.171]) by dpdk.org (Postfix) with ESMTP id 2356ECE7 for ; Fri, 26 Aug 2016 19:58:59 +0200 (CEST) Received: by mail-yw0-f171.google.com with SMTP id u134so53037686ywg.3 for ; Fri, 26 Aug 2016 10:58:59 -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=M8jcVxBqFnbqPkEwMT9DKmO0ansNKv2TYhA2KrWOJtk=; b=bsB5xN4tuAlKvw9scyRayfBruhNaB2VYMg/M35z6UQdoKaKv50CBus2gPnwBLv7mpY vkkQ1dacRICveX82Nh7/dcZMT85VwnXU/xzdYd7CHQxLcxmENw3sb/hrPXTHbkL+CBpO 202GCIFaJTTnj5Jb+QXksU/qTHUHQyeBkyREZeiBLaxF6WwfJQmnECxwIH8Onc68az5Z wOXY8kIjQPZVIhqEJn+0TEBLEN3Wd+wK9EVI3q0mqsJaqHzhEUzb3S6exPAH1QOId2TP oGflxRXb+6wguGcEd0qIa4X9yOsj3Xgf4KaJUz6nK+ONYqUETDYxd5wsEfmTg4SM2qzF OiDg== 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=M8jcVxBqFnbqPkEwMT9DKmO0ansNKv2TYhA2KrWOJtk=; b=jW2SiG+fRY9+VC2PnBQps30DmS8bt/eKnaWmBFG0B7bjyxVHQN5CCPwmnS0XHsO05y 4+OKoj/bOEDj45bDVC36ddsL4RydyWEgL+SQLy2lS5aihDV7lRKaOkKsmzFq0RNZPsRt t2gN6ZvAtNUp86qwaGQ87rSxssXaCvYXYE7B4f/qIa1ApnHGYSPvm8iZDYR5pUt6in47 j8qylL2yEQtd7wARuTQoGPpJUOjEBl1sZlNRuqqV+KiHLQEZStfFun0Dg0KrVwaoP+Z1 lwUOURJlxnDT63CthktSNkQ/sjj4rByLGCg4yQw1sAZOpfefbp97GRihBKywj8ab3u8N lRNA== X-Gm-Message-State: AE9vXwOhLzHECQTQbwvbiWwRJ0fddfhcdJ2H/kYoC6Bkc2pGpLHSKOebf1F9sNWfM0ScTTTsIwgCzwCWnQeNpA== X-Received: by 10.129.30.214 with SMTP id e205mr4271312ywe.118.1472234338536; Fri, 26 Aug 2016 10:58:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.119.214 with HTTP; Fri, 26 Aug 2016 10:58:58 -0700 (PDT) In-Reply-To: References: From: Charlie Li Date: Fri, 26 Aug 2016 12:58:58 -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: Fri, 26 Aug 2016 17:58:59 -0000 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 >