From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0074.outbound.protection.outlook.com [104.47.33.74]) by dpdk.org (Postfix) with ESMTP id F1BDE7CCD for ; Tue, 18 Jul 2017 08:01:20 +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=5wlXLtUCM6HkWs+sUdMt7+6X8GL12mH7/E4bWGswHJs=; b=i5GCFewoj3e6DpFwVnpvYRFeLz5cu8O/OyhNoDdTab+c0wsnjzSOFPpaqBZk2zInoH4oEMcZJ1XjTJ0hP2s0dvpa9O0ZTbsi6Vcobdb4Z2HUbh5P+7c3lO9z+kGPrHecAi5ppugxs5skySpa+Sc1DBzw9fH3xfTdSUUCpovMT2U= 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:14 +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:47 +0530 Message-Id: <20170718055950.10208-10-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: c9088a95-9c90-4069-0be2-08d4cda26876 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:leyYflLAadvKuk5nZlpegUIWE2DmupSLYdMs70uW6KtZ1u2qt9FkqRqz9ug8v0NOwi1mt5pAznzWzkFEVgD12Iyk2SZ+hZMBwDvb/eD8rPlV2OXF2cfqsJM9GiXOMmISviCo3wuDv2pXTxNYrZRuIdcGGgAiWm47ZoxC/j/g48agUvomSWYAZ/bF2eyKTXOaQb+ga45z6d2FZHwLvzNegJiw5y4Zn5YKiP3IxLL4FbocvIwR9D3q1s+0WCxYI2rBMqbvN4ubXGLkF9yI6getptGz7BImXKELgK5Ld4ADeXBD5mEnN7B+2cLee39l5U9zOIdh3kIuZJFaqDrEV0Llhqh34SVr9G8KyrMU59JGCSL1hmzbnORH5y6lHdWo0vKhEj+2r22VFSdIYKpqhvNZhbPVQqaPSNWRV9wHGx+O1QsODSuoA1QM3iAlwseVK5tHO4pruknwrbEmyXamgHt4/ffkywWufimh3NLgF3RXYtrRHt9K77kWxKkEWWkpaNACV5And4MaOKyenzEYiQuozSlpfkaWzlQY1w6snXCBIF7C8vtXj2KwI65WJyTviMk7W1MFXsEMjR7OsDu+mNbfVd1e62mt1v2lMCP7mXbMx/4Yg0dU/aaLBZinO5lwU2yx/n7MMF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+xUPXKMDJPcM4HWulvIHskC0FNZ7a/9MkFgtcXbA7/UQjLmQt4h4KhxLKdnoSHsnO2iGxoZFstoSi+jOaY6UtPTFMLBweytNuq478LHzMtMXHiGwNKgFFD2MSrS4veRZ+GVTWa8zDKbaiX0Q1PxJC+UZtYHWurGP0K7v6i9+C5vl7rISWoZCN2cjPiusNOZmbCHeILaXw1ns0epgcHrBACZ73UX4iwCOmrZDFhM84AuOJzIzo5yc99h2g57B3nO7qNkgN9rDnCHqTjolRsWKpvaJTY0XZIiRT5CG3C7mgkPV/QKpKPb88f3WtNlBOowf1tNHy/3BOGw= X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(50300203121483)(247924648384137); 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:dEBzKgd6DwDTN9jXxYj70wG5QXKM4n1FPZFNw+VEM4?= =?us-ascii?Q?7r3hEFwwnIz9NmZrFpxUzpdS6lHaqooB+UA7R4hGlZ/IO+9MrvEm+LFDtmh8?= =?us-ascii?Q?2D7oqcXJjSLFv1aYU4s+oWL/oerGLW+yEB4I/1PD365bmTE1GRW1pO6YVmFk?= =?us-ascii?Q?C1GkSNKj6z3iNSloEjixqvgYcdjxiDOBSW2XowoYqZ3Bm2ZuS/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ObpaeUKSitK8ecmLbk4KtRgjWrrHSoCFfeHhri5+59q3oS?= =?us-ascii?Q?xmiuLavNxNjYI/T+dj2G7X8O5oY01+W92o6jwHP5YJj4hYICEvfu7jkgvWWX?= =?us-ascii?Q?wON+ZZrtVpFoz2od8cOrRSpheIak99x+GkE4GJ3js7oqqmBgaZnejkTvMSbZ?= =?us-ascii?Q?Fxrm+nzRlSNEfVkO2/hyFs1cNOQlIVl3HXXCoE?= 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)(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:VQDsJa8I/N7fWkhc/LDDNf9Wd5KfVoRRIrqDppwFD?= =?us-ascii?Q?dloOyMMb3HCCUw4Qsp9cXH8N4Yzr73+f/y8zbiHIXfKHjn+WBthBfLb2XCIC?= =?us-ascii?Q?N8rNfPrDiiqf/gjcP2555u/VAaGJT8vniDOr59jGuVrWo+XAjkWin9GEFg84?= =?us-ascii?Q?8uF8lkhuM+Hx11eMYnhj7d25FGKW3nQsgKM+PSO59WGlk7pauGNWM0B+JgAX?= =?us-ascii?Q?ghSk/ZGDfpgycLXXv3TUXvyuuMjQ+1d9D4W5NrO32RkT2acTIIrLhNt3fMp0?= =?us-ascii?Q?Ol2A03zm8qrfNoc1SYn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NNmw6GsLA6VD06jGUgYoYcgpvz?= =?us-ascii?Q?DuuaoTmj5fWT7fWS9QcC91DbfTKFPxQ9uhrtiuCkdgQUuAm26Qqfk2zio2kV?= =?us-ascii?Q?In7R8ja8tYI/H4gDxQhetXMqypk1rmQhcsIuOucKLJxVUAvj1i31Kul7+R4H?= =?us-ascii?Q?FfcKFcssvzzODQYe1iCES9azgOI8GAt3ixqQ81F6SrdA5b+l4hr/RLDECFXX?= =?us-ascii?Q?L3xkeUowkUITWctlKu7cITg2loCADfhE1mAgbwfBmcNK/4aflF6EWJPCWyX/?= =?us-ascii?Q?U=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3096; 5:eF9gNKY76yYzRlgdTV6KtyG7l+6d23/+7w+KWMGC4a9m+dz79ffEHo7lmrGoTjmu56tQMlbDOww1Gf9q7vnQwqeVE5PhT2a6XJqa+oNu+l5bv+EaWFVnpUzbykG97siIqKs4KuNplDucNQ84PjOYALewv6xj5r5PK8vGtdFjiYO7+fPW/sf8Q+LVyRPR8FlgYaqi2qIukvYbKEf5kwwN4nKicodGcEUOP7EvPNI3Q0NFCxoAM2MRWozepazhPNPSR9l67GqmEkF8Km6NvPwNiC4PwvhZEtIgQK7lRZES7VmXYs4xNgHi+RXXRf0WpArnpTQIWVlt8+19WdTx7MlZkGyYorF4tG9C8zzwdjf8amB16rpg1fqvRaBBx9qYZxx4Hx1Vwy2dZpnkZiHITI/sqXBmJPTw1KtZXR7NH3ZdH3s5ibJ4TwXkQGaa85sa9as+dqrExeBGQYQMNzacShyA44mCw8TKZ9TeaIsSsSk+86bpMKbsnK72ys0Y8dgvvAgt; 24:3GgeZrDwoiUE2RYQS51tu2Bhb0lEI5RJ92svE0I1oSbUca2Yad3CdpCTnYmyIUlBt+U9N0ecxADCZ4WwlrWwLQRqAKA/YiK2QSfVzdTCYRg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3096; 7:lQPmTgbm2lku/jgAOF56LPyUDoKxXKOpHDZ94Ou9U4lAnJKhrYRtdTCYJ9Kcp3KxjkK27DqnvpMwwlV+bobCdD4ODIbJO4sKm8uxi3YfXWQIP0353Ye3X9xWliBkStRdIIiSlOHAxI9IdrnKE32yc47UjVjM5bU5RIqUlP0HUvf+KO7RX/RZzv5hWadcHLlhuulBtUsGogur3+mQuMW0Iu3//R40wt9vHMVi1JEn/wyVv5xo7jCMLr7AADzNP/tVfZ8P9f0deamYxsb1WvghuiOfO9au0iqNBXjQ1hJhaE7JHx1rJopGqoMZxBrjfENiD6LDxnsTo6E2nTYLiWiqKuQ885qZSDZLtppiS6QdbzRptWPjPh4g7myVgI13DNYgSxYUfMSMGfgd6MYu+AqhAs+G/oj28T1KGmp01BoXzG3pxTBWyn0UeFpUM10hfmA+Uy6gHzuITCJ4G09pAangTzbihVAxvn0KQn1/co5W3IdwCAcLh9+F4S08opwKiE3tS4KGlVYMbyLhv2MzbEVDGmCLRBYEiYP/BdHsq2KfmXh9K4tgnYQ1Q4Vss+mGlFkvvCNHrPAZUrPZKZ/W6fegD8L+e5JHcyhFRS+y8AmfKKcix4spr9Qogus44v095nIXzKIkvvYFV+1PbcESeUf0GjgzLyEycRD1pwkXDQvuhdKRGstSretzHtZlmacBWdW7h9+H+25Cynb9892Z3KZJMkqbK8rDCxslNOiAThLz1412NbYIB+FOQpHabJ+mFAlbsr85bLU+cVv1+w5Sxd7GUnUSE9CkYcYdjJF9YgsfbZ0= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2017 06:01:14.1263 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3096 Subject: [dpdk-dev] [PATCH v4 09/12] bsdapp/eal: auto detect iova mapping 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:21 -0000 - Moving late bus scanning to up..just after eal_parsing. - Mapping mode would be default for bsdapp. It supports only one pass through mode (RTE_KDRV_NIC_UIO) Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/bsdapp/eal/eal.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 2a49e9fde..3cb1bd22f 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -541,6 +541,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 && eal_hugepage_info_init() < 0) { @@ -620,12 +629,6 @@ rte_eal_init(int argc, char **argv) rte_config.master_lcore, thread_id, cpuset, ret == 0 ? "" : "..."); - 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