From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0044.outbound.protection.outlook.com [104.47.37.44]) by dpdk.org (Postfix) with ESMTP id 344602A58 for ; Wed, 5 Jul 2017 11:48:04 +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=qCtl3vrqvk5z4BToi91aYTtgt2rEHzu+AhYLFymxyDY=; b=ZDnLbsvcAxPiNUSpnbFm+32TaT1wImCQXfxZtDCCHfUiENnUJcEXAvG4N7+grlDNlx6CuvLpkHEJQtrtz4DC/9gWkeapodEe0XUVm7esglEf41aebKi1+et3YxB4kAZZb7d9atjEZtaWUB548iE8ytiifmeiPxlGB+JLEG3hhzM= 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.100] (223.180.17.81) by BN6PR07MB3091.namprd07.prod.outlook.com (10.172.105.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Wed, 5 Jul 2017 09:48:00 +0000 To: Maxime Coquelin , thomas@monjalon.net, bruce.richardson@intel.com, dev@dpdk.org References: <20170608110513.22548-1-santosh.shukla@caviumnetworks.com> <59355fcd-0da3-9625-8a0c-dc8c4d44c127@redhat.com> Cc: jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com From: santosh Message-ID: <9f537710-1071-01f9-b4c8-1b0601c1b95d@caviumnetworks.com> Date: Wed, 5 Jul 2017 15:17:48 +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: <59355fcd-0da3-9625-8a0c-dc8c4d44c127@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [223.180.17.81] X-ClientProxiedBy: BM1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (10.174.208.21) To BN6PR07MB3091.namprd07.prod.outlook.com (10.172.105.9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: da9eced4-9ca4-46aa-b55e-08d4c38aedba 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:BN6PR07MB3091; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3091; 3:KjmJu9DXBDKOnP9DAwVdIzg2aNRuETNqfQoLAdt/sU1cTME5v6HX4vQ4qqyafc5nr7Q35JOZ7Obf6BUFPKP9GUSL0kvaBQE94F+0S4zzN1cVllSGFc+NV5R3Rl9nCO/iYXbmh1rZ5RQVRx2FDCQU+6lb361ShBP3IVZd4VI/dbCP9YLZbWn+jBUoD97JH6w5TMHIG45a66sR3Dr8Dll0VZnxfBbqzfs3u6psJpgrQ4P6FBb2+lxVcD8S3wIRTGwejPozd8YgPDKmaezHTa57D7BZfcXbCn3QukOs40SpLiG3tmiFZozBRcKXodVh+JJokF4ps+CRuzJbWp3Vy3Z0ds1P+vuBvcdDdOT+TAqBovYd5DJEi8BiP2d9WrIN8GdGWb88xO3pO4IbTg0hQ/ce6Vgg29+G7bhMqqz8A1in4O9DHRqxz4U9AUWD+PDp4QrHJL5WjcRCVfKjJTpc9+bFlwLys7RPcdjAGjc4O90YJQunhuPjgb9KMmAqw3PLvly6dDiHzFXgLR3ipqEde1cnqAND+Q5S2tc4IyT79lMqh8KE/IOGnrAW5qTaMwP/Sn9xcT6Dt31+DfH6cnaC67slWpv1Kaac33zSOVW05UIyb4wmqDksd+FO2mZ19vl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BrGFoPfmHqVH6pv4+K7ifPpeSaUGh0Qfle+jmz4agfRVEer55kIlsLrLK/eNch2Fk0u6nXBbacF84GYqFB1GxKira0LTVZRYQuRojo/D89YU0xzfBXYqNzLyDeWcaP1UjZ06E1a2s0YJjUJyq16SqffSkz3P4fp7xSGtnSUE1PsYymuf9mqERMF5ArQxqyXeS5j4T2yXlg7YMN4BgUuDkMqbj5fof013O/Qh+rVgvWeUYrQN8XOo0FOmBMpdpeNfMbKNEjIXtmN/dHbltEaIQJnVF3OC8FBluceSwOMvrqLdkkdVdKH7LwymEHDOO3/vmuEr2ey80B4uWxwn5JEsV4PZisHdAIlsBmMBtGkFA76nElCOEfLcMw5Q= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(48057245064654); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3091; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3091; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjA3TUIzMDkxOzQ6aGQvYXc4VHQyd0FtaXVnUExxeGw4Yy9nay9L?= =?utf-8?B?Q0VRKzJvSzZpTmZKSWFCY2NMNDd6andQSWNZbzQ2UnlpMmtjNVl1anV6TWxt?= =?utf-8?B?WUZ3cHZHcnp2LzJqMTV3VnAvcXNRck01bG9CeUdIQ2ZWV0VMaFB2eFBZZ3N4?= =?utf-8?B?ZTlSSHdWVld1c3g3dk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-8?B?dHEyUnlSSThoOWFlQUxVeUFWRFhCMEFjdVhzUlk3TDdYbm9KNFI4Rkp6K2lt?= =?utf-8?B?WUxuRlM0TEc0bmlpVlRqS3Bxa1lMeTh3UGhiOEpST3RFdmIrZXVMVnAvdHV3?= =?utf-8?B?UG42M1dPSDJQZUxkSUVvZytmREJvSk1SbGc0R2FEYTNDY09kcTBRMG43OTZQ?= =?utf-8?B?YWg2QlA0NGMxd0FCTWtxQVk5cWZEUDJDSkZ0NVJGUUFNWVNIVkRmS3RodktD?= =?utf-8?B?QjFCRmU2Q2tXV0RXM21SV2tQMk5lWndkSEo5UzRSbDRRNktGcktFb2pVak1t?= =?utf-8?B?VUpwcDArU1BXWXlWOE8rdDExVURnemw3NFEvaXgxN2M5MytaRFBkajBPai9h?= =?utf-8?B?YWx4S3BpVEk4dU1sYmZDY0oxNytrNkdyYXFPeC82WDJHeG1LUUpwYmJkeWp3?= =?utf-8?B?a3dmbXgwZVZ1OFExUW5vSldHYVdLWkx5WHJVUTRXbmtBRUU1cWRJMDExQ29t?= =?utf-8?B?eFZibi9vN0YzWHpXS09GdG80aUFKOWpuL2lFQ2N5VTRscStSRWprdXV1SWRy?= =?utf-8?B?cEs0SGIzV29yb1Y0WFgwSUVEYVdxUWhWNUc0WmtCd1NyaDN6RGpBWEpyZFpj?= =?utf-8?Q?DktzXYuz3c1/L0w9A=3D?= X-Forefront-PRVS: 0359162B6D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(57704003)(24454002)(377454003)(478600001)(83506001)(5660300001)(77096006)(110136004)(36756003)(38730400002)(6666003)(8656002)(72206003)(2950100002)(4326008)(230700001)(86152003)(53546010)(117156002)(42882006)(23676002)(4001350100001)(6486002)(25786009)(33646002)(189998001)(2906002)(66066001)(8676002)(229853002)(3846002)(31686004)(53936002)(76176999)(50986999)(54356999)(305945005)(42186005)(6116002)(7736002)(31696002)(47776003)(81166006)(6246003)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3091; H:[192.168.1.100]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjA3TUIzMDkxOzIzOmZuUTI4bkVPaVlHNzdreDlMVElZaTYvZFVh?= =?utf-8?B?eCtCMTFQaFdZMDFnU3hSaisvQytHcU1sVVZIbzVhYWtuV1hrdlFscWNmQnd1?= =?utf-8?B?M3hwOTB4djBLaCtWUTkwMUp0OHRUbzFET0cvMXNZU2RIZWRmQmt1bk4rYnZq?= =?utf-8?B?ZWEzbHRldFJWdnFWR25ON0JIYVZGbFJPWWkwQnVLbVF6anJGTEN3YmxRL3lP?= =?utf-8?B?QnpsQzFhZVIvem1qSHYwNGRtd1FhaXNBR2ZLVFVZaExWWllqZ2FvYUMzTnlO?= =?utf-8?B?eTRHdUdPbWhGLyt5QU1oNVBCNlVYN1hMT2NUaG1GanZqUUxkOHpydG53d3hk?= =?utf-8?B?Ykdpelg2M0pkMmFiQ0JEelMzb05FbzE3WHhYaDNXTnpCS3prelZmRy9OSkNk?= =?utf-8?B?UmxSeGNTUVpQWHdlaHZYVFcweVg4bHZudlM3MWp1djh5NWw3UnBhMXAvWFFv?= =?utf-8?B?eis3V3Fub2w1MzRmMXAzTlRKMisrckRJMEFCWXliazJmYWZIUXNwTFk1R2Rt?= =?utf-8?B?WTBNc0dnbXhOSmtXTjBUdHAwTndDZHdmQUs1eWpEL1kybjRRbUJjL1hHeGJz?= =?utf-8?B?QUo5dVpsL1c2UmJHbUtUQW9rSWtUYVdYYWVxR3djMncrQVBEb2pZU0MzQzNv?= =?utf-8?B?N2lqTjRFcGMyUlJQcGxJTG1ISExDUmIyaTRQanZGNHZaVTY1bkxBUEZDQnRG?= =?utf-8?B?eGxHUG1kKzdCZlFGMlpTVDNEWk1WMmZldEw5ekswZVY3cTExTUtvNCsrRTVi?= =?utf-8?B?ei9Bd1d3bnhoan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nWvOzPClM9hj1eaT+3qcdyiwfWswjIfmNL/WdBY/OxkKWY0pJrkmVyb3RK2ibDHkOoJ9B6AtD3tqlk4k= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2017 09:48:00.0078 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3091 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: Wed, 05 Jul 2017 09:48:04 -0000 Hi Maxime, On Wednesday 05 July 2017 03:00 PM, Maxime Coquelin wrote: > > On 06/08/2017 01:05 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). > > Isn't it possible to have a per-device granularity? > For example, with virt case, having a physical NIC using VFIO with > iommu, and virtio devices with noiommu. > At device level granularity, Classification will fall under with iommu and w/o iommu category. Like in your example, virtio and physical NIC classified under with iommu and w/o iommu category. And best way to detect with or w/o iommu is bus layer. That way bus could decide upon iova mapping mode. Note that iova mapping rules are not enforced. User can alway override iova-mode mapping. > If the physical NIC prefers working with VAs, why forcing it to use > PAs? Maybe I missed a limitation though. > With this patch set, if physical NIC + iommu/vfio then mapping mode is iova=va which is what you mentioned. Thanks. > Cheers, > Maxime