From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0049.outbound.protection.outlook.com [104.47.32.49]) by dpdk.org (Postfix) with ESMTP id 760FB5398 for ; Tue, 11 Jul 2017 08:18:01 +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=T9jIEbNqHzWF53JcBzKW9XjCcJwBzs3Pr4so1Xvm5i4=; b=nncazJUmg9rD/ivERTAU822laJrZf9EE7SCycgkzoV9x9oRQwwhHh6LLrQafpdPUknSrw6t/zZ+Bfnv1hE+P2J4FqyqEyewEDXyEklG5pWz5zqRjHQdII2Q2gzAHjrilYEqcv4Nls1ZPKDTGiDamRp5Z6p+y31oLS22HQM558ps= 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:55 +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:28 +0000 Message-Id: <20170711061631.5018-9-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: 46a5ea6c-bd3c-485d-24c2-08d4c8249427 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:IkXfSKaG2Gj3kjkcQaGw1elb9fg1i9L+lZYRfyCK+HL4vjUPuc/e1OdjuIdcM/doa+dGrdFCB7XPZNE3E164x9qi+335JdQKRquOSJfcJFjop9DNp1nwDi9AHMkJB8tAGSlw9Bn9bfv49/oYBEU8wZvWUD0rbvozA63SolvIRBUDPuBzltKmgVWhyDUWa2STeCr4f4wUDEvzHjtpS/oUhBbLj83MagVtde6Ug9jjhvPrw6W2egwBP8LXfNFJsywBI6jNNZ1RIUhOh2EhCGwHq48YQtGn/DytIf5WRKLIEZnYOO5MCAbYNQ2LMLxemBhhdMZCrm7VMVzcPUfN/e4Kv5qoWRBmKaJPLPWQszEyC2oLCvWkxbKfqpjvCKr/HOtkmnZ1G1i7+6LOz4hpPMFck0TL6sEATvbg6HN99nhxIQr9aaDkTyp1U7zU2eSFjlNyJcA6YaZgYKMcwvCSJU/mmAZUj8TbmxuRIebC+CKUd7guHb9+c3SMiIaCda+wg7KSCavEQDmI0UoVV0XF36OP89mEopC17NZwmUbWevuTsDRUCRJ6P2Vc6A6/fYxF3AVBM8XqWoZNet1PlRM6gpA90goOdkie9BTPHG++QQJKD+csC23q/IsJWA0/ULFh3rUY6Y/2y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6mW8r86SviT0riN1oHhrd80dsqvkMAQy/fAv4t/IDJb8VOmWFI1sB1Nd0YLy06l8zgf7D2y/ixhSbWgmbMQLpJLgxmRreatcTb5FikOBcMtBz+9BqZB++TNw+w5hO7s827yGzNc3+jwu8pe/THY/1bXqkmoAlY+uWItLkDex2yXdvzk96i0jBhK19JJZzLhZyRZ2ATxcinEsqTLP1BkHG+XFGKea2ApehzqD12R+WnY4qf6+XG+Zcyz+fORTc6Df9kqOCqbRUcZCzsN/Gx0Thv7C0f3crKxoSM13ttpmYTEuww91DN+1KFQ7VQvErJN3BGydejI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(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:OLuimPxrrlp4AsOoJblRpNOgO5vdT1i3bRjxNk+A55?= =?us-ascii?Q?jgltOO8zf+JCnb8sZcX7di1cyzuioYt6FMqWM4+6XS0IyhXSj3OXgtzKzmNt?= =?us-ascii?Q?Z09Pje1BmbToNtBEpCCWwxcuVV/Ax3ZdisLEbydCkVSRjNFM0ym9/q1V8wOb?= =?us-ascii?Q?/gIyYLL+yPvlUZh7bYntiMuNqx493vZqq6Bgsgg0+4GbrDDkjY+ydnEzeVJs?= =?us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WCSlLS89CXOL6URmpn?= =?us-ascii?Q?w8wg+HLmPBz/VJoVWbauwpLoYTuZWuRGW+GxF8ROGa8G9KewwcSyvkM76fd8?= =?us-ascii?Q?f2BnY1QqxDe2MyjPPQ+wkAI9FzAEIDWKxwThfqrg9FdTMANHLbB0Ouylnxia?= =?us-ascii?Q?PH53CYwRsvPw0QiGFbuyJvmYN3wSJfifSGU/2F?= 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:I0vHeBWQXZNQvyDvklPf+rofBPIiQAUuE6mqUFA6/?= =?us-ascii?Q?uZA19CrO42lqK1QQu39lBxWLon8IXaVviJAxZVEJw/83c6J4ILI7bIvaUx0E?= =?us-ascii?Q?9N63sSg5+Uo6gp2D1FCxVc8YDqdIv4qDTlfw181a5l2h4R4gIfuamAj3hYqp?= =?us-ascii?Q?eyacUaf9V2WyR0gznUp5A99HMyD/Z3YHm4FfD4PeMlRcTs5Hee6BVjVsf3CV?= =?us-ascii?Q?s5jni4pMNkTHw2FoQ7cu9WeAr1bvwFbJHiu7y1yyAp9r52YPv8PlZS3sZitY?= =?us-ascii?Q?Z9ZUuvJBFLOS9kPyuE9xNf4IzqPZzMV+4ZjtV6UNzuEpUaw3GMQm5kQzG1u3?= =?us-ascii?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61EBak7bfp+wK+IVkiWN8cAR+fKgmRty4lzorIb627LgNqJu53U4h+Zsm?= =?us-ascii?Q?HovV6d/zVvw31ZpAtvV//GE22DDWRUnZ6m8Gkpu/lNStujKUJokVSfcCADxs?= =?us-ascii?Q?U=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3094; 5:4hrkx4vMH30op7P7q6Xhz6Vod03reYivbOM7t6s/DRpRUltUwGPxK+746U4qmdjtkW6mS82pujZ0hEK/VocO02DBeOF2QfwrzmdZtRMPaKwaoO0BwC43UC10vN3jCfQsYvGALWYk4BIhrMiGOOoYaC208tH0o1z1osXkGpQ63KIy8gBWTGJ/veOVWOBHSw8dt2u0GyIo/uTxPXjpvJY7zofqxFJMd/k7NX/CpbuPSLibFoSrEdBG0BZ9iA7HNhM+g+NXrV2HM1OW9rjjA/r77kcNTSvfahDr6LwXXcrG6ReADRfZwppPk5f8p4e7usPO+8MMxIR9CaosMZSqB7XjA3kakRP7vnAcs0IAE8eiJNyA9j3x1QnfxHHY1wmSGCcnDHY1Rmu5o+PMvAZgv9zwS4ixbajwk/jIRQP5uj1uWFwWUowq6oiDCfgjiL2UkD3akERnY8q57rdqzI8svgbPEuyIYd3iGrguRnnw23xOnng0jmQaPZ4R1TaMkTFecLwq; 24:B+gJFYI1r1PSVvlZg3OJkMK3YJfoq8ashYwEkMK6kAw82kBFjBOM2kgRz+vUiXHEMCaNAcodsiV+U9dcEflfnBK22PZRxcCt5g8C0g33VEE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3094; 7:O7yCA6+noA/9zciytIQPh4xepumEob/FiKCtUUN+/x3mJ2bzc51vFC6RpEwaqSEcpODVyPLj/VtqSr6a8gUGhUQeDCYrbFv7r/RdgYI7Z0c610TEYO2dt2pQJ40PZKt/wa7iC1VJOFDbKU8QJ34YfAs1xwKrritbPVkEodWKXOuTFduhJxbYgXiZfzanSh3PG+jGJcnFfMq20gkaZfjS/RckADrjNSWGKCryzAm+DTGEuIAz7cWs8x0G1VPTM7kwpyL5xEN4Ucuy66aiU576wXe0qL9L0BIAvl9B9JD+TVgPnyrSea6s4BS/y1h92HeKl59GLhtNFd1B56pVu+I/+SvGad6G3MfBOXqosY34p1a69U1dSFQTgdcTsSNVLzART0qNXQUbF5tilCPVUlP5ng1M73iwAiXSHAhvdULQe9vtWGT+gxnQ9/HOAJ+WW1pxWZ+iWFlwSsyhlwsCRzXri/OWdXGkVZ65fcYO686CGIDzAtRRxuVyi5Uh/AO3LBR85iHTPzEYQontwGwKuCLx8uaREDwNmQx+L4gIMJj0JCX/55TU6nwpLcc5hr75BfCgZNET4BoBQfef5SLGHUysHR7wXqWiBYUH4RtvjqfVShjLWF98ItNpzpQyRsOGqhNIfzb/0DvOb8/x1L96IiWiAsuUBRZKcFR1aBgsMvjFCngdFz+AjLnQc2Vc9k4MYzDjQ2K8kHHJ20G8/VVx/pc/GGMaOzNPTM+6hbjMv3bNT3citM4MCbozwECxiGNzw0TvWnkj2eZ8aY7sUVRrb9kng9ngxuoR0FWwxTPgO+E95CU= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 06:17:55.9363 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3094 Subject: [dpdk-dev] [PATCH v3 08/11] 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, 11 Jul 2017 06:18:02 -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 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index e1aee8c3e..7c63b2fa7 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal/eal.c @@ -542,6 +542,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 && eal_hugepage_info_init() < 0) { @@ -621,12 +631,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.13.0