From mboxrd@z Thu Jan 1 00:00:00 1970 From: santosh Subject: Re: [PATCH v4 04/15] mem: rename address mapping function to IOVA Date: Mon, 6 Nov 2017 11:11:45 +0530 Message-ID: <36bbb6a8-c51b-8cf4-1876-8a61514b8922@caviumnetworks.com> References: <20170814151537.29454-1-santosh.shukla@caviumnetworks.com> <20171106014141.13266-1-thomas@monjalon.net> <20171106014141.13266-5-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: olivier.matz@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, dev@dpdk.org To: Thomas Monjalon Return-path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0041.outbound.protection.outlook.com [104.47.32.41]) by dpdk.org (Postfix) with ESMTP id 1917C1B253 for ; Mon, 6 Nov 2017 06:42:05 +0100 (CET) In-Reply-To: <20171106014141.13266-5-thomas@monjalon.net> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Monday 06 November 2017 07:11 AM, Thomas Monjalon wrote: > The function rte_mem_virt2phy() is kept and used in functions which > works only with physical addresses. > For all other calls this function is replaced by rte_mem_virt2iova() > which does a direct mapping (no conversion) in the VA case. > > Note: the new function rte_mem_virt2iova() function matches the > behaviour implemented in rte_mem_virt2phy() by the commit > 680f6c12600f ("mem: honor IOVA mode in virt2phy") > > Signed-off-by: Thomas Monjalon > --- Acked-by: Santosh Shukla Thanks.