From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0067.outbound.protection.outlook.com [104.47.37.67]) by dpdk.org (Postfix) with ESMTP id A45A1532D for ; Tue, 11 Jul 2017 08:17:27 +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=kWGlZPq5DWObtezi65CFvr2HP5Q9V85eFwPJIBaGOwc=; b=nsZkYRMgFoP/lzQDgMzCl35/j+It3Rid5pqtjAcpoet5du0c0lB+KCCsFfG7P8qLm3t2YEBqpwFJtmHpQiHkTZWkT0WsubFbYx4avxphEXQ+uYA7MJZD9Gp4RQqUAsTWJAtPej+a+4da/iXJz9Y8Od7euLii9pKFrnBQrhvX97E= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (111.93.218.67) by CY4PR07MB3094.namprd07.prod.outlook.com (10.172.115.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Tue, 11 Jul 2017 06:17:18 +0000 From: Santosh Shukla To: thomas@monjalon.net, dev@dpdk.org Cc: bruce.richardson@intel.com, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com, shreyansh.jain@nxp.com, gaetan.rivet@6wind.com, sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, stephen@networkplumber.org, maxime.coquelin@redhat.com, olivier.matz@6wind.com, Santosh Shukla Date: Tue, 11 Jul 2017 06:16:20 +0000 Message-Id: <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> References: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR01CA0103.apcprd01.prod.exchangelabs.com (10.170.138.157) To CY4PR07MB3094.namprd07.prod.outlook.com (10.172.115.8) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d0f3998b-3094-4f1b-c473-08d4c8247e0a 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:CY4PR07MB3094; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3094; 3:85V0EsGvRP8lYKiKozTSREL9HSyoGSAa79ZRXvfsHSIm3610AC7CH5zLo4lWi8ljQpu+I7syNy4v7CT9HfvJmkGVNjkT7Y/8LTxRGMOEUAve8krvGzN9YhyxFlFKCumPUCPZLDOM/ttGpuWoLMc5k0732/LwYvoECKSc6rjVZ0na8a6tO8aYB9oySF786xxPDjGEsfb6dAYB3PZPbtyVF41Y87wOYKaJaQQJyIr+HxvMT9bTxr07kykQc2qtBN7wx/YBmzGt1WvQ9grd6e1IR4PFQ2+V9V5P4ivyuxzjJaUozwjs92/w9/7bI+aWFBi+REMG++XwOXiIrexMsaFVWUtCTgIm959CQUW9tNGKF5avSrk33GnUyfSRp35Yk2GL99XrH0gepqoOtfyzE+RvBdsPsGUGa8g8wxX2MQkJ1AbQFxC0bTiXaXVW0lUCxi1ph6KtzRw44hYWqOVvY3FXE+OtUsHOD7VA0yzxiZiVowNbJ9EvkA2k0gAMQQy0SNeQPn0PvGG9OOuCEESOgBUCGIg4Zf8k9lkiik5ipZ4futtjdwXxd+9jNKrqaTC3ld/dx5fsaKjU3Dp9stPePztZIIwQceDCVl7SSacejw9FUOg9f+D5OBWz+MYG60ngqVC5nStIqNHpi2e6u3TmpcGOtD0jxWs5uddh/RbyaQFdt2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ZCeaWidAvTOqWEcMrcHvwcM1wx9gKjAV4tH5LE/heVv5q4CvT60eKDSGKaMjK+3+mAiqmLyGYOJak137+FWyI4KEWqYYxn8G/ZtvzV+TCa/8fVykcqFKdk2/eWWEctqIaP5gfzaieQ1g45ZHyKFOJ9jkC5uRycCbvoVEdVfSV/rLWlhJbIYv+5Vhx4tizvb/x16rkStJ09fVnjAePFWL2NES6+QIAjGugy1X5ekIBLTia2Grl88Vix1m+Nwlx3ZmXWfhztrFvSB5jIN4q9fseBVMFXOQCofRxsrdrnneF82qM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(148574349560750)(278021516957215)(50300203121483)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(6041248)(20161123560025)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3094; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3094; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 4:H5X/rKM8jgANWFgIUci1xzOzX6pIC5hy9xYpVvH+UX?= =?us-ascii?Q?mmEryKWN4rq3m2cVzrsi/OSXdb8n4NQAZRj1S+mosIFI6rfCCHsa3VpL3hSO?= =?us-ascii?Q?DT8PL9sDpid6GSZK7p6uLr7hbqDbPlRm6w8t8v1Gfa28mucetosf8XCRvHbA?= =?us-ascii?Q?D/sq6vo8rSJPNhFl0IevpLpQctrqWxIg5xDr0qhxdfeSuWHkEWpYyIWgoa3B?= =?us-ascii?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wAEIRn0K2WaGaOkwi8a5PQQ1?= =?us-ascii?Q?8RY8B3ahpbVHoTPQFijiv7yBnekqxOO7bsxB/KO8etQ3PwfREZU2Bld9X48k?= =?us-ascii?Q?vsCZVYanEXRNVqcqJgpOGVNMvSsm8UwpTWj3K96/lHbeFh4tyho12HEzccMZ?= =?us-ascii?Q?VZ7yVtedUjYJLFCv01KwF/WtDTEXh//ixsVO4Ry1lKww0ZDIDVWvCGX9F2ly?= =?us-ascii?Q?XPEAnPuG5kMor2se+5mikPu9b1OXtOADuWq4+NAZtJ?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6069001)(6009001)(39850400002)(39450400003)(39400400002)(39410400002)(42882006)(2950100002)(6666003)(5003940100001)(575784001)(36756003)(50466002)(50226002)(2906002)(5660300001)(8656002)(6306002)(6512007)(7416002)(7350300001)(189998001)(6486002)(6116002)(3846002)(305945005)(7736002)(1076002)(4326008)(5890100001)(33646002)(53936002)(42186005)(107886003)(110136004)(38730400002)(478600001)(5009440100003)(81166006)(72206003)(66066001)(76176999)(8676002)(25786009)(966005)(47776003)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3094; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 23:Vc6jdCGeeYssAshRhcOf66LbUClJJDalosRr1q63x?= =?us-ascii?Q?gI9NGV18Po89vooTvglLRczd83UTl0mnpd8OlUD7fR4QiAIUcoOsAJITmmMF?= =?us-ascii?Q?fFzWy5aI9EMDKWaLunZ8SPG75eF7nnIe/w41T1MNt+g94MGsyPa1XTUNA3rK?= =?us-ascii?Q?rMjrqMh3T5j11TseOMe9YywzyecCaTnzPCBAJ46Ep/XPEW6Lfar7tHAdhb4O?= =?us-ascii?Q?okDal643TDUL/WftzCY15lB91Xdkdr3+5bWoCOkoVsAPrUnX2HvAW05r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PVziieDzWaNk50bRlXM3yUcFUdVhrJpPT4vV9?= =?us-ascii?Q?TS4iLASb0FXkcIBonqs7qLsyySvI3WqfmUZEBLjNOQFNYGIHMsMyL0X/A=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 6:2eGgpZaCnvp4At2og6SHo+/fxsb3mf0NhCm3tmnNjk?= =?us-ascii?Q?hgXPVekVIgWiA4ewlcV7BMWtw/Br2M7XL2WR37uItRq1GbJhlYRs5K7UriQO?= =?us-ascii?Q?5dEVyeh40gY+ZegjzLSUSrywNxseGHb8YHnjIRVyeTUUDu7/wq1lLWJIEIk1?= =?us-ascii?Q?uqDF0nYR8YYy9ODfC8eCPae39xC/Z8WRlOG/ZXt7K7ejPggM07OFXs+18QAp?= =?us-ascii?Q?XJKi+dfk9dAEXolCJJdms8rCpt5w9sLKWT7HzQYZ3LyUTgvUSgthAej7js2M?= =?us-ascii?Q?taKB1JNbiaJI61pfUWJR2epCpJOcF56NNZQ3ZuX3uz2N5ensdt2V4rLABkHL?= =?us-ascii?Q?Mim+Gw7Zn/UCvBMYBD7dJyN3cc4Qwvcedr0iB9LfAn6TFGpR3n2/7+OTjFhm?= =?us-ascii?Q?euu0xQdUPNXWaCexOU9GmO0Q7tRLVhrud2GStoJsShhr7id8syqGeUCLq1OV?= =?us-ascii?Q?tljxICwPzDne1g0s6kOSSFdslGiMTWXJfagB880nDWYKFxJXuDnSLvwaLoGY?= =?us-ascii?Q?sEWOL14NpUHRHHIk4Yn0KDROLSR/4Xp1/IUqi4fIesxpjy4h2J9Ksx+BnRWl?= =?us-ascii?Q?1eQQiZldlXxK5OMcYYwblZ3fImusUOjYagIanU2fKCS1AbyyqDp3vafGYgcX?= =?us-ascii?Q?KfL54b3fBDHZFI3BFWuG6jwoecHM+b9jJTTkNzRQqaHhFY/UNyb2RccHAzWk?= =?us-ascii?Q?Ng/3Iogb9HHvEABib0Y1og326u056TAwv5CDplg8k9mtjyUngLIrzikCMnQH?= =?us-ascii?Q?G2FnEzDGOL9judkR30d+Dvg24TPMi0+v34595+kUcD8LkYXlnLkTIyy/EIPz?= =?us-ascii?Q?PxY/uBEOTWhYUC4hMQ/a6EP0uiwqOASF9Psjwn2bgPA6k/yD7ePLYN10e4uh?= =?us-ascii?Q?lE9qarwOEce5jJCE8a17w6dwnKhG6O7z08W53jDtf3SJqLVN2cP3NE5kcfUn?= =?us-ascii?Q?gmWR8ODlA9xreWKoIxbE7dElrnK2wZua4X+KcQrdwCgy/wpa6uD1tpd5TJVB?= =?us-ascii?Q?U=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3094; 5:hQ7PZHd9V4K7s5imfOHMfOgoMb8mOa/wrK4yzA7kAS8XN3liq3HGSdXy7n+ZC7OJNUI5r7kLQCYUyf7R5YDWVroXooNjC02zVdG5JsAUuqr01HU8q5TsgsVylisSdStqd1vdImTMraY8AKfpi6n9gp/DAROdtKmhmaROC86L0KuG75q91wDbM1Z50cbgQ/+6qWSqdFjYrIdYbGwsWcVSxAU5rP/whffPSt3yDi8v0ddYDxqaNh7KbjCYp6Y8LiML1f4duQnEbTBsLt34RrI9TzqHHTXi3m8N8fVpGE4Prv7+1UU0/WsInJsdVQicKtQvwaIii2sd+mLrU5lhPR/oIFbc6orksmqNdPIXrmb3uibwMwJvYznvVGmn7PwbPRkmyqa9qQ8nly+4erLPieyRzjC8MQNzr2SXb5R/WsxVrIPLot4lfwvyQClMfTA2C0EYSalcBsz1KdhN14aacCNJSOlOz1EgmZVpu67aFpAAeHotnqFX5xEpkIeyWg834m5O; 24:A4+K4J+DlfiLsUxFuGcHt2DbR4hR21IJ3EksOqekg+ZvC19mZlP5RDhEi7IHjzvh6Y6pYp8fYMLWGuVSpwG2ENGtJwlO7lran3o+l/GcJqI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3094; 7:Q7n8J4pcuRwaciw4AAurPPURsHYBfVPlEWQNDSri5eIzFX0jAqBr/JDLfdKWOZl4w8nWnAz/UnmTXTrQ/La1onJllpQHglBCA6SkbFq5ceR+9pZDZAba8VWIj4ehLddefSSi6lJKvKuPAKkTRp1kZ5ktYnHIWfyDpOZQJMKSy+mXewdKLWHM/qR36c16976uh26eAywX/c/HLJVCJi5NQNCfT8+ycMkvuIGiQ8R/aZkcCamIlzVTPiT8VAyoZ+wb6zjXaIJWCoNoeXhDMc2Rat+iGrEMfnwfviFQuFCj13L3UORaq/XzLVyDFHe7uxjMT/KTSyFWhnxZJnZGM7djqdCquI6wsPkudJHAsCZtgXSsmA0F9pHMN1wr3k3jpZG2X3TU3OjSPhLpeAvoA+ws0FiDEc6kCEiROnAdAR1Ai0sqQTfKyKiGuZYg555LfE9pbPdw2CSD9I2PhNxCDo+ihU3rXLY2WMurD1NS8NbBQKO9ZPNuOLDvNJQspvagPWmWAJoDtxNFbunpRnnrFhtfwxRFZPNo/VyjR64VjTPfR5LtC9HdPr5d7mN1+kPUHu6QRWTA9ldtVUd6fdeH8Fe9JodrRj3R2uCRVZLy6AyLihMCpVPGxosyF/xVYbKDX91tYCex1xib8FJgQE/Da5lPFWiSsOkPQh16U4Ioo9X4sMM3RmApul/nQIPIJfxtT/cat8K64V5tqgw9ykU30ta60+5JTjbv6W/+mfJbMTHASu1uHmimdNUAlaLL3lYwzDYzSVTWwXWzzPs39AWe/ZQnpAQk2mZX5PERX1xeVpczqKM= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 06:17:18.8755 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3094 Subject: [dpdk-dev] [PATCH v3 00/11] 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, 11 Jul 2017 06:17:28 -0000 v3: Removed virt2phy translation for mempool (suggested by Olivier [4]). Patch series rebased on 'a6e3149d0c0fac39a6fc970bdadfae14f875c9c6'. v2: Based on the discussion on the thread [3]. Introducing RTE_PCI_DRV_NEED_IOVA_VA flag for autodetection of iova va mapping. If a PCI driver demand for IOVA as VA scheme then the driver can add it in the PCI driver registration function. Algorithm to select IOVA as VA for PCI bus case: 0. Look for device attached to vfio kdrv and has .drv_flag set to RTE_PCI_DRV_NEED_IOVA_VA. 1. Look for any device attached to UIO class of driver. 2. Check for vfio-noiommu mode enabled. If 1) & 2) is false and 0) is true then select mapping scheme as iova=va. Otherwise use default mapping scheme (iova_pa). That way, Bus can truly autodetect the iova mapping mode for a device Or a set of the device. v1 --> v2: - Removed override eal option i.e. (--iova-mode=<>) Because we have means to truly autodetect the iova mode. - Introduced RTE_PCI_DRV_NEED_IOVA_VA drv_flag (Suggested by Maxime). - Using NEED_IOVA_VA drv_flag in autodetection logic. - Removed Linux version check macro in vfio code, As per Maxime feedback. - Moved rte_pci_match API from local to global. v2 --> v3: - Removed rte_mempool_virt2phy (suggested by Olivier) Patch Summary: 0) 1st: Introducing a new flag in rte_pci_drv 1) 2nd: declare rte_pci_match api in pci header. Required for autodetection in follow up patches. 2) 3nd - 4th: autodetection mapping infrastructure for Linux/bsdapp. 3) 5th: Introduces global bus API named rte_bus_get_iommu_class. 4) 6th: iova mode helper API. 5) 7th - 8th: Calls rte_bus_get_iommu_class API for Linux/bsdapp and returns their iova mode. 6) 9th: Check iova mode and accordingly map vfio.dma_map to _pa or _va. 7) 10th - 11th: Check for IOVA_VA mode in below APIs - rte_mem_virt2phy - rte_malloc_virt2phy 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: For v1, Refer [1]. For v2, Refer [2]. Checkpatch result: - No error/warning noticed. [1] https://www.mail-archive.com/dev@dpdk.org/msg67438.html [2] https://www.mail-archive.com/dev@dpdk.org/msg70674.html [3] https://www.mail-archive.com/dev@dpdk.org/msg70279.html [4] https://www.mail-archive.com/dev@dpdk.org/msg70692.html Santosh Shukla (11): eal/pci: introduce PCI driver iova as va flag eal/pci: export match function bsdapp/eal_pci: get iommu class linuxapp/eal_pci: get iommu class bus: get iommu class eal: introduce iova mode helper api linuxapp/eal: auto detect iova mode bsdapp/eal: auto detect iova mapping mode linuxapp/eal_vfio: honor iova mode before mapping linuxapp/eal_memory: honor iova mode in virt2phy eal/rte_malloc: honor iova mode in virt2phy lib/librte_eal/bsdapp/eal/eal.c | 22 ++++++--- lib/librte_eal/bsdapp/eal/eal_pci.c | 10 ++++ lib/librte_eal/bsdapp/eal/rte_eal_version.map | 4 ++ lib/librte_eal/common/eal_common_bus.c | 23 +++++++++ lib/librte_eal/common/eal_common_pci.c | 11 +---- lib/librte_eal/common/include/rte_bus.h | 31 ++++++++++++ lib/librte_eal/common/include/rte_eal.h | 12 +++++ lib/librte_eal/common/include/rte_pci.h | 28 +++++++++++ lib/librte_eal/common/rte_malloc.c | 9 +++- lib/librte_eal/linuxapp/eal/eal.c | 22 ++++++--- lib/librte_eal/linuxapp/eal/eal_memory.c | 3 ++ lib/librte_eal/linuxapp/eal/eal_pci.c | 66 +++++++++++++++++++++++++ lib/librte_eal/linuxapp/eal/eal_vfio.c | 29 ++++++++++- lib/librte_eal/linuxapp/eal/eal_vfio.h | 4 ++ lib/librte_eal/linuxapp/eal/rte_eal_version.map | 4 ++ 15 files changed, 254 insertions(+), 24 deletions(-) -- 2.13.0