DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: "Tan, Jianfeng" <jianfeng.tan@intel.com>
Cc: Bill Bonaparte <programme110@gmail.com>,
	bernard.iremonger@intel.com, huawei.xie@intel.com,
	bruce.richardson@intel.com, thomas@monjalon.net,
	david.marchand@6wind.com, shreyansh.jain@nxp.com,
	pablo.de.lara.guarch@intel.com, olivier.matz@6wind.com,
	yuanhan.liu@linux.intel.com, xen-devel@lists.xenproject.org,
	DPDK <dev@dpdk.org>
Subject: Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
Date: Tue, 10 Oct 2017 15:57:11 -0700	[thread overview]
Message-ID: <20171010155711.129ece1f@shemminger-XPS-13-9360> (raw)
In-Reply-To: <7612e974-4dfd-970e-2bce-f59cfacf1aee@intel.com>

On Mon, 9 Oct 2017 00:13:47 +0800
"Tan, Jianfeng" <jianfeng.tan@intel.com> wrote:

> Hi,
> 
> 
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
> > Thanks Jianfeng for taking time to reply.
> >
> > please allow me to briefly explain why I want to run dpdk on xen.
> > our system is based on dpdk, which means we use dpdk as packet 
> > receive/transmit engine,
> > and with integrated dpdk virtio/vmxnet3 driver, our system can run on 
> > KVM/VMware platform .
> > this year, we have plan to run our system on AWS cloud, but I found 
> > that AWS
> > uses xen as its virtualization platform, and the bus-info of nic is 
> > vif-x (x could be 0,1,2...),
> > the driver used in kernel is vif. this should be para-virtualized nic 
> > used on xen.  
> 
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen 
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for 
> xen netback. Both are missing.
> 
> >
> > I don't know which dpdk drvier can manage this pv nic. then I see 
> > xenvirt, I think this driver can
> > did this job, like virtio can manage virtio nic which is used on kvm.
> > unfortunately, after some study work, I run testpmd successfully on 
> > xen, but no packets received.
> >
> > with the informain got from you, I know It's need to run vhost_xen at 
> > dom0 so that xenvirt at domU can work.
> > but for my case, I have no change to run vhost_xen at dom0, because I 
> > only can operate my own domU.
> >
> > for this case, If I want to run system which is based on dpdk at domU, 
> > what should I do?
> > appreciate any idea or suggestion from you.  
> 
> What kind of performance are you seeking? Only accelerating the frontend 
> by a new PMD, i.e. netfront, we can bypass the VM kernel (). But without 
> accelerating the backend, it only brings limited improvement.

Brocade wrote a xen net-front driver. It was never integrated upstream
and had many issues (such as pretending to be PCI and it wasn't).

  parent reply	other threads:[~2017-10-10 22:57 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
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 [this message]
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=20171010155711.129ece1f@shemminger-XPS-13-9360 \
    --to=stephen@networkplumber.org \
    --cc=bernard.iremonger@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@6wind.com \
    --cc=dev@dpdk.org \
    --cc=huawei.xie@intel.com \
    --cc=jianfeng.tan@intel.com \
    --cc=olivier.matz@6wind.com \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=programme110@gmail.com \
    --cc=shreyansh.jain@nxp.com \
    --cc=thomas@monjalon.net \
    --cc=xen-devel@lists.xenproject.org \
    --cc=yuanhan.liu@linux.intel.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).