From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0066.outbound.protection.outlook.com [104.47.37.66]) by dpdk.org (Postfix) with ESMTP id 8E0322935 for ; Tue, 4 Jul 2017 06:41:55 +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=ITglDmYjz988OCcXJr7dY3UX9E/bMVW8nPXP/EcoVNI=; b=opQ67Tm3ouwjt1JfTfaxvrRDOWTZEBR1CFr8vCxJ/EJoh0ciUQciVK5qotxN5TgX8UdufzIjYhoGXKUrgJlg8RVuF/YGOuwT2tbk+MjkttCV9T5+yUi1dZcWEstFDhGCA7ieQbv+wybQ6BrNZKOKHKi6JtVQ+bo7S927XWmCswo= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from [192.168.1.101] (106.209.135.7) by MWHPR07MB3104.namprd07.prod.outlook.com (10.172.95.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 04:41:50 +0000 To: thomas@monjalon.net, bruce.richardson@intel.com, dev@dpdk.org References: <20170608110513.22548-1-santosh.shukla@caviumnetworks.com> Cc: jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com From: santosh Message-ID: <2beb2e96-3938-05ab-d3e7-3f569f62d704@caviumnetworks.com> Date: Tue, 4 Jul 2017 10:11:35 +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: <20170608110513.22548-1-santosh.shukla@caviumnetworks.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [106.209.135.7] X-ClientProxiedBy: MA1PR01CA0086.INDPRD01.PROD.OUTLOOK.COM (10.174.56.26) To MWHPR07MB3104.namprd07.prod.outlook.com (10.172.95.10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b02d6d45-736c-4287-b1a8-08d4c296fe1f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3104; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3104; 3:TQwU3OppF7OmFEfP1199e8gnj2K7hS76Tpw/J/sknp1stD9EoLkLv6Eyav5INrr31DsvJfOjk3KUyEFmu5tDxoZZ4OcQZCKsOgq9QEPcScVPW7imFTW1U+OUIYROVK7OvggAoIULfyw6It8mMHiZi+4jTC90Glvnmdj9EeetVwyydM3RPKL8QNI+rP9OndnUXRZQuQRL/6UUKvS4pXV8aDU7XtpRfvrK114dbFdEUTIPHdjNbbGGISo3O6X6Rvs3uA5M9KwE3Y8s6TkG5UqwQFDok85V123BMtRrP7AP52UHf4mfFYsU1ho/hKW6WQr9sdcKjNK7NRwiirU7IhkhrNcM3SLO6OFOcwosRW3DkjKzrsSlWl1lySZfKVYDi9ZZIkBRybI3GCNil29Q3PUgIfRIHbbjw5FzQyoB01SfvbD9/+APoeS5LlM5d/ciDagPelhMGnk4HZardN2qz9MGlW9odYET3Xzfun+rk9pirvJAnYECB5c0usmKijAFMVaYQWDBklDwx7PvWAb5uqf+cHwcnTWZfCB8CorlOvjnz3vDte75XZRedeoTJrzBqkjyuG2xKbGbqKusTyBp1PN2+V1nI829mEchx+wUELJqD9xdGYUi80vndSjMExPyaRX4P86KFfR4v03e2Vl8bFauejQO7FojlxAvp2jgfeOmKlakGbK55FGFfFR4Q6f9RJvbJER81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zh9utmeCKPI8juuvJgYe8ycBTHyXiCTukrWGG4J0fkpD5KhCcbf6yJY5ZaZCJuXWtLruUkMtMK7qIWPqc8F8BxtmLzsTmJuFoxfAyKhvoZi+6NHOs5Bht9je7w7nHPW3Bk0cudJqLFWZE0Oifj4fGoekVlhhLt5tsatevgW0gQzP9Q0T2nw3oruoRkXvto8RpNpcudmcwwha/baMuznRbgPi4U1h9I29rMBWa3POIbEGS16rBqBbYZkn7Niy349P9spLY5lFP3hozw0Ko+2xXG91Vf+cOKz9IIcXHMyDYhL65o+RFZQPQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(148574349560750)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(6041248)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3104; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3104; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; MWHPR07MB3104; 4:ZpYgkxk1gGuQczxa6KI+6Ghw0RIkn9Gb0dgGt0?= =?Windows-1252?Q?1W70D0iZOIlx/WC5rF6Bj5EEYZtBQGb/4G9rVnPrMglromsk0Xn4r0Xw?= =?Windows-1252?Q?PivL7UjFu4j8dVrqmhVD1Aua21+Oye/AgG+VQZBijQEQj95X9oO/ToFy?= =?Windows-1252?Q?3bU8QF8q4ocjtNprQgeT6NpakeQdTxXnXQ8OmwqzvZoqQsHjMdC5AuiC?= =?Windows-1252?Q?30lCUjuNHlQCQihBVj2mcYrKJHcVACWQ8ZzAf6l5eytqlUgCbiJd3xmX?= =?Windows-1252?Q?E7Mg7S0BuYttwEI6pVgzS2GEN7yZHR9rYwuOC17wzFW30JP1Tl0cX7/X?= =?Windows-1252?Q?Vth78gN3Fb2T6VbGaIQ4sIMaREAKK8xrNdQAEAWU5pCSIsCOKLg7QpCN?= =?Windows-1252?Q?WTvT3GHn06NXvlsvV8uQ/zzL0pp0NGsbX0s2kSm9P/L532oV9fCFFm0a?= =?Windows-1252?Q?TiRMx2YbtWhbzuWt1R+eNT9QRekIcykqhCMtIRV1LxLHH0c/DgcNa9OJ?= =?Windows-1252?Q?F2Pj3NLBKCqbXy8pCoq/8khqWvl81H8ySTqsfuD7TZv6NzQea8usHrw+?= =?Windows-1252?Q?Imgj4hEYKwA7oi7GB8dzDRctawL1utaZCuAjI7iRA8JyGS77I7eb8iT3?= =?Windows-1252?Q?Hn1nCPifCKXxNmi+KODGM24v7j+FYf98vDfQOXmQFwzyY+R4GXKM7dYg?= =?Windows-1252?Q?Eqd2bn7Q4N/YBE17a6+3I1k1dYngBstmF9Jvu9mByaPVFf5uP1Vyd+23?= =?Windows-1252?Q?Wdi5xtU7wQ1e8dIA4zpb62BYXFrJrgfWzZdw8ZrDEota2wDElc+YhV7+?= =?Windows-1252?Q?+UZYkakNaAb2pU3E6BF4PGWFsOMRjZcBiMHaLxDOx3VQEPwSeBqIvk+2?= =?Windows-1252?Q?6ROpasgYYINZmdWFchgzA5LBPPJY+mA9o2aQuTbgMx5mg9SpzRcvS0tN?= =?Windows-1252?Q?Yjs1LCaBVIKqiszUdoxrJxr94+t908vE9vc3SeE9tUeR1LR9+dcuiHfv?= =?Windows-1252?Q?lXQsercipKD6NTi3BJSKzGipZR+QsDEwxlek2+HeD6/LgT+dG3+omfEs?= =?Windows-1252?Q?ypuP26FQyPrqD8wjOU7R//ElB/D3sIW2AjIkwojTXIoZAQOi+7n9qaN/?= =?Windows-1252?Q?581T/F6vbEgkTd+vc5LWr/xLeM54/rbY5XFqM7rQHrRmaCvcqj10iE0e?= =?Windows-1252?Q?5QH2LdJbK88s2yw+fXXaKlYm5Xcj6BNpFhV93FkMaELoUb7gugaEMHL1?= =?Windows-1252?Q?6BaIm7oYvYsG1ifbqlS1cuVWQlRSiGwL7Cb6k4w0vUFKjY7DlCWDTlWB?= =?Windows-1252?Q?kqHLvEZFvodCu9wynN1L0zOFBTVFZXKuo5mMXCF+AoS7pR4BcDO0pQq3?= =?Windows-1252?Q?vUNX6GLRW3?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(39840400002)(39410400002)(39850400002)(39400400002)(39450400003)(57704003)(24454002)(377454003)(36756003)(8676002)(47776003)(81166006)(4001350100001)(66066001)(229853002)(6486002)(31686004)(50466002)(77096006)(42186005)(42882006)(64126003)(33646002)(2906002)(2950100002)(6666003)(50986999)(6306002)(305945005)(25786009)(110136004)(6246003)(53936002)(189998001)(6116002)(54356999)(3846002)(117156002)(4326008)(76176999)(23746002)(86152003)(561944003)(8656002)(72206003)(230700001)(65826007)(83506001)(7736002)(38730400002)(53376002)(5009440100003)(90366009)(478600001)(31696002)(966005)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3104; H:[192.168.1.101]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; MWHPR07MB3104; 23:5oUHqGZnYEWHYPyhOgLYPE4mubtocCe9C7NZB?= =?Windows-1252?Q?DUAJfVKzn2oYKIfg0myo4l5V01D9eVmG8ogd725RFTDkyLOU0BHwbBHs?= =?Windows-1252?Q?YPsC510I3BdAPA9iqZXrId+isTPVW+ZkrpFqo9yX5/58QLlHSN30lu3R?= =?Windows-1252?Q?XjBErIl6a/wGS+pccBOX1hy8WYR0NWYSd6Scj7S37UH87S/FtVPUFgwv?= =?Windows-1252?Q?LMduLuRhu/8M9/lFLfAGudLTj22fMmAKjVeumpue+FU9JqKhsWjNuZE2?= =?Windows-1252?Q?o8iilQE3xFCqiLaSafjI8RRUO5zVLebe4ps6rG55Hk12NOlQfQd0r0PW?= =?Windows-1252?Q?JvEJrEuWfE/Eb6Lpp/0zZbzyKPrPIGPitgvBCSVxQrCoGZbd6t0jHlCC?= =?Windows-1252?Q?1vq0lL7XEZ6cYWawTgfbjvLMLGcFR8PpLvtGJ2oKxXGVL2cQDBzYBUjH?= =?Windows-1252?Q?TeXedr6wmXS5ymVYi3L0ANryY+6tp7p8Yxj7+Wka+AndjiO7roC13X9Z?= =?Windows-1252?Q?yEJsnFgZVtKyB1vHDXmDwAb6JeHjoPZewl2kBgnFT82NIsnAwctkAji0?= =?Windows-1252?Q?C9bNAylZGNpYIvd2TNydEifV1J6RlfJpIBoJztkJCz7l4ehZNsLcbUfF?= =?Windows-1252?Q?j/FkJW2p19vgmeufQjzKsyJJ2xdkbLoVzG5Ym6w6A7GEhgpnB38V7crU?= =?Windows-1252?Q?L1MSRskKziDAdZX8t3NfDGqGhafhg4hG4TztIiMr8QCwbOV1+abg+wrr?= =?Windows-1252?Q?OQ45YNAfDhyk7pVBX/AcRZzKjo28RbkeqNcdS30nUXJhT9EAvk52tDxU?= =?Windows-1252?Q?Yj9IuQS5fZJ6ectJ4MFo4WcamT+vU/H41SooehqSc9wJ4T3aUOJLUu/S?= =?Windows-1252?Q?XFFH4GazqN4sffCNOxzQP2nxXCEqiWxi7Z9au+UohXgJe6Odk690und0?= =?Windows-1252?Q?QNE3fmzNjAjRxcm7lNQaYqGIDbHgIJKpb1Y10vISgb9Z1Z9p97GpBD00?= =?Windows-1252?Q?MN6udXeQlPfOdAAwtAAstsZaQ1ekwbf50Ewd5uUKfLqGMPbaM/63JjlH?= =?Windows-1252?Q?IY2A2qcDjwEa1+dePPtXeY3NaaYl9/hI2j6GnsFJ3FbXow684VWFK+4x?= =?Windows-1252?Q?eaTwpLSac/uH2+3CrGA3ZChkDnvHJkE9zYGfUQrvubHLkDxYGjFeNR/o?= =?Windows-1252?Q?ryw16mRbdD3I7SQeqQjSepbjSqiQXqIIhYFflGo7NOCtrqtix+VUp5Vo?= =?Windows-1252?Q?MtEBJEVb4uSyPBZVIz4rg3Lw75QyLz1KCUNcGBW2Dzq9qkLP2mJQDb5d?= =?Windows-1252?Q?QdOt2nLPv02uyZ4Gr0Bz1qrTBzJaWJNsrHn6FVJ9AHG7k8WL6PHCWSXk?= =?Windows-1252?Q?PKSXOaqvFWDgP9elgR6FVdIEMUMSJZsbsJ1wzKpwvbYdofGlVAYbHuGw?= =?Windows-1252?Q?bpqn/SrwYa0PvoCp5ZrmzqTI/52yocRwHcj4gV1jS2BFJVMrwP5KAUyt?= =?Windows-1252?Q?3HM+/cYlEoLmXBiAeHsbWZGyosax6YpNjeXIWWYxiC36/7hHGgeu7K62?= =?Windows-1252?Q?H2AAcMKFw1r4G9gzp16R7oIOMS/1MtHLQxo?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; MWHPR07MB3104; 6:jvtH+spxtKIoA4v6SqgpyACs8qtklgmptUwaZJ?= =?Windows-1252?Q?04/WukFa3FJIN7Xjs3dRNCZGomF5E7o7aeL6C0Q3jUgFcuEFH6PIdZnc?= =?Windows-1252?Q?i6vkCcc4JvhGkMkzAFtRovRyQfoGmR/V0r9T8oyXekzin44D+mBWSNSz?= =?Windows-1252?Q?fqln1jr62S8JPdFlEBklpo7yWTmhHbuhtxJr9pWOoQpKdYWM/w6sY0a3?= =?Windows-1252?Q?QDdciPVO/F8bx+eWIT8Kxk6JVyRGlCe5YvolN6IA6IlUHjZWpJC6hQm4?= =?Windows-1252?Q?6XjyjSBDpRvaiX5n35gR8Ozj923IqxRGo4t3CAWjRNsdhEQodnnP/NXd?= =?Windows-1252?Q?K6rS8ceB5UswsZxa3irXpSoe100la4Oda/HEM7Aq7/x0oZriuw5VqaEM?= =?Windows-1252?Q?FG8AT76c6kQbDNPPLIBPPbx4VqhP3Of8yreNG4xZZSXUKvG30qwQja2z?= =?Windows-1252?Q?XyXdKCrKjGsNqf3w+mHfOxzJc/u0bUR/stvCEETRmvUPeZj8I8xiJQNV?= =?Windows-1252?Q?4hwVK3hnZK0PIWg4HQM0tVEUIsru6IENRKy1iQjhmFPIlNa+UkpXOoMz?= =?Windows-1252?Q?itV+wPAzOoj9PE+6s+hHetd1Zl+KHyC3UY1DOSxxdbWxp0cb9vLoQsu1?= =?Windows-1252?Q?5OcST0O7i8wpX38PqF0tgGJn3YHM390mR0yN4Edg4f8EZdHc+i/6BN0L?= =?Windows-1252?Q?vDuXSoJi5YHkIHTnz+FByIziWYnmEeJm5bvYi0wuCE9tOAI/vwu+WZfI?= =?Windows-1252?Q?ffdso4I7dZYukiQf6N10gd8N92RKmELvOu5FiwkJVpy5tZ6x23B+WT5Y?= =?Windows-1252?Q?xRLzrll8hbbg+6Ahyv1UZ3/vvPjAduHxQiu6hizDwQpK5ipMbhq3PEx+?= =?Windows-1252?Q?4ZPEvULqVzLOZ4BVxQu1J96BrpE+puxTdgakhHx+QgOOtqL4XjUvaBls?= =?Windows-1252?Q?B4M0gT2q0ZwwCkJIhSw0zz5fygJp6W9lLeIkMWK6SxazuGjEjXXVn4Jm?= =?Windows-1252?Q?GsBY43NdJqfqhQ4lbZIADE7i03FJYFlHpcbQNMqDK8+OkXZ7C3F2mYi+?= =?Windows-1252?Q?DfjKhQ9ORDu7c=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3104; 5:NTsEeijGj+N2+SgZRrbW+7/nNHVfaIVxNTCeNO9jFTiwAl0daMLizeeHBstzmaBBvCPupWISmxW3nKSZbOZahZz9nAOO01EM/6+3FbtAMpV1Xqh438KH2/hUvgvsZ7KaloxlMrYp9Ah0amY8PVdEvQ6L76Ch0ycn7vseAvQTNgBCwqX8ReUgPOo7GkCECMo0zzg3JzsGbAUBkL8X9mWg0N4kX/+3p3Lw9Hax/Yk/wbPWAy+GhgcFTf9d+gZMEcLwhNqyMlpjldGv788swhTBSZx7mqk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aQfr+ybzzOtVJhO3FzZCKQu8+cCEeJeI3y0/aIAh0FPSkokFHidZiJfySV9q7+lTVV4NDv2LAzri4rUkFG8KoA2tIO+NONMNycwPJ/UqcRF3FVI3CAx8FtXQun3SZ/BqjmcrEyyoRwBSDqDea5+Pj8EmuY= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 04:41:50.7017 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3104 Subject: Re: [dpdk-dev] [PATCH 00/10] Infrastructure to detect iova mapping on the bus 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, 04 Jul 2017 04:41:56 -0000 Hi, On Thursday 08 June 2017 04:35 PM, Santosh Shukla wrote: > Q) Why do we need such infrastructure? > > A) Some NPU hardware like OCTEONTX follows push model to get the packet > from the pktio device. Where packet allocation and freeing done > by the HW. Since HW can operate only on IOVA with help of SMMU/IOMMU, > when packet receives from the Ethernet device, it is the IOVA address > (which is PA in existing scheme). > > Mapping IOVA as PA is expensive on those HW, where every packet > needs to be converted to VA from PA/IOVA. > > This patchset proposes the method to autodetect the preferred > IOVA mode for a device. Summary of IOVA scheme: > - If all the devices are iommu capable and support IOMMU > capable driver then selects IOVA_VA. > - If any of the devices are non-iommu then use default IOVA > scheme ie. IOVA_PA. > - If no device found then IOVA scheme would be > IOVA_DC (Don't care). > > To achieve that, two global APIs introduced: > - rte_bus_get_iommu_class > - rte_pci_get_iommu_class > > Return values for those APIs are: > enum rte_iova_mod { > RTE_IOVA_DC, /* Don't care */ > RTE_IOVA_PA, > RTE_IOVA_VA > } > > Those are the bus policy for selecting IOVA mode. In case user > want to override bus IOVA mapping then added an EAL option > "--iova-mode=". User to pass string format 'pa' --> IOVA_PA, > 'va' --> IOVA_VA. > > To support new eal option, adding global API: > - rte_eal_iova_mode > > Patch Summary: > 2) 1st - 2th patch: Adds infrastructure in linuxapp and bsdapp > layer. > 1) 3rd patch: Introduces global bus api named rte_bus_get_iommu_class. > 3) 4th patch: Add new eal option called --iova-mode=. > 4) 5th - 6th patch: Logic to detect iova scheme. > 5) 9th patch: Check IOVA mode before programing vfio dma_map.iova. > Default scheme is IOVA_PA. > 6) 10th-12th patch: Check for IOVA_VA mode in below APIs > - rte_mem_virt2phy > - rte_mempool_virt2phy > - rte_malloc_virt2phy > If set then return paddr=vaddr, else return value from default > implementation. > > Test History: > - Tested for x86/XL710 40G NIC card for both modes (iova_va/pa). > - Tested for arm64/thunderx vNIC Integrated NIC for both modes > - Tested for arm64/Octeontx integrated NICs for only > Iova_va mode(It supports only one mode.) > - Ran standalone tests like mempool_autotest, mbuf_autotest. > - Verified for Doxygen. > > Work History: > Refer prev RFC proposal[1]. > > Noticed false positive checkpatch error: > - WARNING: quoted string split across lines > #60: FILE: lib/librte_eal/common/eal_common_bus.c:164: > + RTE_LOG(INFO, EAL, "Bus (%s) iommu class of" > + " devices not found.\n", bus->name); > > - WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged > #86: FILE: lib/librte_eal/linuxapp/eal/eal_vfio.c:822: > +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) > > Thanks. > > [1] http://dpdk.org/dev/patchwork/patch/24549/ > Ping? Thanks.