From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by dpdk.org (Postfix) with ESMTP id 52ADA1B2EB for ; Wed, 11 Oct 2017 00:57:19 +0200 (CEST) Received: by mail-pf0-f177.google.com with SMTP id b85so76748pfj.13 for ; Tue, 10 Oct 2017 15:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d0TdupJDoZVvVXtayrUxPWpnV3lMMLMTUZCLbKs+ioc=; b=e4s9URS9b5bzl/15pkwBEAvCkrMqUF3E3gzhF6ij5sIL9u9FyG/z82Hi3FPWJmVy92 Fjp70I2ntV8QPEKAegcnIhA9g2xKxCJsuseAp+dkHEX3TytKxCp+r+luAJkOyhS1YHQX eepq1OWv2CIMME+bamLhwV1iglaynoaFlrz0yTdDUGAnfUZwRlkZzlo5HZWLKhhFXpl6 QK6frllNo1lAKE/83TInxBTi/dgCj0HtgxkClj3RAkp9r9BQ63jGTnPKAr751mvTU/Vu gh6NEi62sUHs4rNeQ7H8myr06k3QNZy/O37+Gw7OesTJ9GqqM1Nu/nmSTJSMr/2fPYql d9/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d0TdupJDoZVvVXtayrUxPWpnV3lMMLMTUZCLbKs+ioc=; b=R7ZqeVkAxOQQyBLPysY08rSrxMG0vUQQIJtNWApupLomfJ0ddRFiJIYnvtHV663okj TaNm7vYlasp2jHLp8aYb4PXgme1YmWXstz2YX69XVc3L1e120q8evn0EZTza/tj7/b3m n7I36561c1gAto9g8gJzqbUHRSblSWc7J+V4N1QVF0xJa2xKK4HSGWaT7aXve25Wjejq c/6t4ev8+51sInSFfBA+bW0N9S3XwppPtHC6TgqZ9E55X5hO9bQ5uMphXOJ25pDDAnCJ /r4Tn0LVaUgbuQthJnRh/p2oT7i6AUsILLQg+xwyA5UZEFWIl4FW/k3UehZbWVjJpEsr tRRA== X-Gm-Message-State: AMCzsaXfMTawLPggasUcufcBpc7iIHy+vDFdh8unfxsMXMyEsMEBPAit Z8aV9n8yu+ieFDUKOj+XvLUo8g== X-Google-Smtp-Source: AOwi7QB+2BwCfpP3GtAWBtbRCpgs+rlX/dACAzfT3LhDvPg6pqQnB5IXuqser8+wrTsg7yYV4ggpew== X-Received: by 10.84.246.137 with SMTP id m9mr13593295pll.222.1507676238531; Tue, 10 Oct 2017 15:57:18 -0700 (PDT) Received: from shemminger-XPS-13-9360 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id p88sm24465143pfi.174.2017.10.10.15.57.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Oct 2017 15:57:18 -0700 (PDT) Date: Tue, 10 Oct 2017 15:57:11 -0700 From: Stephen Hemminger To: "Tan, Jianfeng" Cc: 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, DPDK Message-ID: <20171010155711.129ece1f@shemminger-XPS-13-9360> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 10 Oct 2017 22:57:19 -0000 On Mon, 9 Oct 2017 00:13:47 +0800 "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. 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).