From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0089.outbound.protection.outlook.com [104.47.36.89]) by dpdk.org (Postfix) with ESMTP id 8B5EA29CB for ; Thu, 13 Jul 2017 13:30:08 +0200 (CEST) Received: from MWHPR03CA0022.namprd03.prod.outlook.com (10.175.133.160) by BLUPR03MB472.namprd03.prod.outlook.com (10.141.78.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Thu, 13 Jul 2017 11:30:06 +0000 Received: from BL2FFO11OLC013.protection.gbl (2a01:111:f400:7c09::101) by MWHPR03CA0022.outlook.office365.com (2603:10b6:300:117::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13 via Frontend Transport; Thu, 13 Jul 2017 11:30:06 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11OLC013.mail.protection.outlook.com (10.173.160.161) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1240.9 via Frontend Transport; Thu, 13 Jul 2017 11:30:05 +0000 Received: from [127.0.0.1] (B10814-12.ap.freescale.net [10.232.133.65]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v6DBTs2J028425; Thu, 13 Jul 2017 04:30:00 -0700 To: Santosh Shukla , , References: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> <20170711061631.5018-1-santosh.shukla@caviumnetworks.com> <20170711061631.5018-8-santosh.shukla@caviumnetworks.com> CC: , , , , , , , , From: Hemant Agrawal Message-ID: <84703290-1800-1f0c-8a48-bc2b60eb7839@nxp.com> Date: Thu, 13 Jul 2017 16:59:54 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170711061631.5018-8-santosh.shukla@caviumnetworks.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131444190056984341; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39410400002)(39400400002)(39860400002)(39840400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(377454003)(199003)(189002)(24454002)(9170700003)(23746002)(81166006)(8936002)(33646002)(229853002)(626005)(86362001)(68736007)(4326008)(8676002)(85426001)(65826007)(230700001)(6246003)(36756003)(2201001)(189998001)(38730400002)(31696002)(77096006)(120886001)(53936002)(54906002)(83506001)(65806001)(7246003)(7126002)(4001350100001)(65956001)(2950100002)(50466002)(31686004)(6666003)(47776003)(356003)(5660300001)(7416002)(53546010)(76176999)(54356999)(50986999)(2906002)(104016004)(105606002)(64126003)(305945005)(498600001)(106466001)(8656002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB472; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC013; 1:JsqMhYOlu4PTMdR4klZ4S7cLJLdVcDcISkTS9O89y9ALbrtSLY1grcp8DqdGGcso4THb3lxG6BPfCreHjzU4oSFXsroJd8fwAW58CLzi6yZbwtTBzdw+2UxfcN+askWvPWVSTLIfXgZAKyW0eGFTH8IEZjK500V5NsKhlJlMpKwc3qabAVf+p+a6i6ja4QTBjcYk1eqx0pts8d0TIbe3Qro2gA+toXENcovZiJxobXNG2THLy6EmlssRL/gXmdIwWvGaob97GOeX9t8V7Gi+wWIbKWu6Tr1o7qBjs3+t7m4loehJn3vXvtr8smg0HrsQl8Qd1MUSyh6upG4GDj5D7CT3TcYNhI/xEHC4vvSuv37ZF5hkqB1dczidT6n5REoUITd4ikgdYN5CAYYKkw7gPBlljKjR2f89YawFSXmSFfsOkEuDEe3lH/UvaFBpcT1p808a51MT9lK6WLfB7jze0UNgPp8GHnszpoXfHifEZWHVe6DPiUQ5Q4CyRnl56xPhrBjxfarEMp0dJsjKrIJz0nkBurpOymc4X+3pZy0pjtmgPPBF0fgvDRePqQTHJnKlBj4bkVe8b5k9vrl3uHu0iw1fV3J6ISYTzs8Ud51Zn5fH5vDRIFp6YDCwfJwx/9lktKfm5UzMoZSk73kXj7sYGxrX4MigkejQB/ZsjLhwcE/6emiB+RlX0oTEscdHdw9yhvKfSAs4ViTOMFRokmzxN9eAIMGNOoIRyY4ojYpN4JdBpcgFE+lZgBlaHdtQQhWemtgSkyFOlQspuDOg3wZN5hyLXpjOmwImbb7ZyKd1eL2/EkY3xljvDYjv7Nm9UOdcvhaNIUPwvyQwMye/zfQhoZ0mqFPZQHuQj+58IS2BISQnbLIpAC2pdDitX0xb8r1XfXbJE/HcFS6bnwzxKwmIv7RAwaCvCIeYdqFBEv4ERtA= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9755ad5e-7515-4066-4db7-08d4c9e28297 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR03MB472; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB472; 3:zKU8WWl1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hzDC/Mcl4y5hj63v9OKF42CJSFIP9Z6YAq0eqqcJUrta49MuJewoIQELI6qT0glVExpWt0coDeeOGUazIqzMY1wm8GgsFh2BHvmrFkNQ/zqsUkC1yB0hl01WzeLCxcUM1z+izrNyY+8NIEYuEbOSeSr/r4AmeoQXlFJXnTQUOoc81I/2LyLuJF0CwCe5uDWTEaradgmA+67g/aDu4EuuKFRu75wKwg/E1zbvFbExy3zf7SpPN0muwg0vypTQ8nc16SB0t9q71+QCEerxkGEtAR13jncF1hyDbiNs6yhghhJyMbsNmNzTn6qUdYGPeON35ipWrCJlKxOZTpE9p+80LzUdrOUcEqxFyPgmfXD0zByRxyYDWZ9IlKXNRuf6YzhAWdUAldD/moeqZGoSZcnKIJvDPFfsTMHUSf6b5Xu4YbIhQhxE2RPgfZtbztt+nJ51FM7ba/lN3sYwUo7ugzQ1VspYc6A0F5tLTxJoksqQU7h1v0Jg6V6n7Q== X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(50300203121483); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(2017060910075)(5005006)(13016025)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123559100)(20161123565025)(20161123561025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR03MB472; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR03MB472; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR03MB472; 4:6g4aJYaZKcDPyUEmvrrPFQSUEKyaopnekCvEPm0?= =?Windows-1252?Q?sg4Gn8uT1qcRm95UMqCT5CLlvtzwemVc+IyMHON1C83YUu7IHfFbkTgc?= =?Windows-1252?Q?9jJKe6l0HbuFxOgssLNh3iK3EH6aVZOK/79mrmWImKPmuj87WAUyQaZG?= =?Windows-1252?Q?J3wlnZuoUZBUEmOimSS5AD4nYcdZpj/YhFhsgc9YdAglQoVD+Xq2dYdC?= =?Windows-1252?Q?vzdZFO6s/TMkHY2aeeoTsuJUYm8M0AYijozCk6olBSZyyHVjjtG86sQA?= =?Windows-1252?Q?2FQB8QYPCX63oy7eC+l9AnWm+Ho7wEeZrkRSL/FtQEMawgY3DMnyz+Tu?= =?Windows-1252?Q?TCn3PVi4N/N/nHb+LtxeGH5Q00xcG7VEjiDv8iTsNha6YZFH7K1VOuSY?= =?Windows-1252?Q?G01fAYpekRaz8nmOlRmJNNMBgI2ssI64LNL6IMEBSBrWGQa4btTJIjaj?= =?Windows-1252?Q?n5/2zjj7eS82+NVRsg9Y8mRVJajKZqGmwSK2wp9qM+grS8HmbXPgCDKZ?= =?Windows-1252?Q?jc3wZkvoDYWVILsOz2sQIbSotI7EtvHSDi2GUP7IWQaXi6k3tXhdSu1R?= =?Windows-1252?Q?Do0gidbWY5kovcw/VkumAZmhsa6a2kTJirTJLOO+io/IBDh0ji/0m2Gy?= =?Windows-1252?Q?Pg+zB+HA+vtxRz9i+tIiLJ4NLLtYcb88QgnemblZPamyaPfSTzAAdbrU?= =?Windows-1252?Q?9c5Smw+pHhXjAQmMakZ2caYOdms+PfJJRewYT2R8pVivQSWJSIFCrQhZ?= =?Windows-1252?Q?rkEYAnVg6Qc+e6xRtmCXS3aW+1y1jvN+TTj+Eh2w+6bFFs/uM742RECO?= =?Windows-1252?Q?s8h1j7ZEkkt6xyxUo2Xaj/fb2qrbL3sBKxxR9Q021Ybm4G2/RYaD3qk2?= =?Windows-1252?Q?XOX0QGV63W4BgLSQ6DRrUpr8aaro4DxzSWQyOwhtiEpmrUVsZcbpPDNK?= =?Windows-1252?Q?m1e0KjLNPyXN5iOaOmF6gOs5xibr4/L5S0OVNP5lkzCVnmFOi/8lMG8c?= =?Windows-1252?Q?fytAlRoX3FjZK2qpcAhoRi2nmBDiKivuH18hILpFcX5ZcBUSmL2dIZxh?= =?Windows-1252?Q?ZIpk0qn3pPfquXfOKfDGULsNzCjG5mcQS7hr8DnfwfMfbKTgxIJfgeIh?= =?Windows-1252?Q?CF+W53vSzAaWvb1qDUOoayr9fAQ48LStO49F3t5MKKzz1nZCnaKvK74J?= =?Windows-1252?Q?muAHNhSU20o/rVfGuUfs/XB/4LxNfLiBoEz+cBe3kZSDMz28tfgXdMuC?= =?Windows-1252?Q?+Vi6TYzUp+3JVnWUNiSG04MZbCzt10WMlwdrgG2fkealO06AXgyapWKI?= =?Windows-1252?Q?JYoyen3qgPeyXwOPYCl33v+bYYZO9ABOFE9UhlOX2K/rnAsGoX6airSg?= =?Windows-1252?Q?vIIJlxygxs5GMP+6YCsFepn6jv7UB2M2Usm4g9RWE0y5mcAK4ckmbQ7Y?= =?Windows-1252?Q?DQzjGgaw0AK6Qph7Z9BmSat0ur3yrWmD++GDLaPCrWZwnCX9231Z/WAa?= =?Windows-1252?Q?dHFE=3D?= X-Forefront-PRVS: 0367A50BB1 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR03MB472; 23:FRhkzpVmyFx354sVexUjSuDYVWXeinTwhh0Tbt?= =?Windows-1252?Q?RUu2iyVRgmXippxEhHg4yMntvO9aQNTOlYsoBaU4IWuD4FNmJm0S2suN?= =?Windows-1252?Q?pHw9ID3Nz38uvZdLi6lKOAlwBcQsa6j//RQdfSQnJ1ORtmAHJxpiNILK?= =?Windows-1252?Q?TO+bL2foD5bf4R9eOxYzEvZkJYCO8JvSH4Fmz30F6g/XZkJO++n2Jpkk?= =?Windows-1252?Q?yvlhviHw8SriSAZkLINnJvhx1Fv+OxgdDNlOlo/NNHtClfHUKJt5xr18?= =?Windows-1252?Q?rHtKub1zddYwnOy04FjihPooeKkveSJXVO5YZQbM3LrDEq+tEPpRzsSO?= =?Windows-1252?Q?a9jvVuzv7pN1qXnJPf/OU5na5Uqf/7LzzEmH51TQQqODZvHUUfTG8DMv?= =?Windows-1252?Q?iNTcj4hsllacc554t3Q3JdwKH6d0Q8SiUhg8CERRqQvUOwmPjhb20kjW?= =?Windows-1252?Q?nGbq+p9hX3qRNlRhyLG+O1y7c5kdIWGRiT4iUv22HW8BMO+IddcCFpzE?= =?Windows-1252?Q?766ZLxFLHScgONrRoxih4F6iGTRQtl58hjsFVujizpq4kiBczhuLrUrV?= =?Windows-1252?Q?iUCumoIoRTv5bDU0Kzxp6V9m6846MVVs5FaB/p1zgFpiaKk1KUMB6z1b?= =?Windows-1252?Q?LV92/BAVs0W7sa3nxy4Yg0A+iIYAzgpJcHZvoI9bp1Bvzoash/kUv8q8?= =?Windows-1252?Q?iAW0NodVuzUVhmy6T4m8CSGWLn1eGX/nvs7hhxhV/OVbVBjftHEWKqW2?= =?Windows-1252?Q?MWdF7mKK8wKf9rsi2/KddQTyH0a2yRCBXOYL6cJPMfqq6vmHgSvvmqyO?= =?Windows-1252?Q?tePQguJuxCfuJ/g1ko4dt1kTrFvOf/Pt/Ywfzf6XC01D1yqw3ru0ZaYD?= =?Windows-1252?Q?CRs++hot1yMXc3fWHT9LaqIRv/+FfmNvvtJ9II+EivvhWIespGW22o+C?= =?Windows-1252?Q?BTLtpAuG1qIbN7GKnJAKgkS5F8ZblMtQKmtKUfZwDwpVJPOG2xIrW8WD?= =?Windows-1252?Q?zqKe7Kgz3sl9CneuXRPzelUmxg8Bq7C9omIGbiSdvoDK/HAtQT1kLUOO?= =?Windows-1252?Q?jurJvevuIYvFgdH1+4tpMOGJfb3e4/hFXgP5LkM4QpFnb+YV3ETpnSCE?= =?Windows-1252?Q?or07hXyfGT9MP598XjiJ0rVGJBQDf/bowwa2dFhq/Mc5cx10LNxG40JR?= =?Windows-1252?Q?49d+M48k0vHZ+u3ykhFCYdFupEfjE67cAbls3vJep5R0MD+fEuLgcLyc?= =?Windows-1252?Q?6Eqr+ugEAoiNq27D2ckrQEHXy76AGY2h89kkDQ7hpoRMKsUVqYyHSS77?= =?Windows-1252?Q?LhxK6ecGzf52xV0pRK48R0OjTb5zW+0hjrFXtl+qgSMMpQUfDIrXfW+d?= =?Windows-1252?Q?T6U90P+bWuHmq2jxtgk0yPbTXKRRJBpR6CTTE+gppSGS56Q0IcFw+qq9?= =?Windows-1252?Q?wRsJcLnQzRrK5r9Rg9SCd3jmpEIX7zcmsfrntu6gMEJgXLcwA7owZpHY?= =?Windows-1252?Q?5w7KBj7G7NiYEAdvYvyeRxbneFx3F6WPKkelOmn2p4FVd26Od+sHUNc8?= =?Windows-1252?Q?0ozcGfuwXUfg8cUDg2ts1aywuCrEHZafTvJqkarztKSdHxIW4BrgJ+uu?= =?Windows-1252?Q?39kPlua8rbWYAUcq7a4BLzPZ6K0m6+QEDxdB+U3yyYgavdyCLFEfPa12?= =?Windows-1252?Q?5S9CYM9S/47IB83NKfP71/C6L2rV6hOyN0BI02Mm+ZdeTRHOsw?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BLUPR03MB472; 6:2P5ykWbriu/i8uam24DMaR3+t31QnDZ8MCAgcNw?= =?Windows-1252?Q?xWlzBXtQTXrf4NEgwwmSlbIKFdth+TGlF+4a7TUxdnSRZj48CcXMQ2nC?= =?Windows-1252?Q?QieNxLfN17wT3C0uc6YUlNXeUc9Av3mQm825hWjElsnH/8G8mHFZfXRp?= =?Windows-1252?Q?4Sn2IZFmFO/aTwRdm3qGgg2kPxSwd9niC4KwMWz0Q1twe4Fd3Yyo3Gdu?= =?Windows-1252?Q?by2QAezYDWPQ3iFUrRttCnHpcgHNvfuiDTLs2zBS6ctMX0OJPAwDs3FY?= =?Windows-1252?Q?mwiqVppE3vBaIC8k13UuAfGIsq4MerUbFkq+lHM1ZaoEMVJDDPIv482p?= =?Windows-1252?Q?cjiSPNGuHLlWOvrbbzaCCcC8H7DWLOkShrDmymN0eXJ6OBnMhZqJeyHN?= =?Windows-1252?Q?zdApoVSHuVFArywloa7PvLefSF/hEYrWRIP3iLciof22SN7L/DgIi0Wz?= =?Windows-1252?Q?XvnaE/ncxu4Zi2PYXZyrBGtxnAbJUaGvlBl/Sx+hFFo2/Wo/kG45aoif?= =?Windows-1252?Q?5G9y/gAL7JCAoooyfDGMtiLBpXpAV/D0AqbGeo5BC3FEr5P/tXnQFkhw?= =?Windows-1252?Q?QJMaOHDloAtPs2tDiu322SoA/COHMj5CNZ6pCL26pqE9ObOUwEwJL1WM?= =?Windows-1252?Q?sQbI7cdGhv0LboGBLp2/BNCRml2TGOREvpvnxBRfTufvX3+qQxKrcz69?= =?Windows-1252?Q?6EOaBUSb+iZnY6+l53duiuVtCyiRpXjkzvygHaRE9QNOyxxeXPv3/oQs?= =?Windows-1252?Q?2BeFysAPQiV4R5Vl/zgKbVzWXNDoDgFawmrUNwL+3YVlMvyWLYSEBnmL?= =?Windows-1252?Q?9PduISdsfrWxkWc8mzcl3TMmpRU4d/AiQFSn2cYqgBHz3y/8rStPqoBC?= =?Windows-1252?Q?Zxt1QnFgDE3cVZ7FmyQfXcmGhqzZXbvePK7ER6OCWxEK6WLwCm0U/m2l?= =?Windows-1252?Q?N5y6s1fzRXcfiZ7VPJfWZFDa7KSsQF6LOxEfPTW220ya4yICpaJbnHg8?= =?Windows-1252?Q?w8VXi0lsXm3ZeL1UWtaCKazzbIIBSAottXPMQzpf0Ek9FyCQ61KQ8S0b?= =?Windows-1252?Q?oK7Z2XD3nBFA=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB472; 5:QbQOcLjlR2b/KnBCZu3ILWOyrl8QDBqbHByUXR7HhzV2zKCxqY6JuzHTgeZc2EIxfI3G5FVKsCAooFh/5WXPy+YCqGxmBaSFMAmJarJDKB4WCXp4YmiCh6BDCqwugBMbk444DrCocmwDgTYs5rn/+mVpo5ckNnulgHBUDsTKSmgpWnNa1L9TzgVEBp1rMWdSVV2gycSH4B3DtyQPsckd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a75xq1A+SeJVej3n5TPzEYBga+3dVVA/SEWOcncdzLJ5QXBK1XnJwclHfyKk1VF8cOJiF+/0xP5mCtGUnY/Jembv5WVaGC61qYMmsVliSmZxdtYII/eswIiTkOnR5HAn23DthiP2ezaq8B1VUrgdMrmKfZ9uX37p7Ld/BIaPaNEyyLqbKA7rf5UaAS/A9eIPj7TfnTrHtFEbmnp0V0jaFygRd//YtvYj3uUmIS4WzHKva50/CBsM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2017 11:30:05.4020 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB472 Subject: Re: [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: Thu, 13 Jul 2017 11:30:09 -0000 On 7/11/2017 11:46 AM, Santosh Shukla wrote: > - 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; > + } > + The original place of the bus scan was with the following factors: 1. The bus scan requires the VFIO to be enabled atleast in dpaa2 case. (VFIO code still need cleanup to be support non-pci cleanly). I tried moving it before bus_scan, this helped in bus scanning. 2. During SCAN, the bus may allocate memory to devices or for it's own usages. rte_malloc or mempool is required in cases to support multi-process environment. (e.g. dpaa2 create dpbp or dpio device memory using the rte_malloc call). Since none of the other rte library (mempool, memzone, tailq) is available at this point, it will create significant restriction on the bus scan. We will prefer if you can re-introduce the "iova_mode" and allow the application choose, which mode it want to run. This auto-detect logic may not work for many buses and it is going to create serious restrictions on the bus_scan code. > + /* 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) { > > /* >