From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0082.outbound.protection.outlook.com [104.47.32.82]) by dpdk.org (Postfix) with ESMTP id A70297CDA for ; Tue, 11 Jul 2017 08:17:57 +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=OBAa3Rq0XEZvH+wUOUMUfxh4boVX0RnFISUPu48SUuk=; b=mGo96XuWqJ5WWfjrHp/shgpumYePSxz8YMobSx8xkNfn/NUs2c7HWrL+LOMqI5Hv5gsB323V2awtI8hELdKcXqXiKL8MRKTgqu3tynSjGKob73ax0E3MS5p2UCI9H8EssRgibTqSubNsyZsSm7Cc3vLYOqUN8mUn6Cmf40Oguis= 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:51 +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:27 +0000 Message-Id: <20170711061631.5018-8-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> References: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> <20170711061631.5018-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: 899ffa4c-9d72-499a-5736-08d4c824917e 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:5ormKr1zCj5fbXkKfDswl58B08DEgxWlKPlWfYeB0rJS5nd4+764rUTgvyDzGMebLs7gm67H+nSU4GJ44ZvoHwRD+VHM5uE57yF5ueONUd++K5QGpoEhLRErsTgBVMiO5lgkXhMz2EaTNQVKuSS7JG8k0nIX+O9B2Na3hNQ0JuczoDcFcd4KDVyRo08V9QX7P7sATRFD8Cm2k13CTDHdeDmysMFAdy/l8bhAHntl3d57D1ZRMOfGxMojXaKN+p4CsJd2Us0JZ9Cv3FnbxkjxA40PTVTDItrPSfZTbpoLHHYNUY8jD5XwggZZJR8TCAZGhwI/eN6DjGorqgBX175ZImDCIHpgNjUR/HrvkDm0L42m7TwosLE/xIFz1D30nl9A7C4+wHNd0q4bI4MW9oLRLDcldB0Enl2x+AXagfvBkT4dwdDKC7sgNDVF6w21zMmn+YG+yGueyXgE0kX7Mvb29M+t6zqvy1j8gPcO8jViuScf8dd/rKGvF1u5pHi9LNrYzVv3KD33zthq22pdLD49Y0dppvfanQdEeo5XbEn/+9XKbG3ID3hKAxK+XhI4c6pHHBi2qPp1x3WdZk2YYEzKEo1A1EgCJwLHO16OZTSCZoSIxREVUn+eahixPZKqH0BG4jFnVgrujxFPbNF+lWc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pfseGFvq8ZMlW+ju/yLv2pBnXH94ZRSpxu2ixWBxzUKa53Q6/5O4NrJ1w7zbIKAQWQwicYGIIxECCpz7tsh7U1UJDQR2DSajwLqo4JiJdk4LBWTgzsAjrQ3S3lqfhWRg1S+cTnUkl4fCoR6DhbSi61x+ckOrN5jm8URL/a6un7oVQDpovcsrXh2hYaao0kPiRjB7lSX5zz38OarI4BvqZCJFOpJeIn/vpV0ymCtXy2DxaNvYmpJHP/3hqhM0UCkDYKyQ47qh7K4Z9RdJUQMCW6Lmy3EutuzB7NbYe5KvMUMKbqRC50GjLXHInYlLknBKGbG+BV1kon04k= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(50300203121483); 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:Z+Um3LSCDW//p9/HaCXqPRo6EVvTub986QH9Wm+Q2d?= =?us-ascii?Q?1EQ+wDoWsVceyRQ69voTCMlYBSBWHEyStZ/fHz/mD8rs+LOV7qmua88FCun8?= =?us-ascii?Q?5GPF34TS0QR8Y1EfHX1nP6o3Td156VkcUoY4SqcwEQQSTit1Go0D1Zz1ENR/?= =?us-ascii?Q?CqjtAwWf1ZSoWHq9fxMAzW9ajb/huz8VvC/e6uNxfuCJb67nB/qZD50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egCIfARNM/SweTkrkkA45aTs?= =?us-ascii?Q?PoA5zihFlCZfH28a2kSv8T3dnL0HfEZA8fXX3nIfHON/fSzUqb8nugIYhKNR?= =?us-ascii?Q?kfMDH+ZesP14GKq4gvyTOT6C3S0kJEhckfEO+srySBdexTV/oDCYBNpg=3D?= =?us-ascii?Q?=3D?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6069001)(6009001)(39850400002)(39450400003)(39400400002)(39410400002)(42882006)(2950100002)(6666003)(5003940100001)(36756003)(50466002)(50226002)(2906002)(5660300001)(8656002)(6512007)(7416002)(7350300001)(189998001)(6486002)(6116002)(3846002)(305945005)(7736002)(1076002)(4326008)(33646002)(53936002)(42186005)(107886003)(110136004)(38730400002)(478600001)(5009440100003)(81166006)(72206003)(66066001)(76176999)(8676002)(25786009)(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:GHjzdG1xW9YG/XBLYZhHAatHHADKPeNtwWNg4kKrN?= =?us-ascii?Q?bSfvRhr4sIBtUXY8PWpY3qOh7oHWU1NoK+Pnc7fVK2ZnXrub+5mbHTI+OGv5?= =?us-ascii?Q?C+4rRCJBkO0nE9ktGYw41K977WfVw77VRVNF0BTpZ7AIaPN6d8NP2VqeRpsP?= =?us-ascii?Q?MHKUcQiwjVxiH1MLysoACbOSqTRXA/yDC8xG/q7/26nbSMr0Xq8w1HRy5RPT?= =?us-ascii?Q?yFOILE4Nn4+zSeYwaqX7XGOzTpZZ/Drt6koHeUdqzLedyngpLcCDI/iGIGTI?= =?us-ascii?Q?VH+Yx2p+DK1i68btABFjN7z+IenZW0zRhCqTf4eNd/d/3BF2YV+rajhwOxIn?= =?us-ascii?Q?aNUZFnu4KtWPeHeCVte7QWpT3dk2zyxLohFqybII/wXYaaEqLtoPZ9QuXRrY?= =?us-ascii?Q?lD6rjfPlh1wcAooH+wUEts2hquvdi5CE6bbjEwRPORc8NZdVRPASaZC9JZvv?= =?us-ascii?Q?gfmLSRt+UrX5shXu5NAIZow+qnjd7OWsOOL1LWxNa86QiUJJKgsQGYoGH6kR?= =?us-ascii?Q?Gsiz9DmtaIOihDgci02L2nChsYRH9IJQEPe7Hc62J5XQYZ/mFQen/EoG96nu?= =?us-ascii?Q?ZeIq2XiFKbjllocx6nwElKdqaIND8NqGC3bbe8Cmnhd2gzf3uo7F4uZ0sz7I?= =?us-ascii?Q?PDkHDG6w/3yMWzDfub/e6/Rca85CgfHAcQCRYwCBWZZC0Okw04Gzm+D8SGWo?= =?us-ascii?Q?PH7jP2/1Z5wU2q+uIDpAszptinoe5T4WC2UdrS1iC1ldW8eAX5el7cu4TOOP?= =?us-ascii?Q?0eJst0od+73T7Nk9jGolmn7sew39VNgF9fZDa063XP56dDo26TVA8ionCS3n?= =?us-ascii?Q?EgLXugcwyAhXZ+m5kNeSyoiYfkiLE+jKM/evcY6JfWykp58HaKgazy8r7i2G?= =?us-ascii?Q?DhI5BnuDIkPMCC6ObGTsj1aL33FNCdqmKq8ZaKHg6pBz8Etm8KucIbQ6U/lA?= =?us-ascii?Q?6rkCK30b3bVU+A5cvDFCvZD08uGM1BX1jd9gruwOtBzJPhKtf/M8/1q2EQWu?= =?us-ascii?Q?t91+cNaEDn5KOGEnSOdp1KOfEuhvydBTlKvLqbHg+AcQ+tfssmvvxyNzV/kT?= =?us-ascii?Q?Z6kWLYN6JDTloNrSwlwXEdMSM2F3upEXWBmiEauwJ634XTaJ78VokXy6PutU?= =?us-ascii?Q?J71MpYj2qqSEGZRVV2XSoDj6nDxGWe7?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3094; 6:c5cNKTsKGj0kyfZaQpoTFENzPukgbxOwAgMm7x59RQ?= =?us-ascii?Q?nI7cpU7Ia4jalP4bqyM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Hp51ajRb25lXx2raUpZOmJv30c/SMKE/7JjjRlJerkg8DFaIiBvOy17WVGUWhzrSSiii3ZpclIEPGLAneHXPmmwZSt5zCNHCgZP0IVMke+dbwxmYXmi/W5Dffdrhv18QkekHvymJDVXghMS88QV53px35e6tuRJLBLjlrlGzosBTcngJ7637NeEf+AG+/yyZKzg3QzCliyLAqzUWR/Ri6eOQePYL0gj6+EZZxaIqz6SE5HHn5f2MyC3Kt6oD6At93m/vdARP7RXJVnnGXea42kqWlPvjW35StT73afm7VUamrZxYafhw/7RAHrVGBdonLuKBYS4/HEXa4oFFMvENgHi1GGujeKPYRbHjN0E7E8XKjffgZBh0eqN+1NjwxwFXmjZ7nZ/6/r626BpXJ+L5lm7/olrI9vywMQOuZrkV53GDJ8bMRcgRgdBZvHvkCUIaXw9bWKxOVd7JmJUZbP58ikDwYn6knZRnU1iWb08g8Ry+Ll1U2R5MzMVeSGAhvPiIQmf874/GnwcR2LYvMGXlgIsc85ZCiQEl39toJBnBTY3Bq/NJq+hlDv4= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 06:17:51.4646 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3094 Subject: [dpdk-dev] [PATCH v3 07/11] 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, 11 Jul 2017 06:17:58 -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 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 2546b55e4..7b4dd70de 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -799,6 +799,16 @@ 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) */ + if (rte_bus_get_iommu_class() == RTE_IOVA_VA) + rte_eal_get_configuration()->iova_mode = RTE_IOVA_VA; + if (internal_config.no_hugetlbfs == 0 && internal_config.process_type != RTE_PROC_SECONDARY && internal_config.xen_dom0_support == 0 && @@ -896,12 +906,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.13.0