From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0073.outbound.protection.outlook.com [104.47.42.73]) by dpdk.org (Postfix) with ESMTP id 7D4CF29D9 for ; Fri, 1 Dec 2017 06:48:55 +0100 (CET) Received: from BN6PR03CA0024.namprd03.prod.outlook.com (10.168.230.162) by CY4PR03MB2693.namprd03.prod.outlook.com (10.173.43.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Fri, 1 Dec 2017 05:48:54 +0000 Received: from BN1AFFO11FD005.protection.gbl (2a01:111:f400:7c10::137) by BN6PR03CA0024.outlook.office365.com (2603:10b6:404:23::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.282.5 via Frontend Transport; Fri, 1 Dec 2017 05:48:53 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD005.mail.protection.outlook.com (10.58.52.65) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.239.4 via Frontend Transport; Fri, 1 Dec 2017 05:48:53 +0000 Received: from [10.232.133.65] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vB15moWO027441; Thu, 30 Nov 2017 22:48:51 -0700 To: Chas Williams <3chas3@gmail.com>, References: <20171130025739.4349-1-3chas3@gmail.com> CC: , , Chas Williams From: Hemant Agrawal Message-ID: <5c919800-d135-6cac-1385-d1d0c58808d8@nxp.com> Date: Fri, 1 Dec 2017 11:18:50 +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: <20171130025739.4349-1-3chas3@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131565809338776296; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(346002)(376002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(24454002)(189002)(199003)(77096006)(31696002)(83506002)(67846002)(8936002)(8676002)(23746002)(31686004)(229853002)(65826007)(64126003)(76176011)(230700001)(54356011)(86362001)(53936002)(81166006)(58126008)(5660300001)(2950100002)(498600001)(110136005)(81156014)(305945005)(36756003)(50466002)(106466001)(105606002)(47776003)(68736007)(39060400002)(189998001)(2906002)(356003)(4326008)(85426001)(104016004)(54906003)(97736004)(53546010)(65956001)(33646002)(6246003)(316002)(65806001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2693; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD005; 1:HKs2n7uDo5FjKBUkuN6nkezQr+LnGTTdEqWqk9AWBjt+FcmrqUD4mTVoSUfTa8vqH1MdJQW2g4kzuAeStXlFRs0CTFqtoi8o9hz4xUDpTBiyc93lMj92RtNljCdpAU35 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c1b05669-2709-46c4-6fe0-08d5387f349d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603286); SRVR:CY4PR03MB2693; X-Microsoft-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j6GnloY5IWSg9l2wtqeGfbfC8EvPVnlXdj/WfKAhOS2TWjHb3PHf3wqwF+SCtdm+NwR+V7YfxxqocUHH95JTW3yiOGxRtvNTp4x05TVughGrTLDEuza5tZuBC9olVkFBCFUa+p9p0W5vB8hDkoFHp891AbLUUem2yS6Du2uxHaN3G+PfGv6Be/BSp3+cTfgIKglfBJMn2tGfP1/cRHgmu8zRiYod+FY88SBM7n0w6YF8Licgo4tiq4IOvQ7ZLsLQRkvOtw6y2xe3N62P3JinKZE1glqke6CNdldzbGzEj7NqjS X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(97927398514766); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(3231022)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123556025)(20161123561025)(20161123559100)(20161123565025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(201708071742011); SRVR:CY4PR03MB2693; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CY4PR03MB2693; X-Forefront-PRVS: 05087F0C24 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CY4PR03MB2693; 23:gBtOcaxM+hvjWj1Mn8QH7XMYgnjqB9ErLholj?= =?Windows-1252?Q?IO65aafyrH3muMYoW6JJ9NRopCWHJLvHXGMa0IWCudVyA0oI5N5kPGKr?= =?Windows-1252?Q?S3QuZmQ8IpZHIRAUOqm5XnOfiMRKBn+9L3A0f+oejEPqiQ1txvYkX0vl?= =?Windows-1252?Q?3tzaBB/4Ob6bzuTNxFvmRJRULDnZLCKL1A9jj/gvHEN9EdZKGZ52Yxpg?= =?Windows-1252?Q?fN98BVrQwplb3fiXkQlbxQijSKBd2vOMOFl901mqOf0RsdITE5Yj8zMY?= =?Windows-1252?Q?bIHaC56aVEsCHi+2RdFVTcX9WD5CjqpY/hXI2jcRftS5U9yRtPid7lo1?= =?Windows-1252?Q?rk6bX/e35UV41m1lgkUtyFafuGE79HqV2EpIrNPQotlVjGVV8EqhO/Wd?= =?Windows-1252?Q?c2Yxxi5T7AEV2PXJDnTOHmrtDiXha71NbAmCmBqIrd1phQuR8Fy6kWGC?= =?Windows-1252?Q?ji6xXxQ2du9WkIrgVpSj5Kvg7e/4D9V9NqmMd5p5Xv8yLhEebLs6xiG5?= =?Windows-1252?Q?tHsRgNFOKFDKW9rhuwYBzBVJLHGmKjxRjXZ3SnnpHdu9nqxKCSuaIVTH?= =?Windows-1252?Q?NO93hY+6UNpfvBLmJiVV8aliDu2mEh6WjEq1Ye8v1z0Gz3NJkXlqi87n?= =?Windows-1252?Q?Ba0oNyHa3lKfM8PsjkPQ1u6wFSnCmx4flHX5Z8lkgBOKEVivzwkF6OvN?= =?Windows-1252?Q?Ewyg86DXp3/uyejyM42kwpRPu3PQ80QViW3me1T6XbtzBJBMx2lGdka7?= =?Windows-1252?Q?AX/GLhIH1V6OaaYoua0Q8Bedgq0pBN0GziTOESbi+yyhePrKEcUCBuTP?= =?Windows-1252?Q?t6tWTjlhWxWVDJRoEO1r3v393BMSnTEysoaCcV0Vk/xr9xZdgHmhh2rH?= =?Windows-1252?Q?5rygvYexhQak2rO0pejTzi2mPHD6JJY2l2PzFYw1s+lzItwhR3d0rfCC?= =?Windows-1252?Q?m0GK1hj1icwJ0zVaD4mz9/dI46NqD9PmKWeQ0nQF3j9u3gNMtZY1sK/j?= =?Windows-1252?Q?TLfEoqT6J8oXVLsJc7LJgSKDB5QWl2zxbahQi0Ms9IjJT+G3htw4IsHs?= =?Windows-1252?Q?iBnwoBMx6M2bCPIQ784VH/+jE4y48yKzRBWu9dAgVcYF6/J4YsjL5WO9?= =?Windows-1252?Q?c4KGn85qLH0pf2TV4GaPObNWwWSvTZqSGjXjecrbXHMSBcF4kSD6PSl1?= =?Windows-1252?Q?2oEXusJW2wUbZwoP6Ha4s2mzwjClonzgvZhFDwwWvkBgLlSSLW9aRm4+?= =?Windows-1252?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YqmyCj945fKaFhN6T+mT2MjavNNYmh9o9KhpDtWKqtBQgasdBdv5u80RpjWiV1m+akf25/DqsH6ulIUj+tT/TJlMiEZ5C9O3qqkXmlwEjhiKFOIrL4tFjmtnFklEcbtUuPBu86Kxf1sI0rj/2s+kWXSeBMFgwae6zeXZIuekam+FuOs/3Nre SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2017 05:48:53.5812 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c1b05669-2709-46c4-6fe0-08d5387f349d X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2693 Subject: Re: [dpdk-dev] [PATCH] eal: add option to force IOVA as PA 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: Fri, 01 Dec 2017 05:48:56 -0000 On 11/30/2017 8:27 AM, Chas Williams wrote: > From: Chas Williams > > The IOMMU in some machines report that they can only support > limited widths. IOVA virtual addresses may exceed this width > making the use of IOVA virtual addresses difficult. The option > CONFIG_RTE_LIBRTE_USE_PHYS_IOVA can used to force IOVA physical > address usage. > Is it possible to dynamically detect the machine limitation in bus iova code instead of compile time option?