From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 084B63257 for ; Sat, 30 Sep 2017 10:53:24 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Sep 2017 01:53:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,457,1500966000"; d="scan'208";a="141170282" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.255.30.130]) ([10.255.30.130]) by orsmga002.jf.intel.com with ESMTP; 30 Sep 2017 01:53:22 -0700 To: Bill Bonaparte , DPDK References: From: "Tan, Jianfeng" Message-ID: <1585937b-613c-eecf-5b08-d840a3265329@intel.com> Date: Sat, 30 Sep 2017 16:53:21 +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: 8bit 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: Sat, 30 Sep 2017 08:53:25 -0000 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 .