From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id B2F25B387 for ; Mon, 25 Aug 2014 15:55:52 +0200 (CEST) Received: by mail-wi0-f172.google.com with SMTP id n3so2587800wiv.5 for ; Mon, 25 Aug 2014 06:59:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=FXmV+AWOYXRuE8Tsa8fwtBUMdpFyrcl0G303dUNcWlg=; b=KBy25cBe7nuaKzrGPFL7l0mkTWspGQgirYFzX/18OChKkYVl1MRey9HCPz/1dRn9v2 bRrLwSQbWClhKwkv5kEY9v6kRreD+8iiJ37n+kyhSX6sumK3BuP9OhJGoBBZhf0DKW16 Jud5gQ9L5a7n2G/tuFuX0n9BJxwLxzQjdz/HLa1mrhkc70BxKS0YXOC7lkmlSKSWKjiD o9tsjQhh43Ippz2V2S2rmdFE+FMfzcFn2BCBaCX/KomUVK8sSog+bXXMCFASEpgE7dXw kq1Ogwy2svhQAdwyv4nxbLu75lyd2TvbtFM0rDHfTBd7ucMDW3nEy1hyM57erhkllnE3 8f4Q== X-Gm-Message-State: ALoCoQlVhF5BBCjXmwWx7MwgUWv2b5TJ887TSVh3OXgzJ57K3tT89mHraC7bL1ZgHfAPri4KUvFo X-Received: by 10.180.96.33 with SMTP id dp1mr15496007wib.20.1408975188055; Mon, 25 Aug 2014 06:59:48 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ph10sm100301853wjb.25.2014.08.25.06.59.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Aug 2014 06:59:47 -0700 (PDT) From: Thomas Monjalon To: "Zhang, Helin" Date: Mon, 25 Aug 2014 15:59:37 +0200 Message-ID: <3631963.GCeuRHPjV4@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1ED644BD7E0A5F4091CF203DAFB8E4CC01D61B74@SHSMSX101.ccr.corp.intel.com> References: <1407996773-7055-1-git-send-email-helin.zhang@intel.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01D61B74@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org 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: Mon, 25 Aug 2014 13:55:52 -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. > > > > Signed-off-by: Helin Zhang > > Acked-by: Jijiang Liu Applied for version 1.7.1. Thanks -- Thomas