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 7B5007CE4 for ; Mon, 10 Jul 2017 13:44:18 +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=OMYarUk5aaRnYJloi7/PzBx5oUir7y4gS7YfrNBOWnJrvWXmKQwR6PgFCq6jbvCuPB5KKUozkKAYYXC8m4JRAAj2evsOQxwUPTMe6gPAWPooeVv+v7Lgdi2IJc5GGPKbclCmALZ1nfXa1vfesU4n1fdmJPCE3ouAViY6L3MNbbY= 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 MWHPR07MB3101.namprd07.prod.outlook.com (10.172.95.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Mon, 10 Jul 2017 11:44:12 +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: Mon, 10 Jul 2017 11:42:31 +0000 Message-Id: <20170710114235.18970-9-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> References: <20170608110513.22548-1-santosh.shukla@caviumnetworks.com> <20170710114235.18970-1-santosh.shukla@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0082.INDPRD01.PROD.OUTLOOK.COM (10.174.144.150) To MWHPR07MB3101.namprd07.prod.outlook.com (10.172.95.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 64bf11ce-0ed7-42d4-4531-08d4c788fe4a 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:MWHPR07MB3101; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3101; 3:pB03q+8MHmp3BG4T8oWc3QL/edyzPDn6nMUfGk/WH4F6/yLDYdQOur/RPHveuYEDTMgBBZj5wZcRGMciEqlDzrREhNfCJe96IzmNJtaZa535ALGAjvsUt7LFZwP3w3b30XDPhl27kV0VhjECTchufxinsv6h+LkrgSO1jEPIkBcDdan71Px6sFIlUvntbDnGXGEXclcAZEeXOQ2v6jbdsNX5AaWE+Ok7eR9nRqx2Ori8tI1757vP8g7ImLdqS+/hwcwOPYa9+dpyog6tUy08FdNT0Pnha6LrHzykOvn4QxDrTSASdT/2Z9MYQhYkjM4V8d7K7njTrsd409/+MkDC8M2evTK3mgw/klcM8leKxh5AjGWn3czD6jLfa9yO92wUDZhBroZhp3JIsWXLnkUrOShfM6jhZzC1Chc/tlPnCTM1Gl4FU7cc+Ivi0XbXkMTYief36zDPKETijbGjnVcogsUHa+nw5kL9RNHsQv4547DuWCY5mXNVgGJMvgBiVBgPRUot6hLXaL/VgfB5I9S2qRYyBcDdA1q2ISY7ziB7+B175KUlKbrYlHmj15bXc+/MIzOJWJEmYvndilZzGOUheloyZOcUnMC1NlmhpaftC+T4DLAkuQpI+dUQN5XSIEIKD/m+WQ6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XkxO29sOShN7HjQeePqMlz/UQIzmDLR3XG4HxJL/J3nxJONr2DAgAWHAaXeYaMrk1LaGWDKA2uoUvguKNHkpqrAX79aN1M4lDM3wkD9AiBc4BrJO7QChBsO1JstfuESG2oW2cK3QUhGAprDYvgsjg0NBjqAM/QmeYVStO7oKs+3ak+xS9Ous1hWXypPXoN0MnD09dgx9YbWmhNAqZHT/jQ9q4cEV1HO42wQHdPdqMMdmQ4CWV2RLW8uQGJRacNDRjLTSUWJzz49Ubjo3Hkf9cc7G1sVCkj8g+B4zX8vFYag/6Y/GTPIGiEELZeX8ch+dwgEkz4Tya/4= 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)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3101; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3101; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3101; 4:Xsip352X4trcNPNHqZ2W2UhKHYkaM8e+TeJLqzzSfS?= =?us-ascii?Q?aKiMiX9Xx8n2f/+Q7oTjOR7DF53jevcRiywdoyPyqAilc7t3EojRzIrzzbgw?= =?us-ascii?Q?lVoNtgGP/SgWYMBcpdBIJd/ndfi4qBRhTjIkwY1uft7+PAwFdiNCVzKo4WM0?= =?us-ascii?Q?CW6G3S4tOB/KHgw9Co+539EMXIQYz6hFe5LFyj0BBWCy6hYfzB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EadqK0dKwwh7bGgTh5qIn65IZAsBYQGyvH58zTtNc8apH36z?= =?us-ascii?Q?qXVuscxhL9xGdqUeyBf/kHHvZXUXou/RZvycVbCOefBVpnQEhTPn5wMQeUF/?= =?us-ascii?Q?OgnoCDV/r58bGTeDU/Aaj4mx0H1sxVTJl/l0t1tr7Nfm9hnQKYK8WdKTv+PD?= =?us-ascii?Q?42CxzsDiTwae8HBvanWCu41GyQQOhzSjHgBD52?= X-Forefront-PRVS: 03648EFF89 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(979002)(6069001)(6009001)(39850400002)(39400400002)(39840400002)(39410400002)(39450400003)(42186005)(110136004)(36756003)(38730400002)(53936002)(2950100002)(8656002)(2906002)(42882006)(6666003)(107886003)(47776003)(33646002)(66066001)(478600001)(72206003)(6512007)(7350300001)(5003940100001)(3846002)(5009440100003)(50986999)(6116002)(50226002)(76176999)(50466002)(5660300001)(7416002)(48376002)(1076002)(6486002)(7736002)(189998001)(4326008)(8676002)(81166006)(25786009)(305945005)(6506006)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3101; H:localhost.localdomain; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3101; 23:c/0HhNEh50ytunAwmwGWZjN7JmxCL7s5eVSdVQbN4?= =?us-ascii?Q?ct0PEKD/znm5RSL3mKcyQhagTwijuVdXjTlY3MYbid4FVN9qoXaIVVglIb1N?= =?us-ascii?Q?82t7t55+j5STENnYWEHwJFqt1KvLxBA2//PRo0IixqvkutvtMVLktg4caUqR?= =?us-ascii?Q?TkAly+kv1KoCl4nFJbGWuO/FDz1mHIXG18vejmiXnLrf767s+uSZ1SVOJD+V?= =?us-ascii?Q?gek0aQ5fiDQPDFPheFh3Bo+0H3yxkb7YKCqZbLZfvCeAR5zXYnehT1qpZh17?= =?us-ascii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tN/c0nf5HWQO?= =?us-ascii?Q?iyNIMsf0b59/sCRLE5MkCzhDDro71Y3HtLCPkt0ISnBtDav9vRw59/iVHED+?= =?us-ascii?Q?VEqEj8ruFNt0FWly7ovrvLnoMbeW9RsnOEYiqsIyJEeEyNloB4oSsBg3sh1P?= =?us-ascii?Q?KN4NdYD5zhlObTjtpLPLSQ=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3101; 6:SyX1KSyuFx/qbSs4GLCst6AX0/lNLKwBJCAx453OFV?= =?us-ascii?Q?fHn44OZVbdcfK9ARXWSwyBJEuZIISF9gwReVdih/zMkb+s5sYt0MB8apMOiJ?= =?us-ascii?Q?WmGf0RUOHWw33Xv/3DZb/9inJaeVDsEcvb+EWvhKRq0NjjkMWVqwQ5zyd/XZ?= =?us-ascii?Q?7Sn9+pDLWI3J8EySkEIZUanVGIlSXzQuCNuUrUAv2XR+G3HiIsuoIEk5KYcG?= =?us-ascii?Q?IgVdUmB/idGM2EYXDkYqO4RzDdj8PelGOo9lgfA9gqKERV1cHAMWDcfaombI?= =?us-ascii?Q?DWMKOWCTmeo6FqYWl0v4SK6gqNU310lEyI10yhucvH2BLqho6PN6+oFsbWz0?= =?us-ascii?Q?fEIOgn24WqBx0Hh1Vu0/T29f0iwlHm48Ol6p9JX5Gj7vzJ3f7xZr6OTkNxN+?= =?us-ascii?Q?2BpW53pUJwYcvfEBHhXyilYF4L8dBo2C0WsNweIIoBfro+xr4Uv4R39anc7N?= =?us-ascii?Q?c14VCkWBx6kwBCUiNdn5m4p38WDjirQy6nQu9XlEqXk0mW3TMSX1ZHrV8J+T?= =?us-ascii?Q?ZvUNzOjWmKfZJenI9vdBABMeF7n07g2F85/SE4VfrhsrByI+CxqAKdA1FRie?= =?us-ascii?Q?wbA1MXuV9GP39+UKH1RacMjJfaMcDZ9FcLFTavbzDCr3VigriZIhUZYS16B8?= =?us-ascii?Q?CsPpXS15oI/+x52K4LS2aCs2uEjVS4JTjXq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tjw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3101; 7:7+BFvlFLQj4n+7MjJcCWO0Z4ONZf/9CTFqzwgEU1lUgD5HJZUjSfBr2juKfcBtSLjAUD2bawqXRljAbBNudESwFlolqKQ0vZcIl70Y+nCkVOcQlJdcfmq+MB7xywgDVDKedVLlMIU4S/nR6nDSJJVbQ407IgElrcfOYtwE7sjOlDCE8+crbpzsv4rIQrUt6aosYFmOgtCCNf3nAqkkR68K7bsGMAJLNQUFVkPr7zba0YSxuqIJ6jUF8p/KHqAXxb73FXwgrAPwzUA4L2bxDqcxLLwZ8FfnEMJySSarTtN783aHas0kBm1PcOZ8IRkJyuqU6C23mhLaU1yS78Bmdox0LI7H00IWcXUsHImbFPn90u6l6WnSurDVNkOrmmIoPOuTbtac/uJE+IGak3nO2T2ZzvPhv9RA0wS7tFiRSZJTrndFegVpvDaJoMkYkxdHFLgF1IpbSfPwjFPxhNbKKrXAKMy272f2AkT0P5x7zIIck/+/rtDhRX0r2NpoKevbB3yUs4Mv/hMxkFqgioOfATY3S5CtOh2o/3QWtM2xKf2CwtljZ0dchoRVPoVU7GGRFlJ4deBcS0YlyfmWbu+ajozQxVgBNcaDeyXQAOLjqBlQcbDiJyA8jOl3kLiNHtskuWe/KAKy+Wgj82JOs3zDCseLVHRXpm/1l9VYkqpOgJX2O5mcBl7KosT1eR3yLEyvDTtCd5P7rZ9xMUa8srP0I/BWDe7KJ0+sTjU/WDB3wlSjThvosc2+/Inqi0kDfBlhzUNXRlQguC47pmOYZCZaDalibexsLdzE5ea6EAOyo52DQ= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2017 11:44:12.3840 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3101 Subject: [dpdk-dev] [PATCH v2 08/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: Mon, 10 Jul 2017 11:44:19 -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