From: "Tan, Jianfeng" <jianfeng.tan@intel.com>
To: Bill Bonaparte <programme110@gmail.com>, DPDK <dev@dpdk.org>
Subject: Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
Date: Sat, 30 Sep 2017 16:53:21 +0800 [thread overview]
Message-ID: <1585937b-613c-eecf-5b08-d840a3265329@intel.com> (raw)
In-Reply-To: <CAO8FX+RWvuqh-D+o4uha0wgZYg5GBiG_yFn53oCQhJrqck2UVQ@mail.gmail.com>
Hi Bill
On 9/30/2017 4:47 PM, Bill Bonaparte wrote:
> Hi, everybody:
> I am trying to run dpdk in xen guest, after trying dpdk17.05 without
> success, I tried dpdk16.04 again. and it's sucessful to run testpmd this
> time. but it can't receive any packets.
> the command I used is :
> ./testpmd -l 1,2 -n 4 --vdev="eth_xenvirt0,mac=a6:38:57:e8:d5:be"
> --vdev="eth_xenvirt1,mac=32:f1:42:55:94:74" -- --total-num-mbufs=2048
>
> I read the xen guide again, I found the guide says:
> DPDK provides a para-virtualization packet switching solution, based on the
> Xen hypervisor’s Grant Table, Note 1, which provides simple and fast packet
> switching capability between guest domains and host domain based on MAC
> address or VLAN tag. This solution is comprised of two components; a Poll
> Mode Driver (PMD) as the front end in the guest domain and a switching back
> end in the host domain.
>
> does it mean that dpdk running in DomU must cooperate with xen-vhost in
> Dom0 ?
Yes, we need to run vhost_xen at dom0 so that xenvirt at domU can work.
But it has been long lack of test, not sure of it still works.
And FYI, we are going to remove xen support (dom0, xenvirt, vhost_xen)
in the coming release.
Thanks,
Jianfeng
> I really need your help.
> I appreciate any reply from you .
next prev parent reply other threads:[~2017-09-30 8:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-30 8:47 Bill Bonaparte
2017-09-30 8:53 ` Tan, Jianfeng [this message]
2017-09-30 9:25 ` Bill Bonaparte
2017-10-01 23:50 ` Tan, Jianfeng
2017-10-07 16:58 ` Bill Bonaparte
2017-10-08 4:54 ` Bill Bonaparte
2017-10-08 16:13 ` Tan, Jianfeng
2017-10-09 16:24 ` Bill Bonaparte
2017-10-10 1:14 ` Tan, Jianfeng
2017-10-10 22:57 ` Stephen Hemminger
2017-10-19 19:21 ` Konrad Rzeszutek Wilk
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=1585937b-613c-eecf-5b08-d840a3265329@intel.com \
--to=jianfeng.tan@intel.com \
--cc=dev@dpdk.org \
--cc=programme110@gmail.com \
/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).