From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f48.google.com (mail-it0-f48.google.com [209.85.214.48]) by dpdk.org (Postfix) with ESMTP id 9CBAA1B20E for ; Mon, 9 Oct 2017 18:25:32 +0200 (CEST) Received: by mail-it0-f48.google.com with SMTP id o135so5602268itb.0 for ; Mon, 09 Oct 2017 09:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=PKJ9EHidFAk5K4ny70rez2TrRlqboQutRqhGD1nbP9s=; b=YLH7UYDIB1iNbbmVlDo6DDRl4lrAjPDTjF2lTSYXhn6fO2P0hfybbzu3EZmKD5zpxb Ooe8ujq26+ArmKn1enLw4mOHFb4D/+Iq5VPAezdnpBQP94f19fKv8Y1C1bJ8na5CprwG OEcJbttKi19s+cPpZuBDtxEbN6PAKALAhbqr8a5IP4lbyJmFcM0R3CCG8y6SDCGW6vcn hhQdPCebi2jWvpyZjrZTmaBqFPfePzDtjrAR3T8fry5F1z5vCjVvXElvk9fPUQ7p3SAx P4w1KMOfysqzr0lYzpyPzZKE2ay33Cdpkhc8pDzbC7z+TTwNErt/QLPAh6ONQ7jp3W3A mqXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=PKJ9EHidFAk5K4ny70rez2TrRlqboQutRqhGD1nbP9s=; b=sdujj/z+aVFKimh2XbD5X+Xiz06b1zBvKzwEHSukwUMF2C8q7y5VdcBzm4N2cZwz35 jSXC4SPnC3LfxPydO7uC2K5XvxIya3S0gtxsjWTe92bpPRuBS6RGaVB3w1wIU0gAVL8v l6vu/j7sY4uQRIU7ySGY0XIJslrS1TfTDyB/dwjDTfaDedrjwKL8sTkRgCOlnfjNcVrW KFVXoavAi4+5Ps2P98JQBCDdz07YLOFYD4oA3z79S801HMMtBvrBHDFBvgn/7NqbNxj/ ul8J0sj0OAf+Ol6LXAc/MWD1lMXgBJyLsEvoeObj+45/CLu4OUr7hSWqq/TIzQBGUl5m gGsQ== X-Gm-Message-State: AMCzsaUCYZXGJbjsUUPoBNygpfJ4DOy1e2qsvYerrKD1fTqlcVQFDn4X lf+1BbKDanf1wkzTYaM3Tbia02wY36pOyFbvORNt3krRlik= X-Google-Smtp-Source: AOwi7QBk4jaHK+YeKt2yw/Ofp7KRRiHMz+JAj/MK3nwzQ8zYh+wDeOyaf9N628jCWdikdinIzVIzrbbIGBQLYEaLbDQ= X-Received: by 10.36.116.5 with SMTP id o5mr3497800itc.132.1507566331595; Mon, 09 Oct 2017 09:25:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.184.138 with HTTP; Mon, 9 Oct 2017 09:24:51 -0700 (PDT) In-Reply-To: <7612e974-4dfd-970e-2bce-f59cfacf1aee@intel.com> References: <1585937b-613c-eecf-5b08-d840a3265329@intel.com> <7612e974-4dfd-970e-2bce-f59cfacf1aee@intel.com> From: Bill Bonaparte Date: Tue, 10 Oct 2017 00:24:51 +0800 Message-ID: To: "Tan, Jianfeng" Cc: 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 , yuanhan.liu@linux.intel.com, xen-devel@lists.xenproject.org, DPDK Content-Type: text/plain; charset="UTF-8" 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: Mon, 09 Oct 2017 16:25:32 -0000 On Mon, Oct 9, 2017 at 12:13 AM, Tan, Jianfeng 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. > > for me, the most important thing at the moment, is to run our system on xen guest (aka DomU), with the full functions. the performance could be a secondary consideration. most of time, for our guests, full functions, with the acceptable performance, is fine. do we have plan to support xen netfront pmd in dpdk ? in my humble opinion, limited performance is better than "not work" . > > Not sure if anyone from Amazon or Oracle can comment? > > Thanks, > Jianfeng >