From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0088.outbound.protection.outlook.com [104.47.41.88]) by dpdk.org (Postfix) with ESMTP id 0589E2BC8 for ; Fri, 4 Aug 2017 05:41:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ETnvl4Mo0oWhG1A8NN/Kt0YlE0YTEROE2T8zM3lMhKc=; b=S+O1+gZlMVBOx6KGLw5/wSDHLKZs6xjXi+uAHlSrHljyCg81jl4+IWUnUR4YoP0DhJ8aAI0fFjy5tUu7kX218yaFHqhRajrU8WxGuSR8hjD7EF5wT253umR2N63h9l73E9uXlWXK2TIAPC1v/Sbrqcnj82XvbqyJdJfNJBaHLvI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [192.168.0.103] (103.76.57.163) by DM5PR07MB3099.namprd07.prod.outlook.com (10.172.85.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Fri, 4 Aug 2017 03:41:34 +0000 To: Jerin Jacob , dev@dpdk.org References: <20170711100141.3950-1-jerin.jacob@caviumnetworks.com> Cc: thomas@monjalon.net, olivier.matz@6wind.com, stephen@networkplumber.org, hemant.agrawal@nxp.com, bruce.richardson@intel.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com From: santosh Message-ID: <2e51e54f-a405-3e5a-7a20-d8e97f75b5ad@caviumnetworks.com> Date: Fri, 4 Aug 2017 09:11:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170711100141.3950-1-jerin.jacob@caviumnetworks.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [103.76.57.163] X-ClientProxiedBy: HK2PR04CA0055.apcprd04.prod.outlook.com (10.170.154.23) To DM5PR07MB3099.namprd07.prod.outlook.com (10.172.85.9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 96de62d0-1bb6-44d3-32e3-08d4daeab6b7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR07MB3099; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3099; 3:QzaonxC0NwhIgIdwMIjKM+I7VzS68j/qvgQ6idvump6hjwWMpVWpr8qOLRjo6lF2bNeEFfnBsaf3dRHrEtQGmJFw/FZAP3Upd43dO0HPB6Ojm5UuOSN+CZUuDTuTxHK0WK5OFlqYodPgfpHRljhG61suLmetSSzQKzsETqj79iMy8b3i5QqYmTqEMgw3KS2By/nR46aiJfVdA3vyh31Xuwt0cs0Ag/wyP5EiPqsn4o9m7haMwyCdEWqK9KJ7b7X9; 25:JLUALJUle36g6iKjbtWx4dMQhr0UuRLN8/uI9vt2TXjkvThGbLxbjvn7CzbrJDXjtt/SG8zj5dn/aWqSM3nGAOKgj6DMTVUEmTyCU4HhhQXz/rZ0mGa3mSRlhELspYFBlQi1/jAVhwl+mC7/RnqFeD8yYDusyjUauV10BS9SIGyr0olKN6gqD4T1ZLzJQRqZeDWwWx0nMfekx68aEgiIFokq1K5aH0obE7MiJ0dj+1J4lCsfg487ysX3z+/uuyjTNgqNMsShLqm3fQXC9lmta1zmXtUioMhnVJM/mO7KReXAQX+mZH6ouqneWyUF0+kxS3hBdufTakGUZ19HjBtTnQ==; 31:wUfEpcHHSTvz4yvk/s0xy3w2J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szYfUxZ+cph7+Jsaacy10n0NHVQLXtfpjbXeImaJ01KCmnx/f2nhnJQqjnxhAArVhmvEapu9Cfxsr2JhwPnJxAAnoKc X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(6041248)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3099; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3099; X-Forefront-PRVS: 0389EDA07F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(6049001)(39850400002)(39400400002)(39410400002)(39450400003)(39840400002)(377454003)(24454002)(199003)(189002)(66066001)(31686004)(65806001)(23746002)(65956001)(68736007)(65826007)(230700001)(50466002)(7736002)(76176999)(47776003)(54356999)(105586002)(4001350100001)(97736004)(50986999)(101416001)(4326008)(33646002)(189998001)(83506001)(25786009)(86152003)(31696002)(38730400002)(117156002)(6246003)(110136004)(53376002)(72206003)(6666003)(966005)(7350300001)(36756003)(8676002)(81166006)(7416002)(3846002)(6116002)(64126003)(42882006)(81156014)(53936002)(2950100002)(6306002)(90366009)(8656003)(42186005)(77096006)(6486002)(106356001)(305945005)(478600001)(229853002)(5660300001)(2906002)(217873001)(15398625002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3099; H:[192.168.0.103]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM5PR07MB3099; 23:TiOZPYpKsC/Cj/hAKNeir5dRQUZ15TOBqQywa?= =?Windows-1252?Q?Ghg30l3rPNQSrTl+Zftb2yP+CaKx7ekYgkiLLWTP6vN3344oX7eWMCUy?= =?Windows-1252?Q?/0JbUZLrXgrvQiEpfiYuKczaQw5xjaOnEO9QGajB5HKqFKkc85BcyULk?= =?Windows-1252?Q?wri76e6/9RSFYFZEsO9+OD4+HsQaFn04t2IsjcDaExG5iLNoB7Xf/6Jp?= =?Windows-1252?Q?ngI1e1xA7MqGK5hpqSr8rldBTKkdhgrW6omWOm+iySMu3ppP1vOKJE+9?= =?Windows-1252?Q?WsWG7uwlbQDx11UMVzaxmsWbLrf9kkAPDLzuVMLkRw7VAxgYwtW9kkUD?= =?Windows-1252?Q?dk5YPEeH68jxjsAfvZ2ZjWNGW4UkVeSh1zrn8CCaRjeoQVoa1FVHzP1n?= =?Windows-1252?Q?rY9VPH8WNfHGCpFYscH9u4LxqU0ARZCBZJVYeZQIkv4p5Fo9YFvMq1nN?= =?Windows-1252?Q?fQEtfoJky6A3UYTzszm+mdqun7r0qt5c/7lpPvdXyXL6uzk/WQhmthYc?= =?Windows-1252?Q?7rYPiPjkiMHX8ddLbze4nbcJ+91XYGJwOUyRyWbkB8cFf23gTJoePYBt?= =?Windows-1252?Q?4gfrAzYchOCrJW9Bmg4kLUCkuNcn4SPjs+ltmlzAhyw35NVmeuqervVN?= =?Windows-1252?Q?VBSkHMfLBo96pBWucG/LfYB08P2gVNeFTsamwmNwk9DPKG1oFhtPI3bV?= =?Windows-1252?Q?ytCKTz6obew79xBSoB1WqIudXEgmdWg0jpVb7c5LERT5UfPcvz9xGt1I?= =?Windows-1252?Q?t4fuV4fZBo38BZXOkiWZuaZTgr4kxZFQ0mn9IiUIItJHVZewsbdXBJ8N?= =?Windows-1252?Q?A8qcoqr+od7I7H4hdoZvFEmqtor4SGy5gPKETPKP0UfovL0q/CTia3aE?= =?Windows-1252?Q?vrVx1NMq0vgI9FBFhcji62mZhc1iZhR1W6Q3jqv3RlP4KIzSBaz0y+m0?= =?Windows-1252?Q?d2u/wCeF1YyINvcbYt6YlD3K+Ho33FNYcVliNjlZCpTDu03iw0Zi0sgo?= =?Windows-1252?Q?Kn+QUNYOEaXA0ckoJeF7XkfC9aqX/l1QqnGolCFQxGMXegFqrPK0YQR0?= =?Windows-1252?Q?BuUXwhKTkELIBIr3jg5iydZ09c6Oa9a1C+LuqFNea0vSU5SZACUN+nGp?= =?Windows-1252?Q?xXLJ79Gs3pJ33aOX7SI4CSZLBhmvtAGJIPAeBH+j58rUphod878I3Git?= =?Windows-1252?Q?lbQx5cP0Bx9iJ0NEiJOamCAaQdYmm43rGV0YNRSEHLl2l/wvFZ941/wi?= =?Windows-1252?Q?8ZXuO7o3KBnnBS8bKtbOC4jf7o3Ms78XAXwP6KGkKtCWewEeIfYwP5lU?= =?Windows-1252?Q?bL3AS/yvNrqvQNfJHyArxAuh03RXSz6UG9xufk6r1hVXPm1RX37lXJG2?= =?Windows-1252?Q?AN7+i/cfC1Hw3V0LLbIVsXhYgjUzsK2hsdFZ8Cn+ndLT8MqCAqvROFx5?= =?Windows-1252?Q?mYPTd5i9cW4ucSItQAei0FRmt+BuiIW/li430QbiGWkBAlTVnGvW51rT?= =?Windows-1252?Q?gLT9UGWKz1mx8vz/AOjH2yKuhUASqpQ9jkf2BCCDzcsTnO6aBCbhbq1/?= =?Windows-1252?Q?Kd6RXj14W4fc3b2BKlepgEh6oJVbDH9L7t/uKDBE2al48zB7YKdlkzao?= =?Windows-1252?Q?WaMJg6/2yas2qHahKng0YaU4H4/iq8Vm+aXITYEFVQDkR9V7N6OYJctd?= =?Windows-1252?Q?e2rpV/BhENLhnpDCi4rmOfoARRhOzkxOmwprWwFynRyJLv2QagJAHMIt?= =?Windows-1252?Q?D1Nb8Pu9pf/d/Yqud1PFY6nxy2gFsSWc/8srMTgYOw/nE/gvGX62DH2z?= =?Windows-1252?Q?6ebZD33eu5UXL1gnI6guQBbPYxCk7NZ7Dhsg81otwV7GkE9w7oy15Iuh?= =?Windows-1252?Q?Kry+j7+oDjZ?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3099; 6:lblYDh+YYHWEBqeS91F3vVlKPEctOLpXE+MhyFzwigREc0t/LFTggIQIbP8yWtG0ieV/UTo8+NxPi9kLEvBeafDie8lwBfBD8AfUF7XKUa/CAe9NQCOqIuAJtPavv9kao9SbMjn5uDW7/Qv3rkeu00sw0bkxlrsy/fmL5ETqO8keMSVo3r/Y5woTaYF2H1Ni1kLLZm+/5sajrXs3xOMaUewtpED4pJ3pKI4CHbZTRqGLFXzT83GMrod9xbVEVbCKVRk+YJ1qvtU/itB1KYVvlMvcI05c54V0OC3Jtgj4YxfHTSsIsujwvn2dHUU3/4k9kaU+v3bMAGPwiIYKNzg02Q==; 5:fKSZi9tgeaiJAGzYplqfurPRfNjiDMG5lI2ME/8uXg+BLLnLOuQvwZAH++L425kEeUmHDvDDD5md8NLAtyKylXlrMvBN4at/TPsuD1PgCe6YRBIgacTytzY2rkHWxXulhQpu9y0hCA+S211ZVtQqYQ==; 24:xa7DwL4lVG6mkky4Q+J+aZsBTjxHZn5UReQLT8XhOIYwXSC1fZ181bibSEHThdNcHQU/qvWBRm6uGKUD3O/jypInoTDGudtSk/v8WevjFfo=; 7:hdSYxyT8hO7UZnW/nxeq1opMC/IjQRoQ6gQH4Qj/jMLh2iyXrcumeNoLDH3ey3PWAnBEBUQVTSY0FRg+/fCEil4bLpx+9LRovQ2TE391E1zUZnSSqt9Li1r7A8N6OPR8RK88944Y5xlov4jnVjL1Dp7XvhlWz/XK88TsIHwo7i6nSXTxWZx4/05HahzjH9hcpcq3DdseqlQB1HDdLLeOA4Xjx510VI0iw1hATMbOWKE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2017 03:41:34.9525 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3099 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: Fri, 04 Aug 2017 03:41:41 -0000 On Tuesday 11 July 2017 03:31 PM, Jerin Jacob wrote: > 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