From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id F062F7CE1 for ; Sun, 8 Oct 2017 18:13:52 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 08 Oct 2017 09:13:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,496,1500966000"; d="scan'208,217";a="1228419203" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.255.31.177]) ([10.255.31.177]) by fmsmga002.fm.intel.com with ESMTP; 08 Oct 2017 09:13:48 -0700 To: Bill Bonaparte , 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 References: <1585937b-613c-eecf-5b08-d840a3265329@intel.com> Cc: DPDK From: "Tan, Jianfeng" Message-ID: <7612e974-4dfd-970e-2bce-f59cfacf1aee@intel.com> Date: Mon, 9 Oct 2017 00:13:47 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 16:13:53 -0000 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. Not sure if anyone from Amazon or Oracle can comment? Thanks, Jianfeng