* [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? @ 2016-08-25 17:28 Charlie Li 2016-08-26 7:12 ` Shreyansh Jain 2016-08-26 9:55 ` Tan, Jianfeng 0 siblings, 2 replies; 6+ messages in thread From: Charlie Li @ 2016-08-25 17:28 UTC (permalink / raw) To: users 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. Has anybody seen similar issue in the VM? Thanks, Charlie ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? 2016-08-25 17:28 [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? Charlie Li @ 2016-08-26 7:12 ` Shreyansh Jain 2016-08-26 9:55 ` Tan, Jianfeng 1 sibling, 0 replies; 6+ messages in thread From: Shreyansh Jain @ 2016-08-26 7:12 UTC (permalink / raw) To: Charlie Li; +Cc: users Hi Charlie, > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Charlie Li > Sent: Thursday, August 25, 2016 10:58 PM > 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 think the attachment has been scrubbed - or at least I haven't received it. Would it be possible to directly dump the error in email (as text)? Or, link the image to an external image repo. > > Has anybody seen similar issue in the VM? > > Thanks, > > Charlie - Shreyansh ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? 2016-08-25 17:28 [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? Charlie Li 2016-08-26 7:12 ` Shreyansh Jain @ 2016-08-26 9:55 ` Tan, Jianfeng 2016-08-26 17:58 ` Charlie Li 1 sibling, 1 reply; 6+ messages in thread From: Tan, Jianfeng @ 2016-08-26 9:55 UTC (permalink / raw) To: Charlie Li, users 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? 2016-08-26 9:55 ` Tan, Jianfeng @ 2016-08-26 17:58 ` Charlie Li 2016-08-29 5:29 ` Tan, Jianfeng 0 siblings, 1 reply; 6+ messages in thread From: Charlie Li @ 2016-08-26 17:58 UTC (permalink / raw) To: Tan, Jianfeng; +Cc: users 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 <jianfeng.tan@intel.com> 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 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? 2016-08-26 17:58 ` Charlie Li @ 2016-08-29 5:29 ` Tan, Jianfeng 2016-08-29 15:52 ` Charlie Li 0 siblings, 1 reply; 6+ messages in thread From: Tan, Jianfeng @ 2016-08-29 5:29 UTC (permalink / raw) To: Charlie Li; +Cc: users 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 <jianfeng.tan@intel.com > <mailto:jianfeng.tan@intel.com>> wrote: > > Hi Charlie, > > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org > <mailto:users-bounces@dpdk.org>] On Behalf Of Charlie Li > > Sent: Friday, August 26, 2016 1:28 AM > > To: users@dpdk.org <mailto: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 > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? 2016-08-29 5:29 ` Tan, Jianfeng @ 2016-08-29 15:52 ` Charlie Li 0 siblings, 0 replies; 6+ messages in thread From: Charlie Li @ 2016-08-29 15:52 UTC (permalink / raw) To: Tan, Jianfeng; +Cc: users Thanks Jianfeng! On Mon, Aug 29, 2016 at 12:29 AM, Tan, Jianfeng <jianfeng.tan@intel.com> 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 <jianfeng.tan@intel.com> > 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 >> > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-29 15:52 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-08-25 17:28 [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM? Charlie Li 2016-08-26 7:12 ` Shreyansh Jain 2016-08-26 9:55 ` Tan, Jianfeng 2016-08-26 17:58 ` Charlie Li 2016-08-29 5:29 ` Tan, Jianfeng 2016-08-29 15:52 ` Charlie Li
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).