From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by dpdk.org (Postfix) with ESMTP id A03F35963 for ; Thu, 14 Aug 2014 09:13:31 +0200 (CEST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 14 Aug 2014 00:16:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,861,1400050800"; d="scan'208";a="468587373" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by azsmga001.ch.intel.com with ESMTP; 14 Aug 2014 00:16:31 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.19.9.52) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 14 Aug 2014 00:16:29 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX101.amr.corp.intel.com (10.19.9.52) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 14 Aug 2014 00:16:29 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.17]) by shsmsx102.ccr.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0195.001; Thu, 14 Aug 2014 15:16:27 +0800 From: "Zhan, Zhaochen" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] i40e: support xen domain0 Thread-Index: AQHPt4ckhhmbr/OQ2k2WQj86sNye+pvPoNaw Date: Thu, 14 Aug 2014 07:16:27 +0000 Message-ID: <6D0EE020084B194084D70B0A8D2207B8EBF800@SHSMSX104.ccr.corp.intel.com> References: <1407996773-7055-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1407996773-7055-1-git-send-email-helin.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: support xen domain0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2014 07:13:32 -0000 > i40e was failing to run in XEN domain0, as the physical > memory for adminq DMA should be allocated and translated > in a different way for XEN domain0. So > rte_memzone_reserve_bounded() should be used for DMA > memory allocation, and rte_mem_phy2mch() should be used > for DMA memory address translation to support running > i40e PMD in XEN domain0. >=20 > Signed-off-by: Helin Zhang Tested-by: Zhaochen Zhan This patch updates i40e to support xen domain0, testpmd can works OK with i= t. It is ready to be integrated to dpdk.org.