From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0073.outbound.protection.outlook.com [104.47.33.73]) by dpdk.org (Postfix) with ESMTP id E101B271 for ; Tue, 18 Jul 2017 08:01:15 +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=EJn33OEXuR9+AGRkI6w8edIs0vOYbCl/4z8q8gahD34=; b=RLKm7q/65400XfCj+L4ntd+HNrPgd7HN7HdxOKJzBnGFOqWCm4GRqedtPeK3OJf9r7FFOHCI773h75cwCIHgXnZFqaLB9uFlGVpmucWzVo+pChK4ct2gOVqSZrPIOCUFlv+brNnd4A8+hh59rLFgznCBgMzkxpTmQH+StoxW9aM= 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 (14.140.2.178) by CY4PR07MB3096.namprd07.prod.outlook.com (10.172.115.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Tue, 18 Jul 2017 06:01:08 +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, 18 Jul 2017 11:29:46 +0530 Message-Id: <20170718055950.10208-9-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170718055950.10208-1-santosh.shukla@caviumnetworks.com> References: <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> <20170718055950.10208-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: SG2PR01CA0029.apcprd01.prod.exchangelabs.com (10.165.9.167) To CY4PR07MB3096.namprd07.prod.outlook.com (10.172.115.10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 95c7bcfd-3b10-4270-6ac6-08d4cda2654b 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:CY4PR07MB3096; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3096; 3:aJzQzRLPbPYAhvliT92vrqIsQjDkvj4hyoaD0Hb96sYDF6GnkmDIufyX+vmP6/8aVJHrgokc7gHjfykqtlgvQxhTkk0bHnAZPzipEn5KFZ7txoMbjmbvVEo2kfK9o+7EKYlB2fwWX9YZBXtXEGmfcpZf9MsHF7yb+gExCfUwyFvFwYIS6+EB8SXV7uKZDq716cIclqzcjxiYRWVmEISjyU6SOZtGSPExTSmeipcVU4yWNVfEQVQ9GnwkMokOyLE99PeOVijFrmRgpaAWCFDnT0nWASrY8psUvjzHTQlAYLfGjctHhMmWS04WmL/xCADZxK44xcNDQ/3wXuvflk98SuFoEOO0+ysmye4+hODpJvYcmdt2Pt6RLrWIGz0ot/e/YMVMZg06NCUJmOoiQv7KrgxaXWm+xq3gThfic9QRxB5DVIs9SZVA7y1YlVRBMQnRmAcWuj0UlUWZJeKpQl3F444YSPHOqcd7xx2VGavsEJdc4hBaaIxn6I0H5txFRH3zS/GEYiMdHhEmms25mZPtgML3KyVUQjC28bU7DSJwSIaee0BMth79uuGOV+W6osTuHY7k27xflkAPegGDXt8HojH1IMg3cMmZxnTgVlI5jMmjENtJth00RqeF71PMkKkPORDXBSPW9Xr306I2MTUUH8+oU035v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7EsfDVIpM/2IFf+AhBCZoP1CY4E48PSGlkR4LqUVzSnAcCGkb1TZ+xqEArNAkYeFG6VfSj1SosJwKbtK98phtrJTuR7RWF4sigZn1hudSWVRbrB3tAZbw5AtNWRVmyIa+EjP8SFpgpzh5e4Z+rgT4dQKlZHApfFgqNX+Dz5IwZflECpPxo9W5XktWst1RBx3eGggy87UD1+Nu9cVSxQK+s6gFcpUw3220h2j6DANaKutEOFbD8IgkUzQ0SMzdCmxplk9zI8fa0uc1heMejIS27K+1CHGBHUadC1SJ7j+OgxkFkkqBUp/J0FUowIFBT6D5eMIeczWd3Q4= X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(50300203121483); 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)(2017060910075)(93006095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR07MB3096; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR07MB3096; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3096; 4:98Q6td6a0vuoUovF8igZZI4my9APplIO4sQUmsLLJ7?= =?us-ascii?Q?W0eN5v8z2/Hxieo97o1KmLFq3NA/bHR1UwKMgD9zNz2QC5LJ/SuP87OBVrhk?= =?us-ascii?Q?HLl3vDrP8BgwN86xImPRm4x8uTrtezht3BWOWlsTXnRUAunuXS3D+J9YmFF6?= =?us-ascii?Q?kVa8qWo00X/HCHq1i3b362Oy6Tr43+yrRuLuTerhTu++KKBAOW9DQ0281A0S?= =?us-ascii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+tP4zdelad+gAHYJ7A2VjW8qNvb?= =?us-ascii?Q?3fDCjhboaFYQQO4gyMR+/9HHB4cr/vNy3Uw7yomwqch14HcTeD0ccn8xh47X?= =?us-ascii?Q?YYUYGCtDK+I0v/CBZs9nzTv4WgGDSmz8ChwvMaeGIN/MFdV3gNq8wprA=3D?= =?us-ascii?Q?=3D?= X-Forefront-PRVS: 037291602B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6069001)(6009001)(39410400002)(39850400002)(39400400002)(39450400003)(39840400002)(39860400002)(48376002)(25786009)(66066001)(42186005)(50226002)(81166006)(6666003)(189998001)(8676002)(6486002)(110136004)(2906002)(107886003)(38730400002)(7416002)(36756003)(5660300001)(7736002)(47776003)(1076002)(76176999)(50986999)(5003940100001)(305945005)(6512007)(478600001)(4326008)(72206003)(53936002)(575784001)(7350300001)(3846002)(6506006)(33646002)(2950100002)(5009440100003)(50466002)(6116002)(8656003)(42882006)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3096; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3096; 23:tw1jRrJSg93HEsiwn9AESNpamaKUS7IzWXsW2YgIN?= =?us-ascii?Q?mdpP/yb7RXZX+kp5EDyFCI0tnpntG/HhUmeGQj5P2+jg2DkfNZzgmD7daGaZ?= =?us-ascii?Q?9Suw6Ekt4ufB6moWUyGA19QbZhXsTUiOAnXnLCNNX6TTHZmU7mL0xwe4sjSR?= =?us-ascii?Q?KexJrEgSjrQoxejmvGuYnHtTZrjRC2UtWEHW6Ht9NT7bZhtVFR4BdNbqqfPW?= =?us-ascii?Q?z1pT5r8BCeqaCScqfkz/FVpnsHLLbHvfnidwDo4MagD/PLVpMONElMfYIDAr?= =?us-ascii?Q?9AFGlVF4jlD+0OsmFzdQrM3IatqqOWjFsvb9vDyhf+UZBHPRQ//J/bNryqgS?= =?us-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VyCnAMIgkqNWvKv8y2VxtQYuGy?= =?us-ascii?Q?LCxZpBY575+Ah2eE39fplRCaN9UgmcfoF32kS3cS4a7WwH7yGx9E79tjIc6K?= =?us-ascii?Q?Zr1xMsYd6ZFJe6sfwTKUX7o0zPAdoVNH85o+YQgF5AtGP/+pL+TS661DqSwS?= =?us-ascii?Q?xtJwmfZCCtwEnZI28PB9dHIAYGZ9ZChwQlkHiQtHrPdcIPZGRIbYHynaMSJv?= =?us-ascii?Q?jfEQVQD3hle4/9Ib7UyDSzBFWbWI8gItrIcMtJKEDTfLS3K6iNsQX6yNYiDV?= =?us-ascii?Q?U=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3096; 5:UqFvTKfvt2vFEuF1dTCVD2FgIzNfE+adPJigZvtgxhMDGdulvbJpop6cMbLpdpyV617nRaybScpqwHvF5RmKgcuzu8pUaCgRIJMVuoFpOvIYdolO0uCh9ulHC+l8o194v5T2RDCt6/HsVQpLnhtBioMuFLTWOyzvzWD3mh5eleKzCKT7KrPRPaLNuKa6OOs1AkA+n/sWerIedzV1Q892cWVIrI4IJo5KO4RkZ7tXdMZ4dTyHI799cOtN/iMxShGtmyCTdtE7XmLk3n+BgHrkFDnNbUocOlCmdew4U4lPPfAuuT2nv8ZrhOR769W9x4s8gkJ1PYN3IODoXMegBBFFMBfyUte3z3xyWRkXB84JfbWhCvLqj37mduQ+12vAN7vehUt79+y3QosSJuB5OW8H5Kjff2qUoQ506xT2ePbSiJcjOAQ+vpxHfO8m8jv9VZo8bw0iXA/BfD3/UpaC78Q6hhfIW1OwZxlbOD38egZ9YNZfbfMl5tfXZF0PQwr0atWT; 24:YWKO0dOTKF5+v5xtJtsNNofr/6HelbDPnPFcIyr++5IA5NthclGQVsD2FfkpsQnbTKzWAJgBfWR7F2NBFINOfT7ol5ttx2CLlOc1h0cYfrE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3096; 7:3GYvG4bQK6iPVuRaSz0ZP4VKpCoOT/zViLPLynlMQyOHwsJ2/9fBq00BWJEf9tH1LtHxQz7L6frsBf4g+c9nRPPPvemUNfLIWx7l8+wAiV+TqWt+wkLruzBNg4ZDFrc5zitxog2ocR9t3EmBU8riXHvKyxwjDl3ZLVLk1dSkujaZB3iclqJuvr95ZNLN/wHNwkJp34fAxBnIpGKugZ3d8jb/go28bY2dPcf/MX0Ek3r+JNBRT7xc8UlwfNiF5jhigH47sUAxAYe/4TETLj8ZBMF17L+IPnmoZ180Gi1EtYudoPFC421A+pGCnqy+iAH+fvh4ELx0PGIsgc4YNw7P81ihHX12oIml2qssYsZWcNYfeE6D0cNQoJCNuFVgOZ7X7SrNh/pY9Ih5JZqD2r2oF9PJUDpgevt9I0/D2zrpkUupAOQVD4Mv1ec489G9EtCJUMqY1c5VAVGdjV9nPHrcN/O4XYpJ+xlsc32TqfMcqEXk3EuqiEC+ha4gr18gnYIRBrIcwLU+NdY3sD5R0QibBr2tegIM+wiwz3BzJABMpK2jfIqyZQRYeU+Tx5OuXZOUqo1VjvO8MoL4oRwZmATsjmnBhMp07B3MxIb4xvRXxGvL/SozMN3g1Uye2fSHV+JhA9DiY6omJ9N6nCNGe0dMu2P9kTwSLyrqtXAAUSX3HZPe6OCEx9+25o4Fqunck+w0EUFMzgxN/KIqkxTSHaDDmjl5Td4JZfKnTbpn2p8BL+eBRImac/HPHovH1SW3+qz/u/Yamqq7skAnHeApSQkivX5lvjXO1dbnie7D1WZ3HTY= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2017 06:01:08.1419 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3096 Subject: [dpdk-dev] [PATCH v4 08/12] linuxapp/eal: auto detect iova mode 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, 18 Jul 2017 06:01:16 -0000 - Moving late bus scanning to up..just after eal_parsing. - Auto detect iova mapping mode, based on the result of rte_bus_scan_iommu_class. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/linuxapp/eal/eal.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index fffdf0d15..49b52ce4f 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -798,6 +798,15 @@ rte_eal_init(int argc, char **argv) return -1; } + if (rte_bus_scan()) { + rte_eal_init_alert("Cannot scan the buses for devices\n"); + rte_errno = ENODEV; + return -1; + } + + /* autodetect the iova mapping mode (default is iova_pa) */ + rte_eal_get_configuration()->iova_mode = rte_bus_get_iommu_class(); + if (internal_config.no_hugetlbfs == 0 && internal_config.process_type != RTE_PROC_SECONDARY && internal_config.xen_dom0_support == 0 && @@ -895,12 +904,6 @@ rte_eal_init(int argc, char **argv) return -1; } - if (rte_bus_scan()) { - rte_eal_init_alert("Cannot scan the buses for devices\n"); - rte_errno = ENODEV; - return -1; - } - RTE_LCORE_FOREACH_SLAVE(i) { /* -- 2.11.0