DPDK usage discussions
 help / color / mirror / Atom feed
From: "Tan, Jianfeng" <jianfeng.tan@intel.com>
To: Charlie Li <charlie.li@gmail.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Why testpmd fails to start in VM while l2fwd works in the same VM?
Date: Mon, 29 Aug 2016 13:29:37 +0800	[thread overview]
Message-ID: <a50f4321-4ebc-f461-d49f-f6f0f0f3856b@intel.com> (raw)
In-Reply-To: <CAO=HJQP_Do3pxVUw+xBmqBXUu9VnvtC3FNQDVxgMA2sDmDvvTA@mail.gmail.com>

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
>
>

  reply	other threads:[~2016-08-29  5:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 17:28 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 [this message]
2016-08-29 15:52       ` Charlie Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a50f4321-4ebc-f461-d49f-f6f0f0f3856b@intel.com \
    --to=jianfeng.tan@intel.com \
    --cc=charlie.li@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).