From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 901822986 for ; Tue, 8 Aug 2017 02:04:40 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2E7CD21BB7; Mon, 7 Aug 2017 20:04:40 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 07 Aug 2017 20:04:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=GJnprNSANUVjbOQ EPTV4iRt3Jk1g8oMTHC37KnoQJbE=; b=JNpn9mnQ1TQhnPB4lUAVdVX9jXVEbe9 1pSKyVTYgJ8tfVPyRzccSm7cAE9n+w0CzdRMICzqb/lQAfKhvdWhViAnQYzTO7ck WmB+0o+gcOsTJ5voOB7Xj6Cksk9gpABs8g90ANjDIQ3n2JZAXdr4+MeHL7qDf2M/ +zx9v+lSWLJE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=GJnprNSANUVjbOQEPTV4iRt3Jk1g8oMTHC37KnoQJbE=; b=AY15mx9c 4EF31cYjg3Fo+Pylx05tJUKLLLXpvEQ0Q5RDnhZ6iXIfGQuftMt003A9eyBWZbXS E0/CmPqltMCU+MRMlJqGbUhvgXIrQd62JAvKhEjP2tkGEssY2wdm1J1iWtasJ50I Aqks6fnCucOXcBkRSPVPfR+kcWAl53iexHpsAIq2elFaRoYAce+8TuFX8U/4ywWR weqb7CG3jM5ahD+dF+SNdZ7wOxUbCwYhjn12u1UG2Ie+0gdbfQzgPUD2GIOiATKP vOUAA+R8APX6wD2etZxKHCrjXleAWPIfipxcZNiDBTlek+9Pr8LEa2Ob3vSw6im3 urWF8f+W/DnuYg== X-ME-Sender: X-Sasl-enc: T8oSPBmuG/xJt6TH2iXVvOXYzGfJiGJVDOrJaS/fULVM 1502150679 Received: from xps.localnet (eth-west-pareq2-46-193-0-155.wb.wifirst.net [46.193.0.155]) by mail.messagingengine.com (Postfix) with ESMTPA id B81887E317; Mon, 7 Aug 2017 20:04:39 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob Cc: dev@dpdk.org, Olivier MATZ , Hemant Agrawal , santosh , stephen@networkplumber.org, bruce.richardson@intel.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com Date: Tue, 08 Aug 2017 02:04:38 +0200 Message-ID: <1559406.upfG6sTndH@xps> In-Reply-To: <20170806212231.ar5l4qt5bxwku2mu@glumotte.dev.6wind.com> References: <20170711100141.3950-1-jerin.jacob@caviumnetworks.com> <532ed585-cf2a-aeaf-c7e5-cca29a33925c@nxp.com> <20170806212231.ar5l4qt5bxwku2mu@glumotte.dev.6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: add notice to make DPDK IOVA aware 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, 08 Aug 2017 00:04:40 -0000 > > > > When we run DPDK on guest or VFIO mode on host, > > > > the dpdk library or device will not be directly accessing > > > > the physical address. Instead, the device does go through > > > > an IO address translation memory management unit. On x86, > > > > we call it as IOMMU and on ARM as SMMU. > > > > > > > > More details: > > > > http://osidays.com/osidays/wp-content/uploads/2014/12/Final_OSI2014_IOMMU_DetailedView_Sanil_Anurup.pdf > > > > > > > > Based on discussion in the following thread > > > > http://dpdk.org/ml/archives/dev/2017-July/070850.html > > > > > > > > We would like to change reference to physical address to more > > > > appropriate name as with IOMMU/SMMU with > > > > the device won't be dealing directly with the physical address. > > > > > > > > An ABI change is planned for 17.11 to change following > > > > data structure or functions to more appropriate name. > > > > Currently planned to change it iova as instead of phys > > > > > > > > Please note: The change will be only for the name and > > > > functional aspects of the API will remain same. > > > > > > > > Following functions/data structures name may change. > > > > This list is based on v17.05-rc1. It may change based on v17.11 code base. > > > > > > > > > > > > typedef: > > > > phys_addr_t > > > > > > > > structures: > > > > > > > > struct rte_memseg::phys_addr > > > > struct rte_mbuf::buf_physaddr > > > > > > > > functions: > > > > rte_mempool_populate_phys() > > > > rte_mempool_populate_phys_tab() > > > > rte_eal_using_phys_addrs() > > > > rte_mem_virt2phy() > > > > rte_dump_physmem_layout() > > > > rte_eal_get_physmem_layout() > > > > rte_eal_get_physmem_size() > > > > rte_malloc_virt2phy() > > > > rte_mem_phy2mch() > > > > > > > > Signed-off-by: Jerin Jacob > > > > > > Acked-by: Santosh Shukla > > > > > Acked-by: Hemant Agrawal > > Acked-by: Olivier Matz Acked-by: Thomas Monjalon The name will probably be discussed. Applied, thanks